1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00
serenity/Kernel/FileSystem
Andreas Kling 6081c76515 Kernel: Make O_RDONLY non-zero
Sergey suggested that having a non-zero O_RDONLY would make some things
less confusing, and it seems like he's right about that.

We can now easily check read/write permissions separately instead of
dancing around with the bits.

This patch also fixes unveil() validation for O_RDWR which previously
forgot to check for "r" permission.
2020-01-21 13:27:08 +01:00
..
Custody.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Custody.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DevPtsFS.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DevPtsFS.h Kernel: Fix identifier casing 2020-01-18 23:51:22 +01:00
DiskBackedFileSystem.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DiskBackedFileSystem.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ext2_fs.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ext2_types.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Ext2FileSystem.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Ext2FileSystem.h Kernel: Fix identifier casing 2020-01-18 23:51:22 +01:00
FIFO.cpp Kernel: Make DoubleBuffer use a KBuffer instead of kmalloc()ing 2020-01-20 16:08:49 +01:00
FIFO.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
File.cpp Kernel: Move setting file flags and r/w mode to VFS::open() 2020-01-18 23:51:22 +01:00
File.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
FileDescription.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
FileDescription.h Kernel: Make O_RDONLY non-zero 2020-01-21 13:27:08 +01:00
FileSystem.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
FileSystem.h Kernel: Fix identifier casing 2020-01-18 23:51:22 +01:00
Inode.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Inode.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeFile.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeFile.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeIdentifier.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeMetadata.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeWatcher.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
InodeWatcher.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ProcFS.cpp ProcFS: Add /proc/PID/unveil 2020-01-20 22:19:02 +01:00
ProcFS.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
TmpFS.cpp TmpFS: Grow the underlying inode buffer with 2x factor when written to 2020-01-19 14:01:32 +01:00
TmpFS.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
VirtualFileSystem.cpp Kernel: Make O_RDONLY non-zero 2020-01-21 13:27:08 +01:00
VirtualFileSystem.h Kernel: Make O_RDONLY non-zero 2020-01-21 13:27:08 +01:00