In /proc/$PID/smaps in the VmFlags what is the difference between "readable" and "may read"?
1
vote
1
answer
101
views
The man page describes the meaning of the VmFlags:
The "VmFlags" line (available since Linux 3.8) represents
the kernel flags associated with the virtual memory area,
encoded using the following two-letter codes:
rd - readable
wr - writable
ex - executable
sh - shared
mr - may read
mw - may write
me - may execute
ms - may share
What is the difference between "readable" and "may read"? Those seem equivalent. Same for the write/executable/share versions.
Asked by Joseph Garvin
(831 rep)
Jan 28, 2025, 06:20 PM
Last activity: Mar 14, 2025, 01:46 PM
Last activity: Mar 14, 2025, 01:46 PM