summaryrefslogtreecommitdiff
path: root/Userland/Services/ConfigServer
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-02-04 16:01:42 +0000
committerAndreas Kling <kling@serenityos.org>2023-02-05 16:40:51 +0100
commit808f0c6837144ac8e2c1bbe538442dca2a278e2c (patch)
tree24f812d2a93a8535d380af3d96226f8a478ca890 /Userland/Services/ConfigServer
parent83f41d1491dcf226a10016433657e3dc24c434b9 (diff)
downloadserenity-808f0c6837144ac8e2c1bbe538442dca2a278e2c.zip
Revert "ConfigServer: Unveil "/etc/passwd""
This reverts commit cd0b7656faa5c1044fd070c70afdecf6d8407bf5.
Diffstat (limited to 'Userland/Services/ConfigServer')
-rw-r--r--Userland/Services/ConfigServer/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Services/ConfigServer/main.cpp b/Userland/Services/ConfigServer/main.cpp
index 0eaa80e0c9..09184d5e3e 100644
--- a/Userland/Services/ConfigServer/main.cpp
+++ b/Userland/Services/ConfigServer/main.cpp
@@ -13,7 +13,6 @@
ErrorOr<int> serenity_main(Main::Arguments)
{
TRY(Core::System::pledge("stdio accept rpath wpath cpath"));
- TRY(Core::System::unveil("/etc/passwd"sv, "r"sv));
TRY(Core::System::unveil(Core::StandardPaths::config_directory(), "rwc"sv));
TRY(Core::System::unveil(Core::StandardPaths::home_directory(), "rwc"sv));
TRY(Core::System::unveil(nullptr, nullptr));