WindowServer: Tighten pledged promises
This commit is contained in:
parent
764f455d21
commit
99e0b69c0c
Notes:
sideshowbarker
2024-07-17 21:45:24 +09:00
Author: https://github.com/bugreport0 Commit: https://github.com/SerenityOS/serenity/commit/99e0b69c0cc Pull-request: https://github.com/SerenityOS/serenity/pull/11234 Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
act.sa_flags = SA_NOCLDWAIT;
|
||||
act.sa_handler = SIG_IGN;
|
||||
TRY(Core::System::sigaction(SIGCHLD, &act, nullptr));
|
||||
TRY(Core::System::pledge("stdio video thread sendfd recvfd accept rpath wpath cpath unix proc"));
|
||||
|
||||
auto wm_config = Core::ConfigFile::open("/etc/WindowServer.ini");
|
||||
auto theme_name = wm_config->read_entry("Theme", "Name", "Default");
|
||||
|
|
Loading…
Add table
Reference in a new issue