mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
SystemServer: Remove now unnecessary call to chmod on /dev/audio
Don't use chmod now that DevTmpFS honors permission mode when creating new directories.
This commit is contained in:
parent
e23dda81de
commit
6c0467f56b
Notes:
sideshowbarker
2024-07-17 18:49:23 +09:00
Author: https://github.com/supercomputer7
Commit: 6c0467f56b
Pull-request: https://github.com/SerenityOS/serenity/pull/12518
Issue: https://github.com/SerenityOS/serenity/issues/12457
1 changed files with 0 additions and 3 deletions
|
@ -384,10 +384,7 @@ static ErrorOr<void> prepare_synthetic_filesystems()
|
|||
TRY(Core::System::mount(-1, "/sys", "sys", 0));
|
||||
TRY(Core::System::mount(-1, "/dev", "dev", 0));
|
||||
|
||||
// FIXME: Find out why on creating the /dev/audio directory we must do chmod it too
|
||||
// instead of one syscall.
|
||||
TRY(Core::System::mkdir("/dev/audio", 0755));
|
||||
TRY(Core::System::chmod("/dev/audio", 0755));
|
||||
|
||||
TRY(Core::System::symlink("/proc/self/fd/0", "/dev/stdin"));
|
||||
TRY(Core::System::symlink("/proc/self/fd/1", "/dev/stdout"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue