aboutsummaryrefslogtreecommitdiff
path: root/src/linux/chroot.c
blob: 7193836ca277fe1da3caa57fb88119900ef5914b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int chroot(const char *path)
{
	return syscall(SYS_chroot, path);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif