mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +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
|
@ -242,6 +242,7 @@ void TTY::set_termios(const termios& t)
|
|||
|
||||
int TTY::ioctl(FileDescription&, unsigned request, unsigned arg)
|
||||
{
|
||||
REQUIRE_PROMISE(tty);
|
||||
auto& process = current->process();
|
||||
pid_t pgid;
|
||||
termios* tp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue