mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Kernel: Memory-mapped files now have the absolute path as their name.
It's generated when the mapping is first created, so it won't update if the file moves. Maybe that's something we should support, too.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 13:47:51 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5e1c7cb32c9
@@ -21,7 +21,7 @@ public:
|
||||
|
||||
virtual ssize_t read(FileDescriptor&, byte*, ssize_t) override;
|
||||
virtual ssize_t write(FileDescriptor&, const byte*, ssize_t) override;
|
||||
virtual KResultOr<Region*> mmap(Process&, LinearAddress preferred_laddr, size_t offset, size_t size, int prot) override;
|
||||
virtual KResultOr<Region*> mmap(Process&, FileDescriptor&, LinearAddress preferred_laddr, size_t offset, size_t size, int prot) override;
|
||||
|
||||
virtual String absolute_path(const FileDescriptor&) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user