ladybird/Kernel/FileSystem
Liav A bee75c1f24 Kernel/ProcFS: Allow a process directory to have a null Process pointer
In case we are about to delete the PID directory, we clear the Process
pointer. If someone still holds a reference to the PID directory (by
opening it), we still need to delete the process, but we can't delete
the directory, so we will keep it alive, but any operation on it will
fail by propogating the error to userspace about that the Process was
deleted and therefore there's no meaning to trying to do operations on
the directory.

Fixes #8576.
2021-07-14 13:40:01 +02:00
..
AnonymousFile.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AnonymousFile.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
BlockBasedFileSystem.cpp Kernel: Rename BlockBasedFS => BlockBasedFileSystem 2021-07-11 00:34:36 +02:00
BlockBasedFileSystem.h Kernel: Rename BlockBasedFS => BlockBasedFileSystem 2021-07-11 00:34:36 +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: Remove unused header includes in FileSystem subtree 2021-07-11 21:37:38 +02:00
DevFS.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00
DevPtsFS.cpp Kernel: Remove unused header includes in FileSystem subtree 2021-07-11 21:37:38 +02:00
DevPtsFS.h Kernel: Rename FS => FileSystem 2021-07-11 00:20:38 +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: Rename BlockBasedFS => BlockBasedFileSystem 2021-07-11 00:34:36 +02:00
Ext2FileSystem.h Kernel: Rename BlockBasedFS => BlockBasedFileSystem 2021-07-11 00:34:36 +02:00
FIFO.cpp Kernel: Remove unused header includes in FileSystem subtree 2021-07-11 21:37:38 +02:00
FIFO.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
File.cpp Kernel: Closing a file descriptor should not always close the file 2021-04-30 11:42:35 +02:00
File.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
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: Rename VFS => VirtualFileSystem 2021-07-11 00:25:24 +02:00
FileDescription.h Kernel: Rename VFS => VirtualFileSystem 2021-07-11 00:25:24 +02:00
FileSystem.cpp Kernel: Remove unnecessary includes in FileSystem.{cpp,h} 2021-07-11 01:01:54 +02:00
FileSystem.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00
Inode.cpp Kernel: Rename VFS => VirtualFileSystem 2021-07-11 00:25:24 +02:00
Inode.h Kernel: Rename VFS => VirtualFileSystem 2021-07-11 00:25:24 +02:00
InodeFile.cpp Kernel: Rename various *VMObject::create*() => try_create() 2021-07-11 17:55:29 +02:00
InodeFile.h Kernel: Make various T::class_name() and similar return StringView 2021-07-11 01:46:59 +02:00
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 Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
InodeWatcher.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00
Mount.cpp Kernel: Make VirtualFileSystem::Mount a top-level class 2021-07-11 00:51:06 +02:00
Mount.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00
Plan9FileSystem.cpp Kernel: Rename FileBackedFS => FileBackedFileSystem 2021-07-11 00:33:27 +02:00
Plan9FileSystem.h Kernel: Rename FileBackedFS => FileBackedFileSystem 2021-07-11 00:33:27 +02:00
ProcFS.cpp Kernel/ProcFS: Allow a process directory to have a null Process pointer 2021-07-14 13:40:01 +02:00
ProcFS.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00
SysFS.cpp Kernel: Replace "Folder" => "Directory" everywhere 2021-07-11 01:33:40 +02:00
SysFS.h Kernel: Replace "Folder" => "Directory" everywhere 2021-07-11 01:33:40 +02:00
SysFSComponent.cpp Kernel: Remove all friend declarations from SysFSComponentRegistry 2021-07-11 01:17:57 +02:00
SysFSComponent.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00
TmpFS.cpp Kernel: Fix TmpFS resize behavior around INT32_MAX for 32-bit systems 2021-07-11 19:42:00 +02:00
TmpFS.h Kernel: Rename FS => FileSystem 2021-07-11 00:20:38 +02:00
VirtualFileSystem.cpp Kernel: Return correct error numbers for the mkdir syscall 2021-07-11 14:59:57 +02:00
VirtualFileSystem.h Kernel: Use Forward.h headers more 2021-07-11 14:14:51 +02:00