mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
WindowServer: Tighten pledged promises
This commit is contained in:
parent
764f455d21
commit
99e0b69c0c
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
Add a link
Reference in a new issue