diff --git a/mnexec.c b/mnexec.c index 42a9cf6..bd7b1b1 100644 --- a/mnexec.c +++ b/mnexec.c @@ -46,7 +46,7 @@ void usage(char *name) int setns(int fd, int nstype) { - return syscall(308, fd, nstype); + return syscall(__NR_setns, fd, nstype); } /* Validate alphanumeric path foo1/bar2/baz */