merge newfstat variants
[trinity.git] / syscalls / sched_setscheduler.c
blob34878908aeae629ca7e45727a5e85a54c43fb3f5
1 /*
2 * SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param)
3 */
4 #include <sched.h>
5 #include "compat.h"
6 #include "sanitise.h"
8 struct syscallentry syscall_sched_setscheduler = {
9 .name = "sched_setscheduler",
10 .num_args = 3,
11 .arg1name = "pid",
12 .arg1type = ARG_PID,
13 .arg2name = "policy",
14 .arg2type = ARG_OP,
15 .arg2list = {
16 .num = 6,
17 .values = { SCHED_OTHER, SCHED_FIFO, SCHED_RR, SCHED_BATCH, SCHED_IDLE, SCHED_DEADLINE, },
19 .arg3name = "param",
20 .arg3type = ARG_ADDRESS,