summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/linux/chroot.c
blob: 0e69f145dee37cbdc865f6cf6e222a1658d58cdc (plain)
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);
}