diff options
Diffstat (limited to 'lib/libc/unistd/chroot.c')
| -rw-r--r-- | lib/libc/unistd/chroot.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/unistd/chroot.c b/lib/libc/unistd/chroot.c new file mode 100644 index 00000000..5a895e13 --- /dev/null +++ b/lib/libc/unistd/chroot.c @@ -0,0 +1,7 @@ +#include <syscall.h> +#include <unistd.h> + +int chroot(const char *path) +{ + return syscall(chroot, path); +} |
