1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 11:37:40 +00:00
serenity/Kernel/FileSystem/SysFS/Subsystems/Kernel
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
..
Network Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Variables Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
CommandLine.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
CommandLine.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
CPUInfo.cpp Kernel: Don't expose processor information for aarch64 in sysfs 2022-10-26 20:01:45 +02:00
CPUInfo.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Directory.cpp Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
Directory.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
DiskUsage.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
DiskUsage.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
GlobalInformation.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
GlobalInformation.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Interrupts.cpp Kernel+lsirq: Track per-CPU IRQ handler call counts 2022-11-19 15:39:30 +01:00
Interrupts.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Jails.cpp Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
Jails.h Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
Keymap.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Keymap.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
LoadBase.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
LoadBase.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Log.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Log.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
MemoryStatus.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
MemoryStatus.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
PowerStateSwitch.cpp Kernel+Userland: Move /sys/firmware/power_state to /sys/kernel directory 2022-10-25 15:33:34 -06:00
PowerStateSwitch.h Kernel: Split the SysFS core files into smaller components 2022-11-08 02:54:48 -07:00
Processes.cpp Kernel+LibCore+LibC: Implement support for forcing unveil on exec 2022-11-26 12:42:15 -07:00
Processes.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Profile.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Profile.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
SystemMode.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
SystemMode.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
SystemStatistics.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
SystemStatistics.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Uptime.cpp Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00
Uptime.h Kernel: Introduce global variables and stats in /sys/kernel directory 2022-10-25 15:33:34 -06:00