add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
This commit is contained in:
1 parent
b10d0230c1
commit
6cf8bfdb64
8 files changed
+113
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#define _GNU_SOURCE
|
||||
#include <sched.h>
|
||||
#include "syscall.h"
|
||||
#include "libc.h"
|
||||
|
||||
int setns(int fd, int nstype)
|
||||
{
|
||||
return syscall(SYS_setns, fd, nstype);
|
||||
}
|
||||
Reference in new issue
Block a user