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

Add sys$set_mmap_name and use it from LibC's malloc.

It's nice to be able to identify mmap's in /proc/PID/vm.
This commit is contained in:
Andreas Kling 2018-10-28 09:57:22 +01:00
parent e904f193c1
commit 1d5afbdffc
7 changed files with 35 additions and 8 deletions

View file

@ -6,5 +6,6 @@ extern "C" {
void* mmap(void*, size_t);
int munmap(void*, size_t);
int set_mmap_name(void*, size_t, const char*);
}