mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
UserspaceEmulator: Implement sys$set_mmap_name()
This commit is contained in:
parent
b940dd4fa8
commit
735a6482ac
2 changed files with 10 additions and 2 deletions
|
@ -68,6 +68,7 @@ public:
|
|||
void set_malloc_metadata(Badge<MallocTracer>, NonnullOwnPtr<MallocRegionMetadata> metadata) { m_malloc_metadata = move(metadata); }
|
||||
|
||||
const String& name() const { return m_name; }
|
||||
void set_name(String name) { m_name = move(name); }
|
||||
|
||||
private:
|
||||
MmapRegion(u32 base, u32 size, int prot, u8* data, u8* shadow_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue