move_pages: just use calloc
[trinity.git] / syscalls / waitid.c
blob8751fb532e3a2f201b3f5f473d4d08a83eeddb8b
1 /*
2 * SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *,
3 infop, int, options, struct rusage __user *, ru)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_waitid = {
8 .name = "waitid",
9 .num_args = 5,
10 .arg1name = "which",
11 .arg2name = "upid",
12 .arg2type = ARG_PID,
13 .arg3name = "infop",
14 .arg3type = ARG_ADDRESS,
15 .arg4name = "options",
16 .arg5name = "ru",
17 .arg5type = ARG_ADDRESS,