diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-07 22:42:07 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-10-07 22:47:23 +0200 |
| commit | 750653a812a98d9d19c7d0f9fd263d124457be39 (patch) | |
| tree | 95469e4ef92a614a95b341be8e085ab4bafe7b9f /man2 | |
| parent | 85976da34f36a3347dcae5a44140c3591bd538fd (diff) | |
| download | man-pages-750653a812a98d9d19c7d0f9fd263d124457be39.tar.gz | |
getrusage.2, madvise.2, memfd_create.2, mlock.2, mount.2, getauxval.3, core.5, capabilities.7, pid_namespaces.7, symlink.7, user_namespaces.7: Consistently use /proc/[pid] (not /proc/PID)
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/getrusage.2 | 2 | ||||
| -rw-r--r-- | man2/madvise.2 | 2 | ||||
| -rw-r--r-- | man2/memfd_create.2 | 4 | ||||
| -rw-r--r-- | man2/mlock.2 | 2 | ||||
| -rw-r--r-- | man2/mount.2 | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/man2/getrusage.2 b/man2/getrusage.2 index 0a85f76f52..a13d82d834 100644 --- a/man2/getrusage.2 +++ b/man2/getrusage.2 @@ -260,7 +260,7 @@ All new applications should be written using .BR getrusage (). See also the description of -.IR /proc/PID/stat +.IR /proc/[pid]/stat in .BR proc (5). .SH SEE ALSO diff --git a/man2/madvise.2 b/man2/madvise.2 index 511ce503d0..19c385807e 100644 --- a/man2/madvise.2 +++ b/man2/madvise.2 @@ -363,7 +363,7 @@ that are known not to be useful in a core dump. The effect of .BR MADV_DONTDUMP takes precedence over the bit mask that is set via the -.I /proc/PID/coredump_filter +.I /proc/[pid]/coredump_filter file (see .BR core (5)). .TP diff --git a/man2/memfd_create.2 b/man2/memfd_create.2 index 737be06964..64db11fe7e 100644 --- a/man2/memfd_create.2 +++ b/man2/memfd_create.2 @@ -339,11 +339,11 @@ From another program, we can obtain a file descriptor for the file created by .BR memfd_create () by opening the -.IR /proc/PID/fd +.IR /proc/[pid]/fd file that corresponds to the file descriptor opened by .BR memfd_create (). Using that pathname, we inspect the content of the -.IR /proc/PID/fd +.IR /proc/[pid]/fd symbolic link, and use our .I t_get_seals program to view the seals that have been placed on the file: diff --git a/man2/mlock.2 b/man2/mlock.2 index 08387b0bbe..706d9e8443 100644 --- a/man2/mlock.2 +++ b/man2/mlock.2 @@ -421,7 +421,7 @@ is page aligned, so portable applications should ensure this. The .I VmLck field of the Linux-specific -.I /proc/PID/status +.I /proc/[pid]/status file shows how many kilobytes of memory the process with ID .I PID has locked using diff --git a/man2/mount.2 b/man2/mount.2 index fce0743316..a460fe0876 100644 --- a/man2/mount.2 +++ b/man2/mount.2 @@ -775,7 +775,7 @@ to other processes (except child processes that the caller subsequently creates) and vice versa. The Linux-specific -.I /proc/PID/mounts +.I /proc/[pid]/mounts file exposes the list of mount points in the mount namespace of the process with the specified ID; see .BR proc (5) |
