diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-09-11 19:36:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-09-15 04:28:54 -0700 |
commit | 4b564f347fdcd021dbb6c1ada98a18249d9e888a (patch) | |
tree | 6fd18d6016cea6444f13699b5af2203e12b10452 /posix/tst-fnmatch.c | |
parent | b8d3e8fbaac154979078e6665aa983742dec9539 (diff) | |
download | glibc-4b564f347fdcd021dbb6c1ada98a18249d9e888a.tar.gz glibc-4b564f347fdcd021dbb6c1ada98a18249d9e888a.tar.xz glibc-4b564f347fdcd021dbb6c1ada98a18249d9e888a.zip |
pselect.c: Pass a pointer to SYSCALL_CANCEL [BZ #26606]
commit a92f4e6299fe0e3cb6f77e79de00817aece501ce Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Mon Jul 6 13:27:12 2020 -0300 linux: Add time64 pselect support changed pselect.c to r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, exceptfds, timeout, ((__syscall_ulong_t[]){ (uintptr_t) sigmask, __NSIG_BYTES })); which doesn't work with x32's ARGIFY and data passed to syscall isn't initialized with sigmask and __NSIG_BYTES. Change to __syscall_ulong_t data[2] = { (uintptr_t) sigmask, __NSIG_BYTES }; r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, exceptfds, timeout, data); fixes [BZ #26606].
Diffstat (limited to 'posix/tst-fnmatch.c')
0 files changed, 0 insertions, 0 deletions