serenity/Kernel/FileSystem
Liav A 5e062414c1 Kernel: Add support for jails
Our implementation for Jails resembles much of how FreeBSD jails are
working - it's essentially only a matter of using a RefPtr in the
Process class to a Jail object. Then, when we iterate over all processes
in various cases, we could ensure if either the current process is in
jail and therefore should be restricted what is visible in terms of
PID isolation, and also to be able to expose metadata about Jails in
/sys/kernel/jails node (which does not reveal anything to a process
which is in jail).

A lifetime model for the Jail object is currently plain simple - there's
simpy no way to manually delete a Jail object once it was created. Such
feature should be carefully designed to allow safe destruction of a Jail
without the possibility of releasing a process which is in Jail from the
actual jail. Each process which is attached into a Jail cannot leave it
until the end of a Process (i.e. when finalizing a Process). All jails
are kept being referenced in the JailManagement. When a last attached
process is finalized, the Jail is automatically destroyed.
2022-11-05 18:00:58 -06:00
..
SysFS Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
AnonymousFile.cpp
AnonymousFile.h
BlockBasedFileSystem.cpp Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
BlockBasedFileSystem.h Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
Custody.cpp
Custody.h
DeviceFileTypes.h
DevPtsFS.cpp
DevPtsFS.h
ext2_fs.h
ext2_types.h
Ext2FileSystem.cpp Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
Ext2FileSystem.h Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
FATFileSystem.cpp Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
FATFileSystem.h Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
FIFO.cpp Kernel: Add support for MSG_NOSIGNAL and properly send SIGPIPE 2022-10-24 15:49:39 +02:00
FIFO.h
File.cpp
File.h
FileBackedFileSystem.cpp Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
FileBackedFileSystem.h Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
FileSystem.cpp Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
FileSystem.h Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
Inode.cpp
Inode.h
InodeFile.cpp
InodeFile.h
InodeIdentifier.h
InodeMetadata.cpp
InodeMetadata.h
InodeWatcher.cpp
InodeWatcher.h
ISO9660FileSystem.cpp Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00
ISO9660FileSystem.h Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
Mount.cpp
Mount.h
OpenFileDescription.cpp Kernel/FileSystem: Add a few missing includes 2022-10-22 16:57:52 -04:00
OpenFileDescription.h Kernel/FileSystem: Add a few missing includes 2022-10-22 16:57:52 -04:00
Plan9FileSystem.cpp Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
Plan9FileSystem.h Kernel: Introduce support for using FileSystem object in multiple mounts 2022-10-22 16:57:52 -04:00
ProcFS.cpp Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
ProcFS.h
SysFS.cpp
SysFS.h
TmpFS.cpp Kernel: Add support for device nodes in TmpFS 2022-10-22 19:18:15 +02:00
TmpFS.h
UnveilNode.h
VirtualFileSystem.cpp Kernel/FileSystem: Remove hardcoded unveil path of /usr/lib/Loader.so 2022-10-24 19:41:32 -06:00
VirtualFileSystem.h Kernel/FileSystem: Discard safely filesystems when unmounted last time 2022-10-22 16:57:52 -04:00