1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:15:06 +00:00
serenity/Kernel/FileSystem
Brian Gianforcaro 9a04f53a0f Kernel: Utilize AK::Userspace<T> in the ioctl interface
It's easy to forget the responsibility of validating and safely copying
kernel parameters in code that is far away from syscalls. ioctl's are
one such example, and bugs there are just as dangerous as at the root
syscall level.

To avoid this case, utilize the AK::Userspace<T> template in the ioctl
kernel interface so that implementors have no choice but to properly
validate and copy ioctl pointer arguments.
2021-07-27 01:23:37 +04:30
..
AnonymousFile.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AnonymousFile.h Kernel: Make purgeable memory a VMObject level concept (again) 2021-07-25 17:28:05 +02:00
BlockBasedFileSystem.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
BlockBasedFileSystem.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00
Custody.cpp Kernel: Switch Custody to east-const style 2021-07-11 00:51:38 +02:00
Custody.h Kernel: Switch Custody to east-const style 2021-07-11 00:51:38 +02:00
DevFS.cpp Kernel/DevFS: Remove redundant DevFS& member from DevFSInode 2021-07-18 02:21:34 +02:00
DevFS.h Kernel/DevFS: Remove redundant DevFS& member from DevFSInode 2021-07-18 02:21:34 +02:00
DevPtsFS.cpp Kernel: Make FileSystem::root_inode() return a plain Inode& 2021-07-18 01:53:04 +02:00
DevPtsFS.h Kernel: Make FileSystem::root_inode() return a plain Inode& 2021-07-18 01:53:04 +02:00
ext2_fs.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
ext2_types.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Ext2FileSystem.cpp Kernel/Ext2FS: Surface Vector allocation failures in block allocation 2021-07-18 02:15:56 +02:00
Ext2FileSystem.h Kernel: Make FileSystem::root_inode() return a plain Inode& 2021-07-18 01:53:04 +02:00
FIFO.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
FIFO.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00
File.cpp Kernel: Utilize AK::Userspace<T> in the ioctl interface 2021-07-27 01:23:37 +04:30
File.h Kernel: Utilize AK::Userspace<T> in the ioctl interface 2021-07-27 01:23:37 +04:30
FileBackedFileSystem.cpp Kernel: Rename FileBackedFS => FileBackedFileSystem 2021-07-11 00:33:27 +02:00
FileBackedFileSystem.h Kernel: Rename FileBackedFS => FileBackedFileSystem 2021-07-11 00:33:27 +02:00
FileDescription.cpp Kernel+LibC: Implement fcntl(2) advisory locks 2021-07-20 17:44:30 +04:30
FileDescription.h Kernel+LibC: Implement fcntl(2) advisory locks 2021-07-20 17:44:30 +04:30
FileSystem.cpp Kernel: Remove unnecessary includes in FileSystem.{cpp,h} 2021-07-11 01:01:54 +02:00
FileSystem.h Kernel: Make FileSystem::root_inode() return a plain Inode& 2021-07-18 01:53:04 +02:00
Inode.cpp Revert "Kernel: Use IntrusiveList for keeping track of InodeWatchers" 2021-07-21 21:24:26 +02:00
Inode.h Revert "Kernel: Use IntrusiveList for keeping track of InodeWatchers" 2021-07-21 21:24:26 +02:00
InodeFile.cpp Kernel: Utilize AK::Userspace<T> in the ioctl interface 2021-07-27 01:23:37 +04:30
InodeFile.h Kernel: Utilize AK::Userspace<T> in the ioctl interface 2021-07-27 01:23:37 +04:30
InodeIdentifier.h Kernel: Rename FS => FileSystem 2021-07-11 00:20:38 +02:00
InodeMetadata.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InodeWatcher.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
InodeWatcher.h Revert "Kernel: Use IntrusiveList for keeping track of InodeWatchers" 2021-07-21 21:24:26 +02:00
Mount.cpp Kernel: Make VirtualFileSystem::Mount a top-level class 2021-07-11 00:51:06 +02:00
Mount.h Kernel/Ext2FS: Cache the root inode in a member variable 2021-07-18 01:53:04 +02:00
Plan9FileSystem.cpp Kernel: Make FileSystem::root_inode() return a plain Inode& 2021-07-18 01:53:04 +02:00
Plan9FileSystem.h Kernel: Make FileSystem::root_inode() return a plain Inode& 2021-07-18 01:53:04 +02:00
ProcFS.cpp Kernel/ProcFS: Remove redundant ProcFS& member from ProcFSInode 2021-07-18 02:24:26 +02:00
ProcFS.h Kernel/ProcFS: Remove redundant ProcFS& member from ProcFSInode 2021-07-18 02:24:26 +02:00
SysFS.cpp Kernel/SysFS: Remove redundant SysFS& member from SysFSInode 2021-07-18 02:23:22 +02:00
SysFS.h Kernel/SysFS: Remove redundant SysFS& member from SysFSInode 2021-07-18 02:23:22 +02:00
SysFSComponent.cpp Kernel: Rename Locker => MutexLocker 2021-07-18 01:53:04 +02:00
SysFSComponent.h Kernel/SysFS: Remove unused SysFSComponent::entries_count() 2021-07-17 23:50:01 +02:00
TmpFS.cpp Kernel/TmpFS: Remove some unnecessary includes 2021-07-18 14:29:27 +02:00
TmpFS.h Kernel/TmpFS: Remove some unnecessary includes 2021-07-18 14:29:27 +02:00
VirtualFileSystem.cpp VirtualFileSystem: Check for '.' '..' and empty filenames 2021-07-19 18:20:34 +02:00
VirtualFileSystem.h Kernel: Rename Lock to Mutex 2021-07-17 21:10:32 +02:00