summaryrefslogtreecommitdiff
path: root/src/linux/chroot.c
blob: 0e69f145dee37cbdc865f6cf6e222a1658d58cdc (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

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