1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00

Userland: Tighten promises by removing 'proc' where it isn't used

This is a partial revert of commit 7af5eef. After 97d15e9, the 'proc'
promise is not needed for operations using getsid().

This also fixes launching several applications in which 7af5eef added
the 'proc' promise only in the second call to pledge().
This commit is contained in:
Timothy Flynn 2022-10-03 09:32:18 -04:00 committed by Linus Groh
parent 0455af4441
commit 25e0ab3ee4
24 changed files with 24 additions and 24 deletions

View file

@ -18,7 +18,7 @@
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix inet proc"));
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix inet"));
auto app = TRY(GUI::Application::try_create(arguments));