serenity/Kernel/Syscalls
Andreas Kling 84725ef3a5 Kernel+UserspaceEmulator: Add sys$emuctl() system call
This returns ENOSYS if you are running in the real kernel, and some
other result if you are running in UserspaceEmulator.

There are other ways we could check if we're inside an emulator, but
it seemed easier to just ask. :^)
2021-03-09 08:58:26 +01:00
..
abort.cpp Kernel: Don't disable interrupts while dealing with a process crash 2021-02-25 19:36:36 +01:00
access.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
alarm.cpp Kernel: Make TimeManagement use AK::Time internally 2021-03-02 08:36:08 +01:00
anon_create.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
beep.cpp Kernel: Make Thread use AK::Time internally 2021-03-02 08:36:08 +01:00
chdir.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
chmod.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
chown.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
chroot.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
clock.cpp Kernel: Make kgettimeofday use AK::Time 2021-03-02 08:36:08 +01:00
debug.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
disown.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
dup2.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
emuctl.cpp Kernel+UserspaceEmulator: Add sys$emuctl() system call 2021-03-09 08:58:26 +01:00
execve.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
exit.cpp Kernel: Don't disable interrupts while exiting a thread or process 2021-02-25 19:36:36 +01:00
fcntl.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
fork.cpp Kernel: Skip TLB flushes while cloning regions in sys$fork() 2021-03-03 22:57:45 +01:00
ftruncate.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
futex.cpp Kernel: Make Thread use AK::Time internally 2021-03-02 08:36:08 +01:00
get_dir_entries.cpp Kernel: Use Userspace<T> in sys$get_dir_entries() 2021-03-01 15:04:31 +01:00
get_stack_bounds.cpp Kernel: Use Userspace<T> in sys$get_stack_bounds() 2021-03-01 14:50:36 +01:00
getrandom.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
getuid.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
hostname.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
ioctl.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
keymap.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
kill.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
link.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
lseek.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
mkdir.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
mknod.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
mmap.cpp Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
module.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
mount.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
open.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
perf_event.cpp Kernel: Better handling of allocation failure in profiling 2021-03-02 22:38:06 +01:00
pipe.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
pledge.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
prctl.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
process.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
profiling.cpp Kernel: Start work on full system profiling :^) 2021-03-02 22:38:06 +01:00
ptrace.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
purge.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
read.cpp Kernel: Add bitwise operators for Thread::FileBlocker::BlockFlags enum 2021-03-08 18:47:40 +01:00
readlink.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
realpath.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
rename.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
rmdir.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
sched.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
select.cpp Kernel: Add bitwise operators for Thread::FileBlocker::BlockFlags enum 2021-03-08 18:47:40 +01:00
sendfd.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
setpgid.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
setuid.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
shutdown.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
sigaction.cpp Kernel: Use Userspace<T> in sys$sigaction() 2021-03-01 14:06:20 +01:00
socket.cpp Kernel: Make sockets use AK::Time 2021-03-02 08:36:08 +01:00
stat.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
sync.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
sysconf.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
thread.cpp Kernel: Fix pointer over/underflow in create_thread 2021-03-07 17:31:25 +01:00
times.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
ttyname.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
umask.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
uname.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
unlink.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
unveil.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
utime.cpp Kernel: Make kgettimeofday use AK::Time 2021-03-02 08:36:08 +01:00
waitid.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
watch_file.cpp Kernel: Make all syscall functions return KResultOr<T> 2021-03-01 13:54:32 +01:00
write.cpp Kernel: Fix build with IO_DEBUG 2021-03-01 16:07:50 +01:00