Hi Yann,
Yann Sionneau wrote,

> Hi pavel,
> 
> On 10/17/23 12:01, Pavel Kozlov wrote:
> > From: Pavel Kozlov <pavel.koz...@synopsys.com>
> > 
> > Commit 95e38b37 ("add support for systems without legacy setrlimit/getrlimit
> > syscalls") has added use of the prlimit64 syscall in getrlimit and setrlimit
> > functions. This change causes memory corruption on getrlimit call for 32-bit
> > CPUs like ARC, as ARC doesn't have ugetrlimit syscall and uses prlimit64.
> > Also, setrlimit has been broken by prlimit64 call on 32-bit CPUs like, i386,
> > ARM, ARC.
> 
> Oopsy! Sorry about that, indeed I guess I broke 32 bit CPUs.
> 
> I've started a CI job to test your patch to see if it breaks our arch, I'll
> keep the list informed on whether this works or not.
> 
> Thanks a lot!

Any news from your side? 
@pavel: Do you have a test application showing the memory corruption
for 32 Bit CPU's which could be added to the uclibc-ng-testsuite?

best regards
 Waldemar
_______________________________________________
devel mailing list -- devel@uclibc-ng.org
To unsubscribe send an email to devel-le...@uclibc-ng.org

Reply via email to