xref: /aosp_15_r20/external/musl/src/linux/chroot.c (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1 #define _GNU_SOURCE
2 #include <unistd.h>
3 #include "syscall.h"
4 
chroot(const char * path)5 int chroot(const char *path)
6 {
7 	return syscall(SYS_chroot, path);
8 }
9