summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-15 11:28:07 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-15 13:56:47 +0100
commitfb4993f0677a003c80a1c82f5aad3eccdd9a9beb (patch)
treeb73c53feed61b4b1ddd68574641b5003557e4ded /Kernel/API/Syscall.h
parent96f8fcdcbaf35461bb51b2fa1e190d8a7653b5eb (diff)
downloadserenity-fb4993f0677a003c80a1c82f5aad3eccdd9a9beb.zip
Kernel: Add anonymous files, created with sys$anon_create()
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. :^)
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index ede2256168..4a7b7ea6c6 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -198,7 +198,8 @@ namespace Kernel {
S(prctl) \
S(mremap) \
S(set_coredump_metadata) \
- S(abort)
+ S(abort) \
+ S(anon_create)
namespace Syscall {