mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 19:05:07 +00:00
Kernel: Require "tty" for ioctl() on TTY and MasterPTY
SystemServer now pledges "tty" since it's used when spawning services.
This commit is contained in:
parent
35c84504cd
commit
62a191b59a
3 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue