9 lines
130 B
C
9 lines
130 B
C
|
#define _GNU_SOURCE
|
||
|
#include <unistd.h>
|
||
|
#include "syscall.h"
|
||
|
|
||
|
int chroot(const char *path)
|
||
|
{
|
||
|
return syscall(SYS_chroot, path);
|
||
|
}
|