var scope reduction
[trinity.git] / syscalls / sched_getaffinity.c
blob6a6283954db18a182791c55cdd774bfe1fd02364
1 /*
2 * SYSCALL_DEFINE3(sched_getaffinity, pid_t, pid, unsigned int, len,
3 unsigned long __user *, user_mask_ptr)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_sched_getaffinity = {
8 .name = "sched_getaffinity",
9 .num_args = 3,
10 .arg1name = "pid",
11 .arg1type = ARG_PID,
12 .arg2name = "len",
13 .arg2type = ARG_LEN,
14 .arg3name = "user_mask_ptr",
15 .arg3type = ARG_ADDRESS,