mirror of https://github.com/mkerrisk/man-pages
proc.5: Note that CAP_SYS_ADMIN is required to list /proc/PID/map_files
This might however change in the future; see the Jan 2015 LKML thread: Re: [RFC][PATCH v2] procfs: Always expose /proc/<pid>/map_files/ and make it readable Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2f2a53b56e
commit
f2aa4dcc8e
|
@ -576,7 +576,7 @@ Here is an example, with the output wrapped and reformatted to fit on an 80-colu
|
|||
.in +4n
|
||||
.nf
|
||||
|
||||
.RB "$" " ls -l /proc/self/map_files/"
|
||||
.RB "#" " ls -l /proc/self/map_files/"
|
||||
lr\-\-\-\-\-\-\-\-. 1 root root 64 Apr 16 21:31
|
||||
3252e00000\-3252e20000 \-> /usr/lib64/ld-2.15.so
|
||||
\&...
|
||||
|
@ -606,6 +606,13 @@ lrw\-\-\-\-\-\-\-. 1 root root 64 Apr 16 21:33
|
|||
This directory appears only if the
|
||||
.B CONFIG_CHECKPOINT_RESTORE
|
||||
kernel configuration option is enabled.
|
||||
Privilege
|
||||
.RB ( CAP_SYS_ADMIN )
|
||||
.\" FIXME
|
||||
.\" This may change. See the mail thread
|
||||
.\" [RFC][PATCH v2] procfs: Always expose /proc/<pid>/map_files/ and make it readable
|
||||
.\" from Jan 2015
|
||||
is required to view the contents of this directory.
|
||||
.TP
|
||||
.I /proc/[pid]/maps
|
||||
A file containing the currently mapped memory regions and their access
|
||||
|
|
Loading…
Reference in New Issue