diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-13 22:47:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-13 23:28:40 +0200 |
commit | a03879f8dd226ed2979ac6566536c0c8d393346b (patch) | |
tree | 64f0bc679c44780f93111cc07d4c7f1b5341452c /Userland | |
parent | dc25a4e2492b8ad4f4ba7179861b4ae96c07e9ca (diff) | |
download | serenity-a03879f8dd226ed2979ac6566536c0c8d393346b.zip |
SystemServer: Stop creating the /tmp/rpc directory
This is no longer needed.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Services/SystemServer/main.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp index 36022987b2..9128fc68c9 100644 --- a/Userland/Services/SystemServer/main.cpp +++ b/Userland/Services/SystemServer/main.cpp @@ -154,18 +154,6 @@ static void mount_all_filesystems() } } -static void create_tmp_rpc_directory() -{ - dbgln("Creating /tmp/rpc directory"); - auto old_umask = umask(0); - auto rc = mkdir("/tmp/rpc", 01777); - if (rc < 0) { - perror("mkdir(/tmp/rpc)"); - VERIFY_NOT_REACHED(); - } - umask(old_umask); -} - static void create_tmp_coredump_directory() { dbgln("Creating /tmp/coredump directory"); @@ -189,7 +177,6 @@ int main(int, char**) } mount_all_filesystems(); - create_tmp_rpc_directory(); create_tmp_coredump_directory(); parse_boot_mode(); |