ladybird/Kernel/TTY
Liav A d4b65f644e Kernel: Allow opening some device nodes sparingly for jailed processes
From now on, we don't allow jailed processes to open all device nodes in
/dev, but only allow jailed processes to open /dev/full, /dev/zero,
/dev/null, and various TTY and PTY devices (and not including virtual
consoles) so we basically restrict applications to what they can do when
they are in jail.
The motivation for this type of restriction is to ensure that even if a
remote code execution occurred, the damage that can be done is very
small.
We also don't restrict reading and writing on device nodes that were
already opened, because that limit seems not useful, especially in the
case where we do want to provide an OpenFileDescription to such device
but nothing further than that.
2022-12-09 23:09:00 -07:00
..
ConsoleManagement.cpp Kernel: Set console active before try to enable graphical mode 2022-06-06 20:11:05 +01:00
ConsoleManagement.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
MasterPTY.cpp Kernel: Move InterruptDisabler out of Arch directory 2022-10-17 20:11:31 +02:00
MasterPTY.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
PTYMultiplexer.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
PTYMultiplexer.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
SlavePTY.cpp Kernel: Split the DevPtsFS files into smaller components 2022-11-08 02:54:48 -07:00
SlavePTY.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
TTY.cpp Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
TTY.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
VirtualConsole.cpp Kernel: Move PCSpeaker code to the x86-specific architecture directory 2022-09-20 18:43:05 +01:00
VirtualConsole.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00