1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:57:35 +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

@ -47,6 +47,7 @@ set(KERNEL_SOURCES
Storage/PATADiskDevice.cpp
Storage/StorageManagement.cpp
DoubleBuffer.cpp
FileSystem/AnonymousFile.cpp
FileSystem/BlockBasedFileSystem.cpp
FileSystem/Custody.cpp
FileSystem/DevFS.cpp
@ -103,6 +104,7 @@ set(KERNEL_SOURCES
SharedBuffer.cpp
StdLib.cpp
Syscall.cpp
Syscalls/anon_create.cpp
Syscalls/abort.cpp
Syscalls/access.cpp
Syscalls/alarm.cpp