mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:27:35 +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
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