summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/main.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-10-03 09:32:18 -0400
committerLinus Groh <mail@linusgroh.de>2022-10-03 17:09:21 +0100
commit25e0ab3ee48c046b4d994c1c95df36ca58a3ec78 (patch)
tree66155fffccb0e928109b079d897413fe2e7d45d5 /Userland/Services/WebContent/main.cpp
parent0455af4441d64ab0ec5e9f6cabaa94f5de8ac02e (diff)
downloadserenity-25e0ab3ee48c046b4d994c1c95df36ca58a3ec78.zip
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().
Diffstat (limited to 'Userland/Services/WebContent/main.cpp')
-rw-r--r--Userland/Services/WebContent/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp
index 9fdf9630a6..8d88722686 100644
--- a/Userland/Services/WebContent/main.cpp
+++ b/Userland/Services/WebContent/main.cpp
@@ -22,7 +22,7 @@
ErrorOr<int> serenity_main(Main::Arguments)
{
Core::EventLoop event_loop;
- TRY(Core::System::pledge("stdio recvfd sendfd accept unix rpath proc"));
+ TRY(Core::System::pledge("stdio recvfd sendfd accept unix rpath"));
TRY(Core::System::unveil("/proc/all", "r"));
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil("/etc/timezone", "r"));