mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +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
|
@ -22,7 +22,7 @@ constexpr size_t LOAD_CHUNK_SIZE = 128 * KiB;
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio rpath sendfd unix thread proc"));
|
||||
TRY(Core::System::pledge("stdio rpath sendfd unix thread"));
|
||||
|
||||
StringView path {};
|
||||
bool should_loop = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue