merge setuid variants
[trinity.git] / syscalls / setns.c
blob492a6f08b8c9b84ca4c1827bdcafcef0443a162c
1 /*
2 * SYSCALL_DEFINE2(setns, int, fd, int, nstype)
3 */
4 #include <sched.h>
5 #include "sanitise.h"
7 struct syscallentry syscall_setns= {
8 .name = "setns",
9 .num_args = 2,
10 .arg1name = "fd",
11 .arg1type = ARG_FD,
12 .arg2name = "nstype",
13 .arg2type = ARG_LIST,
14 .arg2list = {
15 .num = 4,
16 .values = { 0, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWUTS, },
18 .flags = NEED_ALARM,