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 commit7af5eef
. After97d15e9
, the 'proc' promise is not needed for operations using getsid(). This also fixes launching several applications in which7af5eef
added the 'proc' promise only in the second call to pledge().
This commit is contained in:
parent
0455af4441
commit
25e0ab3ee4
24 changed files with 24 additions and 24 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue