ladybird/Kernel/API
Liav A 718ae68621 Kernel+LibCore+LibC: Implement support for forcing unveil on exec
To accomplish this, we add another VeilState which is called
LockedInherited. The idea is to apply exec unveil data, similar to
execpromises of the pledge syscall, on the current exec'ed program
during the execve sequence. When applying the forced unveil data, the
veil state is set to be locked but the special state of LockedInherited
ensures that if the new program tries to unveil paths, the request will
silently be ignored, so the program will continue running without
receiving an error, but is still can only use the paths that were
unveiled before the exec syscall. This in turn, allows us to use the
unveil syscall with a special utility to sandbox other userland programs
in terms of what is visible to them on the filesystem, and is usable on
both programs that use or don't use the unveil syscall in their code.
2022-11-26 12:42:15 -07:00
..
POSIX LibC: Add missing definitions for IPv6 packet info 2022-11-05 19:31:37 -06:00
Device.h Kernel: Mark serenity_dev_ functions as static 2022-03-18 11:59:35 +00:00
DeviceEvent.h Kernel/Devices: Introduce the Device Control Device 2022-01-23 00:38:02 +00:00
Graphics.h Kernel+Userland: Add ioctl to set process ownership of DisplayConnector 2022-07-23 10:42:08 +01:00
InodeWatcherEvent.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
InodeWatcherFlags.h Kernel: Implement multi-watch InodeWatcher :^) 2021-05-12 22:38:20 +02:00
KeyCode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MemoryLayout.h Kernel: Move userspace virtual address range base to 0x10000 2021-12-22 00:02:36 -08:00
MousePacket.h Kernel: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
Syscall.h Kernel+LibCore+LibC: Implement support for forcing unveil on exec 2022-11-26 12:42:15 -07:00
SyscallString.h Kernel: Stop requiring working malloc for syscall.h includes 2022-05-02 12:44:34 +02:00
TimePage.h Kernel: Add CLOCK_MONOTONIC_COARSE to the kernel time page 2021-08-10 21:51:05 +02:00
Unveil.h Kernel+LibCore+LibC: Implement support for forcing unveil on exec 2022-11-26 12:42:15 -07:00
VirGL.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00