summaryrefslogtreecommitdiffstats
path: root/man5/proc_pid_environ.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/proc_pid_environ.5')
-rw-r--r--man5/proc_pid_environ.514
1 files changed, 7 insertions, 7 deletions
diff --git a/man5/proc_pid_environ.5 b/man5/proc_pid_environ.5
index 0ff8d4829..99b8382ef 100644
--- a/man5/proc_pid_environ.5
+++ b/man5/proc_pid_environ.5
@@ -12,7 +12,7 @@
.IR /proc/ pid /environ
This file contains the initial environment that was set
when the currently executing program was started via
-.BR execve (2).
+.MR execve 2 .
The entries are separated by null bytes (\[aq]\e0\[aq]),
and there may be a null byte at the end.
Thus, to print out the environment of process 1, you would do:
@@ -24,25 +24,25 @@ Thus, to print out the environment of process 1, you would do:
.in
.IP
If, after an
-.BR execve (2),
+.MR execve 2 ,
the process modifies its environment
(e.g., by calling functions such as
-.BR putenv (3)
+.MR putenv 3
or modifying the
-.BR environ (7)
+.MR environ 7
variable directly),
this file will
.I not
reflect those changes.
.IP
Furthermore, a process may change the memory location that this file refers via
-.BR prctl (2)
+.MR prctl 2
operations such as
.BR PR_SET_MM_ENV_START .
.IP
Permission to access this file is governed by a ptrace access mode
.B PTRACE_MODE_READ_FSCREDS
check; see
-.BR ptrace (2).
+.MR ptrace 2 .
.SH SEE ALSO
-.BR proc (5)
+.MR proc 5