diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-15 11:28:07 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-15 13:56:47 +0100 |
commit | fb4993f0677a003c80a1c82f5aad3eccdd9a9beb (patch) | |
tree | b73c53feed61b4b1ddd68574641b5003557e4ded /Kernel/API/Syscall.h | |
parent | 96f8fcdcbaf35461bb51b2fa1e190d8a7653b5eb (diff) | |
download | serenity-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.h | 3 |
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 { |