summaryrefslogtreecommitdiff
path: root/src/user/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/bootstrap')
-rw-r--r--src/user/bootstrap/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/bootstrap/main.c b/src/user/bootstrap/main.c
index 97b980b..f145e74 100644
--- a/src/user/bootstrap/main.c
+++ b/src/user/bootstrap/main.c
@@ -20,6 +20,9 @@ _Noreturn void main(void) {
fs_whitelist(l);
}
+ _syscall_mount(HANDLE_PROCFS, "/proc/", strlen("/proc/"));
+ MOUNT_AT("/") { fs_dir_inject("/proc/"); }
+
MOUNT_AT("/init/") { tar_driver(&_initrd); }
const char *initpath = "bin/amd64/init";