1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:48:11 +00:00
serenity/Kernel/FileSystem
Andreas Kling 122d7d9533 Kernel: Add Credentials to hold a set of user and group IDs
This patch adds a new object to hold a Process's user credentials:

- UID, EUID, SUID
- GID, EGID, SGID, extra GIDs

Credentials are immutable and child processes initially inherit the
Credentials object from their parent.

Whenever a process changes one or more of its user/group IDs, a new
Credentials object is constructed.

Any code that wants to inspect and act on a set of credentials can now
do so without worrying about data races.
2022-08-20 18:32:50 +02:00
..
SysFS Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
AnonymousFile.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
AnonymousFile.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
BlockBasedFileSystem.cpp Kernel: Annotate all KBuffer and DoubleBuffer with a custom name 2022-07-12 00:55:31 +01:00
BlockBasedFileSystem.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
Custody.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Custody.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DeviceFileTypes.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
DevPtsFS.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DevPtsFS.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DevTmpFS.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
DevTmpFS.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
ext2_fs.h Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
ext2_types.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Ext2FileSystem.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Ext2FileSystem.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
FIFO.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
FIFO.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
File.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
File.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
FileBackedFileSystem.cpp Kernel: Use default constructors/destructors 2022-03-17 00:51:36 -07:00
FileBackedFileSystem.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
FileSystem.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
FileSystem.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Inode.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Inode.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InodeFile.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InodeFile.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InodeIdentifier.h Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
InodeMetadata.cpp Kernel: Add Credentials to hold a set of user and group IDs 2022-08-20 18:32:50 +02:00
InodeMetadata.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
InodeWatcher.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
InodeWatcher.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
ISO9660FileSystem.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
ISO9660FileSystem.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Mount.cpp Kernel: Convert Mount::absolute_path to ErrorOr<NonnullOwnPtr<KString>> 2022-01-12 16:09:09 +02:00
Mount.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
OpenFileDescription.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
OpenFileDescription.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Plan9FileSystem.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Plan9FileSystem.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
ProcFS.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
ProcFS.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
SysFS.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
SysFS.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
TmpFS.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
TmpFS.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
UnveilNode.h AK+Kernel: Specialize Trie for NNOP<KString> and use it in UnveilNode 2022-02-16 22:21:37 +01:00
VirtualFileSystem.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
VirtualFileSystem.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00