serenity/Kernel/API
Liav A 23a7ccf607 Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls
This is a preparation before we can create a usable mechanism to use
filesystem-specific mount flags.
To keep some compatibility with userland code, LibC and LibCore mount
functions are kept being usable, but now instead of doing an "atomic"
syscall, they do multiple syscalls to perform the complete procedure of
mounting a filesystem.

The FileBackedFileSystem IntrusiveList in the VFS code is now changed to
be protected by a Mutex, because when we mount a new filesystem, we need
to check if a filesystem is already created for a given source_fd so we
do a scan for that OpenFileDescription in that list. If we fail to find
an already-created filesystem we create a new one and register it in the
list if we successfully mounted it. We use a Mutex because we might need
to initiate disk access during the filesystem creation, which will take
other mutexes in other parts of the kernel, therefore making it not
possible to take a spinlock while doing this.
2023-07-02 01:04:51 +02:00
..
FileSystem Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls 2023-07-02 01:04:51 +02:00
POSIX Kernel: Alias _SC_PAGE_SIZE to _SC_PAGESIZE 2023-05-17 08:54:55 +02:00
Device.h
DeviceEvent.h
Graphics.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
InodeWatcherEvent.h Kernel+LibC: Move name length constants to Kernel/API from limits.h 2023-01-21 10:43:59 -07:00
InodeWatcherFlags.h
Ioctl.h Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls 2023-07-02 01:04:51 +02:00
Jail.h Kernel: Allow configuring a Jail to not impose PID isolation restriction 2023-04-24 12:15:29 +02:00
kcov.h Kernel+Userland: Unify declarations for KCOV in Kernel/API/kcov.h 2023-02-24 20:35:45 +01:00
KeyCode.h Kernel/HID: Untie the PS2 protocol, i8042 hardware and generic devices 2023-04-09 18:11:37 +02:00
MemoryLayout.h
MousePacket.h
prctl_numbers.h Kernel: Merge {get,set}_process_name syscalls to the prctl syscall 2023-03-15 20:10:48 +01:00
serenity_limits.h Kernel: Bump maximum pthread stack size to 32MiB 2022-12-11 19:55:37 -07:00
Syscall.h Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls 2023-07-02 01:04:51 +02:00
SyscallString.h
TimePage.h
ttydefaults.h Kernel: Move TYPEDEF_* TTY macros to API/ttydefaults.h file 2023-03-01 19:36:53 -07:00
ttydefaultschars.h Kernel: Move TYPEDEF_* TTY macros to API/ttydefaults.h file 2023-03-01 19:36:53 -07:00
Unveil.h Kernel+LibCore+LibC: Implement support for forcing unveil on exec 2022-11-26 12:42:15 -07:00
VirGL.h
VirtualMemoryAnnotations.h Kernel/Memory: Add option to annotate region mapping as immutable 2022-12-16 01:02:00 -07:00