add to, and prioritize the TODO a little.
[trinity.git] / syscalls / rt_sigprocmask.c
blob3cf522f5fd12ee3b20b744dfd626527e236d58fe
1 /*
2 * SYSCALL_DEFINE4(rt_sigprocmask, int, how, sigset_t __user *, set,
3 sigset_t __user *, oset, size_t, sigsetsize)
4 */
5 #include <signal.h>
6 #include "sanitise.h"
7 #include "shm.h"
9 static void sanitise_rt_sigprocmask(int childno)
11 shm->syscall[childno].a4 = sizeof(sigset_t);
14 struct syscallentry syscall_rt_sigprocmask = {
15 .name = "rt_sigprocmask",
16 .num_args = 4,
17 .sanitise = sanitise_rt_sigprocmask,
18 .arg1name = "how",
19 .arg2name = "set",
20 .arg2type = ARG_ADDRESS,
21 .arg3name = "oset",
22 .arg3type = ARG_ADDRESS,
23 .arg4name = "sigsetsize",