add acct, accept4, setns, and dup3 syscalls (linux extensions)

based on patch by Justin Cormack
This commit is contained in:
Rich Felker committed 2012-09-08 20:22:08 -04:00
1 parent b10d0230c1
commit 6cf8bfdb64
8 files changed
+113

No files matched your search

+9
View File
@@ -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);
}