summaryrefslogtreecommitdiff
path: root/Servers/SystemServer
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-12 13:28:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-12 13:29:51 +0100
commit62a191b59a8c77fc6a5d8a7255157fc273305909 (patch)
tree79759de4a5dcaff0a1f55fade98b0896506b4f9d /Servers/SystemServer
parent35c84504cd4291f2580d1be6b7ceaf5c5bab12da (diff)
downloadserenity-62a191b59a8c77fc6a5d8a7255157fc273305909.zip
Kernel: Require "tty" for ioctl() on TTY and MasterPTY
SystemServer now pledges "tty" since it's used when spawning services.
Diffstat (limited to 'Servers/SystemServer')
-rw-r--r--Servers/SystemServer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/SystemServer/main.cpp b/Servers/SystemServer/main.cpp
index a9599486bf..154334ee0c 100644
--- a/Servers/SystemServer/main.cpp
+++ b/Servers/SystemServer/main.cpp
@@ -77,7 +77,7 @@ static void mount_all_filesystems()
int main(int, char**)
{
- if (pledge("stdio proc exec unix rpath wpath cpath chown fattr id", nullptr) < 0) {
+ if (pledge("stdio proc exec tty unix rpath wpath cpath chown fattr id", nullptr) < 0) {
perror("pledge");
return 1;
}