summaryrefslogtreecommitdiff
path: root/Kernel/WaitQueue.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-11 20:45:51 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-11 20:45:51 +0100
commit41c504a33becea8aa9b437cd3c0dc312b2bf1fe9 (patch)
tree100eac4ba99b7014c3c515c5a9dfaef971baa60f /Kernel/WaitQueue.h
parent529a65c283252ab28dcfaac980ab14b662cf2aba (diff)
downloadserenity-41c504a33becea8aa9b437cd3c0dc312b2bf1fe9.zip
Kernel: Add pledge() syscall :^)
This patch implements basic support for OpenBSD-style pledge(). pledge() allows programs to incrementally reduce their set of allowed syscalls, which are divided into categories that each make up a subset of POSIX functionality. If a process violates one of its pledged promises by attempting to call a syscall that it previously said it wouldn't call, the process is immediately terminated with an uncatchable SIGABRT. This is by no means complete, and we'll need to add more checks in various places to ensure that promises are being kept. But it is pretty cool! :^)
Diffstat (limited to 'Kernel/WaitQueue.h')
0 files changed, 0 insertions, 0 deletions