From 91ecd00cc83cf701fe7f73b1aa244c27174e8386 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 16 Dec 2025 00:36:30 +0100 Subject: Add init prog, chroot syscall and fix menuconfig build --- lib/libc/unistd/chroot.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/libc/unistd/chroot.c (limited to 'lib/libc/unistd/chroot.c') 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 +#include + +int chroot(const char *path) +{ + return syscall(chroot, path); +} -- cgit v1.2.3