summaryrefslogtreecommitdiff
path: root/src/linux/chroot.c
blob: 82b4fe75c6bd183aec7b95caa3ff00826f35ecf2 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

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