1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-29 05:22:33 +00:00
serenity/Kernel/FileSystem
Daniel Bertalan 8dd11ae717 Kernel+SystemServer: Add /dev/tty
This file refers to the controlling terminal associated with the current
process. It's specified by POSIX, and is used by ports like openssh to
interface with the terminal even if the standard input/output is
redirected to somewhere else.

Our implementation leverages ProcFS's existing facilities to create
process-specific symbolic links. In our setup, `/dev/tty` is a symbolic
link to `/proc/self/tty`, which itself is a symlink to the appropriate
`/dev/pts` entry. If no TTY is attached, `/dev/tty` is left dangling.
2021-12-12 22:32:35 +01:00
..
AnonymousFile.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
AnonymousFile.h Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
BlockBasedFileSystem.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
BlockBasedFileSystem.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
Custody.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
Custody.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
DevPtsFS.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
DevPtsFS.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
DevTmpFS.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
DevTmpFS.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
ext2_fs.h Everywhere: Behaviour => Behavior 2021-09-07 13:53:14 +02:00
ext2_types.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Ext2FileSystem.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Ext2FileSystem.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
FIFO.cpp Kernel: Handle string format errors in FileSystem APIs :^) 2021-11-30 11:16:35 +01:00
FIFO.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
File.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
File.h Kernel: Remove unused String.h includes 2021-12-11 13:15:26 -08:00
FileBackedFileSystem.cpp Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
FileBackedFileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
FileSystem.cpp Kernel: Use DistinctNumeric for filesystem ID's 2021-11-18 21:11:30 +01:00
FileSystem.h Kernel: Use DistinctNumeric for filesystem ID's 2021-11-18 21:11:30 +01:00
Inode.cpp Kernel: Propagate Vector append failures from Inode::apply_flock() 2021-11-18 21:11:30 +01:00
Inode.h Kernel: Remove unused Inode::preopen_fd() 2021-12-06 19:22:16 +01:00
InodeFile.cpp Kernel: Allow mmap() with PROT_WRITE+MAP_SHARED 2021-11-17 19:35:13 +01:00
InodeFile.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
InodeIdentifier.h Kernel: Use DistinctNumeric for filesystem ID's 2021-11-18 21:11:30 +01:00
InodeMetadata.h Kernel: Resolve clang-tidy readability-implicit-bool-conversion warnings 2021-11-14 22:52:35 +01:00
InodeWatcher.cpp Kernel: Handle string format errors in FileSystem APIs :^) 2021-11-30 11:16:35 +01:00
InodeWatcher.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
ISO9660FileSystem.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
ISO9660FileSystem.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01: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
OpenFileDescription.cpp Kernel: Make Inode::traverse_as_directory() callback return ErrorOr 2021-11-10 21:58:58 +01:00
OpenFileDescription.h Kernel: Resolve clang-tidy readability-implicit-bool-conversion warnings 2021-11-14 22:52:35 +01:00
Plan9FileSystem.cpp Kernel: Mark kernel smart-pointer classes as [[nodiscard]] 2021-12-05 15:31:03 +01:00
Plan9FileSystem.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
ProcFS.cpp Kernel+SystemServer: Add /dev/tty 2021-12-12 22:32:35 +01:00
ProcFS.h Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
SysFS.cpp Kernel: Use DistinctNumeric for filesystem ID's 2021-11-18 21:11:30 +01:00
SysFS.h Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
SysFSComponent.cpp Kernel: Use DistinctNumeric for filesystem ID's 2021-11-18 21:11:30 +01:00
SysFSComponent.h Kernel: Use DistinctNumeric for filesystem ID's 2021-11-18 21:11:30 +01:00
TmpFS.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
TmpFS.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
UnveilNode.h Kernel: Move UnveilNode.h into Kernel/FileSystem/ 2021-08-06 14:11:45 +02:00
VirtualFileSystem.cpp Kernel: Remove unused Inode::preopen_fd() 2021-12-06 19:22:16 +01:00
VirtualFileSystem.h Kernel: Remove unused String.h includes 2021-12-11 13:15:26 -08:00