strace/linux
Mike Frysinger dde045c13f alpha: fix decode of osf_sigprocmask
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>
2012-03-15 20:14:17 +00:00
..
alpha alpha: fix decode of osf_sigprocmask 2012-03-15 20:14:17 +00:00
arm Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
avr32 Correct syscall entries for t[g]kill 2012-02-27 14:58:06 +01:00
bfin Fix sigreturn arg count from 1 to 0 on all architectures. 2012-01-10 16:48:19 +01:00
hppa Correct syscall entries for t[g]kill 2012-02-27 14:58:06 +01:00
i386 Update ioctl entries 2012-03-10 21:15:58 +00:00
ia64 ia64: fix compilation warnings 2012-03-15 01:01:25 +00:00
m68k Alias sys_fsync to sys_close 2012-03-11 15:28:03 +00:00
microblaze Alias sys_fsync to sys_close 2012-03-11 15:28:03 +00:00
mips Alias sys_fsync to sys_close 2012-03-11 15:28:03 +00:00
powerpc Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
s390 Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
s390x Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
sh Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
sh64 Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
sparc Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
sparc64 Manual removal of non-Linux source, documentation, etc. 2012-02-25 02:30:32 +01:00
tile Fix sigreturn arg count from 1 to 0 on all architectures. 2012-01-10 16:48:19 +01:00
x86_64 Add syscall entries for new linux syscalls 2012-03-10 15:04:16 +00:00
dummy_check.sh Remove stray sys_swapon() declaration 2012-02-28 16:39:44 +01:00
dummy.h Implement sys_rt_tgsigqueueinfo syscall decoder 2012-03-13 15:51:13 +00:00
errnoent.h linux: add new EHWPOISON errno 2011-04-24 19:43:03 +00:00
ioctlent.h.in Update ioctl entries 2012-03-10 21:15:58 +00:00
ioctlent.sh Compress blank lines 2012-02-25 15:41:21 +00:00
ioctlsort.c Compress blank lines 2012-02-25 15:41:21 +00:00
signalent.h Regenerated 2001-08-03 21:51:48 +00:00
syscall.h Implement sys_rt_tgsigqueueinfo syscall decoder 2012-03-13 15:51:13 +00:00