dde045c13f
The alpha sigprocmask syscall is special in that it comes from OSF rather than the style that everyone else uses. Tested with this simple code: $ cat test.c #include <signal.h> main() { sigset_t set, oldset; sigemptyset(&set); sigaddset(&set, SIGINT); sigaddset(&set, SIGHUP); sigprocmask(SIG_SETMASK, &set, &oldset); sigprocmask(SIG_UNBLOCK, &oldset, &set); sleep(3); } $ gcc test.c && ./strace ./a.out ... osf_sigprocmask(SIG_SETMASK, [HUP INT]) = 0 (old mask []) osf_sigprocmask(SIG_UNBLOCK, []) = 0x3 (old mask [HUP INT]) osf_sigprocmask(SIG_BLOCK, [CHLD]) = 0x3 (old mask [HUP INT]) ... * linux/alpha/syscallent.h: Call sys_sigprocmask for osf_sigprocmask, and change number of arguments to two. * signal.c (sys_sigprocmask): Fix decoding of alpha osf sigprocmask. Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
||
---|---|---|
.. | ||
alpha | ||
arm | ||
avr32 | ||
bfin | ||
hppa | ||
i386 | ||
ia64 | ||
m68k | ||
microblaze | ||
mips | ||
powerpc | ||
s390 | ||
s390x | ||
sh | ||
sh64 | ||
sparc | ||
sparc64 | ||
tile | ||
x86_64 | ||
dummy_check.sh | ||
dummy.h | ||
errnoent.h | ||
ioctlent.h.in | ||
ioctlent.sh | ||
ioctlsort.c | ||
signalent.h | ||
syscall.h |