1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-05-27 05:21:10 +03:00
H.J. Lu 4b564f347f 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].
2020-09-15 04:28:54 -07:00
..
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:11 -03:00
2020-09-11 14:35:24 -03:00
2020-07-16 17:55:35 +02:00
2020-08-07 14:38:43 +00:00
2020-09-11 14:35:27 -03:00
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:24 -03:00
2020-08-07 14:38:43 +00:00
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:24 -03:00
2020-07-16 17:55:35 +02:00
2020-07-16 17:55:35 +02:00
2020-08-24 14:27:19 -03:00
2020-09-11 14:41:57 -03:00
2020-08-24 14:28:21 -03:00
2020-08-24 15:04:31 -03:00
2020-09-11 14:35:20 -03:00
2020-09-11 14:35:20 -03:00
2020-09-11 14:35:24 -03:00
2020-09-11 14:35:24 -03:00
2020-09-02 09:16:05 -03:00
2020-02-14 21:12:45 -03:00
2020-09-11 14:35:15 -03:00
2020-09-11 14:35:15 -03:00
2020-09-11 16:20:49 -03:00
2020-08-24 15:04:31 -03:00
2020-09-11 14:42:02 -03:00
2020-04-30 10:42:43 -07:00
2020-09-11 16:20:49 -03:00
2020-02-14 21:12:45 -03:00
2020-07-16 17:55:35 +02:00
2020-02-14 21:12:45 -03:00
2020-02-14 21:12:45 -03:00
2020-01-03 11:22:07 -03:00
2020-08-24 15:04:31 -03:00
2020-02-14 21:12:45 -03:00
2020-08-24 15:04:31 -03:00
2020-07-16 17:55:35 +02:00
2020-09-11 14:35:27 -03:00
2020-09-11 14:35:13 -03:00
2020-09-11 14:35:13 -03:00
2020-09-11 14:35:13 -03:00