summaryrefslogtreecommitdiffstats
path: root/man5/proc_pid_exe.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/proc_pid_exe.5')
-rw-r--r--man5/proc_pid_exe.513
1 files changed, 7 insertions, 6 deletions
diff --git a/man5/proc_pid_exe.5 b/man5/proc_pid_exe.5
index e308677f1..b98c0fec8 100644
--- a/man5/proc_pid_exe.5
+++ b/man5/proc_pid_exe.5
@@ -25,21 +25,22 @@ string \[aq]\ (deleted)\[aq] appended to the original pathname.
In a multithreaded process, the contents of this symbolic link
are not available if the main thread has already terminated
(typically by calling
-.BR pthread_exit (3)).
+.MR pthread_exit 3 ).
.IP
Permission to dereference or read
-.RB ( readlink (2))
+\%(\c
+.MR readlink 2 )
this symbolic link is governed by a ptrace access mode
.B PTRACE_MODE_READ_FSCREDS
check; see
-.BR ptrace (2).
+.MR ptrace 2 .
.IP
Under Linux 2.0 and earlier,
.IR /proc/ pid /exe
is a pointer to the binary which was executed,
and appears as a symbolic link.
A
-.BR readlink (2)
+.MR readlink 2
call on this file under Linux 2.0 returns a string in the format:
.IP
.in +4n
@@ -51,9 +52,9 @@ call on this file under Linux 2.0 returns a string in the format:
For example, [0301]:1502 would be inode 1502 on device major 03 (IDE,
MFM, etc. drives) minor 01 (first partition on the first drive).
.IP
-.BR find (1)
+.MR find 1
with the
.I \-inum
option can be used to locate the file.
.SH SEE ALSO
-.BR proc (5)
+.MR proc 5