Use __NR_setns so that setns has the right syscall # in 32-bit mode
fixes #127
This commit is contained in:
@@ -46,7 +46,7 @@ void usage(char *name)
|
|||||||
|
|
||||||
int setns(int fd, int nstype)
|
int setns(int fd, int nstype)
|
||||||
{
|
{
|
||||||
return syscall(308, fd, nstype);
|
return syscall(__NR_setns, fd, nstype);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Validate alphanumeric path foo1/bar2/baz */
|
/* Validate alphanumeric path foo1/bar2/baz */
|
||||||
|
|||||||
Reference in New Issue
Block a user