serenity/Kernel/FileSystem
Andreas Kling 931e4b7f5e Kernel+SystemMonitor: Prevent userspace access to process ELF image
Every process keeps its own ELF executable mapped in memory in case we
need to do symbol lookup (for backtraces, etc.)

Until now, it was mapped in a way that made it accessible to the
program, despite the program not having mapped it itself.
I don't really see a need for userspace to have access to this right
now, so let's lock things down a little bit.

This patch makes it inaccessible to userspace and exposes that fact
through /proc/PID/vm (per-region "user_accessible" flag.)
2019-12-15 20:11:57 +01:00
..
Custody.cpp Kernel: Don't create a String every time we look up a Custody by name 2019-08-25 06:45:14 +02:00
Custody.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
DevPtsFS.cpp Kernel: Give PTY's *actually* unique major ID's 2019-12-09 21:03:39 +01:00
DevPtsFS.h DevPtsFS: Do not assume there is one of it 2019-08-17 12:07:55 +02:00
DiskBackedFileSystem.cpp Kernel: Implement O_DIRECT open() flag to bypass disk caches 2019-11-05 19:35:12 +01:00
DiskBackedFileSystem.h Kernel: Implement O_DIRECT open() flag to bypass disk caches 2019-11-05 19:35:12 +01:00
ext2_fs.h Add clang-format file 2019-05-28 17:31:20 +02:00
ext2_types.h Add clang-format file 2019-05-28 17:31:20 +02:00
Ext2FileSystem.cpp Ext2FileSystem: set_metadata_dirty(true) during write_directory(). 2019-11-21 13:04:38 +01:00
Ext2FileSystem.h Kernel+FileManager: Disallow watch_file() in unsupported file systems 2019-12-15 19:33:39 +01:00
FIFO.cpp Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
FIFO.h Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
File.cpp FileDescription: Disallow construction with a null File 2019-08-11 09:33:31 +02:00
File.h Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
FileDescription.cpp Kernel: Handle fstat() on sockets 2019-11-26 19:58:25 +01:00
FileDescription.h Kernel: Implement O_DIRECT open() flag to bypass disk caches 2019-11-05 19:35:12 +01:00
FileSystem.cpp AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
FileSystem.h Kernel+FileManager: Disallow watch_file() in unsupported file systems 2019-12-15 19:33:39 +01:00
Inode.cpp Kernel: Rename "vmo" to "vmobject" everywhere 2019-09-04 11:27:14 +02:00
Inode.h Ext2FS: Don't uncache inodes while they are being watched 2019-11-04 17:25:44 +01:00
InodeFile.cpp Kernel+SystemMonitor: Log amounts of I/O per thread 2019-12-01 17:40:27 +01:00
InodeFile.h Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
InodeIdentifier.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
InodeMetadata.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
InodeWatcher.cpp Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
InodeWatcher.h Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
ProcFS.cpp Kernel+SystemMonitor: Prevent userspace access to process ELF image 2019-12-15 20:11:57 +01:00
ProcFS.h ProcFS: Do not assume there is one of it 2019-08-17 12:07:55 +02:00
SharedMemory.cpp Kernel: Rename "vmo" to "vmobject" everywhere 2019-09-04 11:27:14 +02:00
SharedMemory.h Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
TmpFS.cpp TmpFS: Notify any associated InodeVMObject on inode changes 2019-08-24 19:59:01 +02:00
TmpFS.h Kernel+FileManager: Disallow watch_file() in unsupported file systems 2019-12-15 19:33:39 +01:00
VirtualFileSystem.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
VirtualFileSystem.h Kernel: Implement O_DIRECT open() flag to bypass disk caches 2019-11-05 19:35:12 +01:00