1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:48:11 +00:00
serenity/Userland/Libraries/LibC/sys
Andreas Kling e87eac9273 Userland: Add LibSystem and funnel all syscalls through it
This achieves two things:

- Programs can now intentionally perform arbitrary syscalls by calling
  syscall(). This allows us to work on things like syscall fuzzing.

- It restricts the ability of userspace to make syscalls to a single
  4KB page of code. In order to call the kernel directly, an attacker
  must now locate this page and call through it.
2021-02-05 12:23:39 +01:00
..
arch/i386 Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
cdefs.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
file.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
internals.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ioctl.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ioctl_numbers.h Kernel: Add FIBMAP ioctl to Ext2FileSystem 2021-01-30 22:54:51 +01:00
mman.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
param.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
prctl.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
prctl.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
prctl_numbers.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ptrace.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
ptrace.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
resource.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
select.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
select.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
socket.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
socket.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stat.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
sysmacros.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
time.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
times.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
types.h Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
uio.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
uio.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
un.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
utsname.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
wait.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
wait.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00