merge newfstat variants
[trinity.git] / syscalls / unshare.c
blob57c592bc2aec5d7591f096ab0f29442aa27a06ff
1 /*
2 * SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags)
3 */
4 #include <linux/sched.h>
5 #include "sanitise.h"
7 struct syscallentry syscall_unshare = {
8 .name = "unshare",
9 .num_args = 1,
10 .arg1name = "unshare_flags",
11 .arg1type = ARG_LIST,
12 .arg1list = {
13 .num = 12,
14 .values = { CLONE_THREAD, CLONE_FS, CLONE_NEWNS, CLONE_SIGHAND,
15 CLONE_VM, CLONE_FILES, CLONE_SYSVSEM, CLONE_NEWUTS,
16 CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWUSER, CLONE_NEWPID,