V3 [PATCH] nptl: Zero-extend arguments to SETXID syscalls [BZ #26248]
H.J. Lu
hjl.tools@gmail.com
Mon Jul 27 14:29:53 GMT 2020
On Mon, Jul 27, 2020 at 5:20 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * 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.
>
Here is the updated patch to add nptl/tst-setgroups.c. OK for
master?
Thanks.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nptl-Zero-extend-arguments-to-SETXID-syscalls-BZ-262.patch
Type: application/x-patch
Size: 5104 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20200727/6fa77cea/attachment-0001.bin>
More information about the Libc-alpha
mailing list