Kernel: Mount /tmp with sticky bit set

This commit is contained in:
2025-12-30 16:16:50 +02:00
parent 31a1968798
commit 7fdfad4088

View File

@@ -174,7 +174,7 @@ namespace Kernel
MUST(s_instance->mount(root_creds, &ProcFileSystem::get(), "/proc"_sv));
auto tmpfs = MUST(TmpFileSystem::create(-1, 0777, 0, 0));
auto tmpfs = MUST(TmpFileSystem::create(-1, 01777, 0, 0));
MUST(s_instance->mount(root_creds, tmpfs, "/tmp"_sv));
}