summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/serenity.h
AgeCommit message (Collapse)Author
2021-03-09UserspaceEmulator+LibC: Use sys$emuctl() to pass malloc info to UEAndreas Kling
Get rid of the awkward secret handshake sequence between malloc and UE and simply use sys$emuctl() to notify UE of malloc, free and realloc.
2021-02-05Userland: Add LibSystem and funnel all syscalls through itAndreas Kling
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-03LibC+LibKeyboard: Move getkeymap()+setkeymap() syscall wrappers to LibCAndreas Kling
2021-02-03LibC+LibELF: Run clang-formatAndreas Kling
2021-02-02LibC: Add LibC wrapper for sys$readlink()Andreas Kling
To avoid having to make direct syscalls in LibCore, let's add a wrapper for the kernel's readlink syscall in LibC.
2021-01-17Kernel: Some futex improvementsTom
This adds support for FUTEX_WAKE_OP, FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_REQUEUE, and FUTEX_CMP_REQUEUE, as well well as global and private futex and absolute/relative timeouts against the appropriate clock. This also changes the implementation so that kernel resources are only used when a thread is blocked on a futex. Global futexes are implemented as offsets in VMObjects, so that different processes can share a futex against the same VMObject despite potentially being mapped at different virtual addresses.
2021-01-17Kernel+Userland: Remove shared buffers (shbufs)Andreas Kling
All users of this mechanism have been switched to anonymous files and passing file descriptors with sendfd()/recvfd(). Shbufs got us where we are today, but it's time we say good-bye to them and welcome a much more idiomatic replacement. :^)
2021-01-17Kernel: Remove sys$shbuf_seal() and userland wrappersAndreas Kling
There are no remaining users of this syscall so let it go. :^)
2021-01-16Kernel+Userland: Remove sys$shbuf_allow_all() and userland wrappersAndreas Kling
Nobody is using globally shared shbufs anymore, so let's remove them.
2021-01-16Kernel+LibC+WindowServer: Remove unused thread/process boost mechanismAndreas Kling
The priority boosting mechanism has been broken for a very long time. Let's remove it from the codebase and we can bring it back the day someone feels like implementing it in a working way. :^)
2021-01-15Kernel: Add anonymous files, created with sys$anon_create()Andreas Kling
This patch adds a new AnonymousFile class which is a File backed by an AnonymousVMObject that can only be mmap'ed and nothing else, really. I'm hoping that this can become a replacement for shbufs. :^)
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling