1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:28:11 +00:00
serenity/Kernel/Syscalls
Andreas Kling c3915e4058 Kernel: Stop using *LockRefPtr for Thread
These were stored in a bunch of places. The main one that's a bit iffy
is the Mutex::m_holder one, which I'm going to simplify in a subsequent
commit.

In Plan9FS and WorkQueue, we can't make the NNRPs const due to
initialization order problems. That's probably doable with further
cleanup, but left as an exercise for our future selves.

Before starting this, I expected the thread blockers to be a problem,
but as it turns out they were super straightforward (for once!) as they
don't mutate the thread after initiating a block, so they can just use
simple const-ified NNRPs.
2023-04-04 10:33:42 +02:00
..
alarm.cpp
anon_create.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
beep.cpp Kernel+Userland: Add support for using the PCSpeaker with various tones 2023-03-05 08:38:29 +00:00
chdir.cpp
chmod.cpp
chown.cpp Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
clock.cpp Kernel: Support more clocks in sys$clock_getres() 2023-02-21 01:00:06 +01:00
debug.cpp
disown.cpp
dup2.cpp
emuctl.cpp
execve.cpp Kernel: Abstract Processor::assume_context flags using InterruptsState 2023-04-03 02:59:37 -06:00
exit.cpp Kernel: Factor our PreviousMode into RegisterState::previous_mode 2023-01-27 11:41:43 +01:00
faccessat.cpp
fallocate.cpp
fcntl.cpp Kernel: Support F_DUPFD_CLOEXEC command to fcntl(2) 2023-02-19 00:37:37 +01:00
fork.cpp Kernel: Simplify Process factory functions 2023-04-04 10:33:42 +02:00
fsync.cpp
ftruncate.cpp
futex.cpp
get_dir_entries.cpp
get_stack_bounds.cpp
getrandom.cpp
getuid.cpp Kernel/Syscalls: Use copy_n_to_user when applicable 2023-03-24 18:25:12 +01:00
hostname.cpp
inode_watcher.cpp Kernel: Remove create_inode_watcher syscall from the big lock 2023-02-06 20:36:53 +01:00
ioctl.cpp Kernel+Userland: Move LibC/sys/ioctl_numbers to Kernel/API/Ioctl.h 2023-01-21 10:43:59 -07:00
jail.cpp Kernel: Make the Jails' internal design a lot more sane 2023-03-12 10:21:59 -06:00
keymap.cpp Kernel/Syscalls: Use copy_n_to_user when applicable 2023-03-24 18:25:12 +01:00
kill.cpp Kernel: Protect Process::m_name with a spinlock 2023-02-06 20:36:53 +01:00
link.cpp
lseek.cpp
mkdir.cpp
mknod.cpp
mmap.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
mount.cpp Kernel: Stop using *LockRefPtr for FileSystem pointers 2023-04-04 10:33:42 +02:00
open.cpp
perf_event.cpp
pipe.cpp Kernel/Syscalls: Use copy_n_to_user when applicable 2023-03-24 18:25:12 +01:00
pledge.cpp Kernel: Remove pledge syscall from the big lock 2023-02-06 20:36:53 +01:00
poll.cpp Kernel/Syscalls: Use copy_n_to_user when applicable 2023-03-24 18:25:12 +01:00
prctl.cpp Kernel: Merge {get,set}_process_name syscalls to the prctl syscall 2023-03-15 20:10:48 +01:00
process.cpp Kernel: Merge {get,set}_process_name syscalls to the prctl syscall 2023-03-15 20:10:48 +01:00
profiling.cpp
ptrace.cpp Kernel: Update registers in tracer when attaching to a stopped thread 2023-02-08 19:23:07 +01:00
purge.cpp Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
read.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
readlink.cpp
realpath.cpp
rename.cpp
resource.cpp AK+Kernel: Add includes before removing Kernel/ProcessExposed.h 2023-02-24 22:14:18 +01:00
rmdir.cpp
sched.cpp
sendfd.cpp
setpgid.cpp
setuid.cpp
sigaction.cpp
socket.cpp Kernel/Syscalls: Use copy_n_to_user when applicable 2023-03-24 18:25:12 +01:00
stat.cpp Kernel: Stop using NonnullLockRefPtrVector 2023-03-06 23:46:36 +01:00
statvfs.cpp
sync.cpp
sysconf.cpp Kernel: Add non standard value to sys$sysconf 2023-03-11 13:06:36 +00:00
thread.cpp Kernel: Stop using *LockRefPtr for Thread 2023-04-04 10:33:42 +02:00
times.cpp AK+Kernel: Add includes before removing Kernel/ProcessExposed.h 2023-02-24 22:14:18 +01:00
umask.cpp
uname.cpp
unlink.cpp
unveil.cpp
utime.cpp
utimensat.cpp Kernel: Use non-locking {Nonnull,}RefPtr for OpenFileDescription 2023-03-07 00:30:12 +01:00
waitid.cpp Kernel: Stop using *LockRefPtr for Process pointers 2023-04-04 10:33:42 +02:00
write.cpp