[PATCH] nptl: Zero-extend arguments to SETXID syscalls [BZ #26248]

Florian Weimer fweimer@redhat.com
Mon Jul 27 12:20:20 GMT 2020


* H. J. Lu:

> On Sun, Jul 26, 2020 at 11:00 PM Florian Weimer <fweimer@redhat.com> wrote:
>>
>> * Carlos O'Donell via Libc-alpha:
>>
>> > We can't fix this easily quickly.
>>
>> We can make this test a non-container xtest today.  It's better than no
>> test at all.
>>
>
> Currently this test is in sysdeps/unix/sysv/linux/x86_64/x32/tst-setgroups.c
> since there are
>
> static int
> do_test (void)
> {
>   int size;
>   /* NB: Stack address is at 0xfffXXXXX.  */
>   gid_t list[NGROUPS_MAX];
>   int status = EXIT_SUCCESS;
>
> and x32 stack starts at 0xfffXXXXX, which triggers this bug.  Should
> it be moved to nptl/tst-setgroups.c?

Yes, this would make sense to me.

Thanks,
Florian



More information about the Libc-alpha mailing list