ladybird/Kernel/Syscalls
Andreas Kling 292cd53192 Kernel: Remove SmapDisabler in sys$ioctl()
Use copy_{to,from}_user() in the various File::ioctl() implementations
instead of disabling SMAP wholesale in sys$ioctl().

This patch does not port IPv4Socket::ioctl() to those API's since that
will be more involved. That function now creates a local SmapDisabler.
2020-07-31 00:17:25 +02:00
..
access.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
alarm.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
beep.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
chdir.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
chmod.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
chown.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
chroot.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
clock.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
debug.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
dup.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
execve.cpp Kernel: Turn Process::FileDescriptionAndFlags into a proper class 2020-07-30 23:50:31 +02:00
exit.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
fcntl.cpp Kernel: Turn Process::FileDescriptionAndFlags into a proper class 2020-07-30 23:50:31 +02:00
fork.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
ftruncate.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
futex.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
get_dir_entries.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
get_stack_bounds.cpp Kernel: Rename region_from_foo() => find_region_from_foo() 2020-07-30 23:52:28 +02:00
getrandom.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
getuid.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
hostname.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
ioctl.cpp Kernel: Remove SmapDisabler in sys$ioctl() 2020-07-31 00:17:25 +02:00
kill.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
link.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
lseek.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
mkdir.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
mknod.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
mmap.cpp Kernel: Rename region_from_foo() => find_region_from_foo() 2020-07-30 23:52:28 +02:00
module.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
mount.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
open.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
perf_event.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
pipe.cpp Kernel: Turn Process::FileDescriptionAndFlags into a proper class 2020-07-30 23:50:31 +02:00
pledge.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
process.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
profiling.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
ptrace.cpp Kernel: Rename region_from_foo() => find_region_from_foo() 2020-07-30 23:52:28 +02:00
purge.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
read.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
readlink.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
realpath.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
rename.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
rmdir.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sched.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
select.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sendfd.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
setkeymap.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
setpgid.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
setuid.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
shbuf.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
shutdown.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sigaction.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sleep.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
socket.cpp Kernel: Turn Process::FileDescriptionAndFlags into a proper class 2020-07-30 23:50:31 +02:00
stat.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sync.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
sysconf.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
thread.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
times.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
ttyname.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
umask.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
uname.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
unlink.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
unveil.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
utime.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
waitid.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00
watch_file.cpp Kernel: Turn Process::FileDescriptionAndFlags into a proper class 2020-07-30 23:50:31 +02:00
write.cpp Kernel: Move syscall implementations out of Process.cpp 2020-07-30 23:40:57 +02:00