Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-12-11 | Kernel: Use real UID/GID when checking for file access | sin-ack | |
This aligns the rest of the system with POSIX, who says that access(2) must check against the real UID and GID, not effective ones. | |||
2022-08-21 | Kernel: Make VirtualFileSystem functions take credentials as input | Andreas Kling | |
Instead of getting credentials from Process::current(), we now require that they be provided as input to the various VFS functions. This ensures that an atomic set of credentials is used throughout an entire VFS operation. | |||
2022-08-20 | Kernel: Add Credentials to hold a set of user and group IDs | Andreas Kling | |
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 | Kernel: Move InodeMetadata methods out of line | Andreas Kling | |