1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

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. :^)
This commit is contained in:
Andreas Kling 2021-01-15 11:28:07 +01:00
parent 96f8fcdcba
commit fb4993f067
8 changed files with 191 additions and 1 deletions

View file

@ -198,7 +198,8 @@ namespace Kernel {
S(prctl) \
S(mremap) \
S(set_coredump_metadata) \
S(abort)
S(abort) \
S(anon_create)
namespace Syscall {