eminence / eminence/procfs

Support anonymous named and anonymous shared shared mappings in /proc/PID/maps

Open
#318 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
445
Forks
134
PR merge metrics
No merged PRs in 30d

Description

Linux allows naming anonymous mappings, both shared and non-shared. Named anonymous mappings appear as `[anon:]` entries while anonymous shared named mappings appear as `[anon_shmem:]` lines (see the [kernel documentation](https://docs.kernel.org/filesystems/proc.html)). Since in both cases the name is optional I propose to extend the `MmapPath::Anonymous` with an optional string name, so `MmapPath::Anonymous(Option)` and introduced a similar entry for anonymous shared mappings (say `MmapPath::AnonymousShared(Option)`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.