add linux-specific unshare syscall wrapper
This commit is contained in:
parent
8b71121910
commit
50da5c264f
2 changed files with 9 additions and 0 deletions
8
src/linux/unshare.c
Normal file
8
src/linux/unshare.c
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#define _GNU_SOURCE
|
||||
#include <sched.h>
|
||||
#include "syscall.h"
|
||||
|
||||
int unshare(int flags)
|
||||
{
|
||||
return syscall(SYS_unshare, flags);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue