mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
SystemServer: Stop creating the /tmp/rpc directory
This is no longer needed.
This commit is contained in:
parent
dc25a4e249
commit
a03879f8dd
1 changed files with 0 additions and 13 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue