1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:35:06 +00:00
serenity/Kernel/FileSystem
Sergey Bugaev a9946a99f2 Kernel: Pass a FileDescription to File::chmod() and File::chown()
We're going to make use of it in the next commit. But the idea is we want to
know how this File (more specifically, InodeFile) was opened in order to decide
how chown()/chmod() should behave, in particular whether it should be allowed or
not. Note that many other File operations, such as read(), write(), and ioctl(),
already require the caller to pass a FileDescription.
2020-05-29 07:53:30 +02:00
..
Custody.cpp AK: Reduce header dependency graph of String.h 2020-03-23 13:48:44 +01:00
Custody.h Kernel: Remove unused artifacts of the Custody cache 2020-02-26 15:25:53 +01:00
DevPtsFS.cpp Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
DevPtsFS.h Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
ext2_fs.h Meta: Remove some copyright headers added in error 2020-01-25 10:34:32 +01:00
ext2_types.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Ext2FileSystem.cpp Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
Ext2FileSystem.h Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
FIFO.cpp Kernel: Add explicit offset parameter to File::read etc 2020-04-10 11:59:30 +02:00
FIFO.h Kernel: Add explicit offset parameter to File::read etc 2020-04-10 11:59:30 +02:00
File.cpp Kernel: Use a FlatPtr for the "argument" to ioctl() 2020-05-23 15:25:43 +02:00
File.h Kernel: Pass a FileDescription to File::chmod() and File::chown() 2020-05-29 07:53:30 +02:00
FileBackedFileSystem.cpp Kernel: Tweak FileBackedFS API to avoid intermediary copies 2020-05-19 11:07:35 +02:00
FileBackedFileSystem.h Kernel: Tweak FileBackedFS API to avoid intermediary copies 2020-05-19 11:07:35 +02:00
FileDescription.cpp Kernel: Pass a FileDescription to File::chmod() and File::chown() 2020-05-29 07:53:30 +02:00
FileDescription.h Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
FileSystem.cpp Kernel: Make FS::block_size a size_t 2020-05-19 11:07:35 +02:00
FileSystem.h Kernel: Clang format file system in prep for changes. 2020-05-26 10:15:40 +02:00
Inode.cpp Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
Inode.h Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
InodeFile.cpp Kernel: Pass a FileDescription to File::chmod() and File::chown() 2020-05-29 07:53:30 +02:00
InodeFile.h Kernel: Pass a FileDescription to File::chmod() and File::chown() 2020-05-29 07:53:30 +02:00
InodeIdentifier.h Kernel: Move all code into the Kernel namespace 2020-02-16 01:27:42 +01:00
InodeMetadata.h Kernel: Use a FixedArray for a process's extra GIDs 2020-02-18 11:35:47 +01:00
InodeWatcher.cpp Kernel: Add explicit offset parameter to File::read etc 2020-04-10 11:59:30 +02:00
InodeWatcher.h Kernel: Add explicit offset parameter to File::read etc 2020-04-10 11:59:30 +02:00
ProcFS.cpp Kernel: Report source of synthetic filesystems as "none" 2020-05-29 07:53:30 +02:00
ProcFS.h Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
TmpFS.cpp Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
TmpFS.h Kernel: Plumb KResult through FileDescription::read_entire_file() implementation. 2020-05-26 10:15:40 +02:00
VirtualFileSystem.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +02:00
VirtualFileSystem.h Kernel: Resolve relative paths when there is a veil (#1474) 2020-03-19 09:57:34 +01:00