mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
Kernel: SharedMemory should implement mmap().
This commit is contained in:
parent
237628a7a6
commit
a4e48dce77
3 changed files with 8 additions and 6 deletions
|
@ -31,6 +31,7 @@ private:
|
|||
virtual String absolute_path(FileDescriptor&) const override;
|
||||
virtual const char* class_name() const override { return "SharedMemory"; }
|
||||
virtual bool is_shared_memory() const override { return true; }
|
||||
virtual KResultOr<Region*> mmap(Process&, LinearAddress, size_t offset, size_t size) override;
|
||||
|
||||
SharedMemory(const String& name, uid_t, gid_t, mode_t);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue