aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man5/proc.58
-rw-r--r--man5/proc_pid_gid_map.51
-rw-r--r--man5/proc_pid_uid_map.520
3 files changed, 21 insertions, 8 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index dd100f80df..d3b762c74f 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -267,10 +267,6 @@ Therefore, it may be desirable to reset the "dumpable" attribute
.I after
making any desired changes to the process's effective UID or GID.
.TP
-.IR /proc/ pid /gid_map " (since Linux 3.5)"
-See
-.BR user_namespaces (7).
-.TP
.IR /proc/ pid /io " (since Linux 2.6.20)"
.\" commit 7c3ab7381e79dfc7db14a67c6f4f3285664e1ec2
This file contains I/O statistics for the process, for example:
@@ -2184,10 +2180,6 @@ only the (weaker)
.B CAP_SYS_NICE
capability is required to access this file.
.TP
-.IR /proc/ pid /uid_map " (since Linux 3.5)"
-See
-.BR user_namespaces (7).
-.TP
.IR /proc/ pid /wchan " (since Linux 2.6.0)"
The symbolic name corresponding to the location
in the kernel where the process is sleeping.
diff --git a/man5/proc_pid_gid_map.5 b/man5/proc_pid_gid_map.5
new file mode 100644
index 0000000000..4637389d1f
--- /dev/null
+++ b/man5/proc_pid_gid_map.5
@@ -0,0 +1 @@
+.so man5/proc_pid_uid_map.5
diff --git a/man5/proc_pid_uid_map.5 b/man5/proc_pid_uid_map.5
new file mode 100644
index 0000000000..e514eda334
--- /dev/null
+++ b/man5/proc_pid_uid_map.5
@@ -0,0 +1,20 @@
+.\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
+.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
+.\"
+.\" SPDX-License-Identifier: GPL-3.0-or-later
+.\"
+.TH proc_pid_uid_map 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/pid/gid_map, /proc/pid/uid_map \- user and group ID mappings
+.SH DESCRIPTION
+.TP
+.IR /proc/ pid /gid_map " (since Linux 3.5)"
+See
+.BR user_namespaces (7).
+.TP
+.IR /proc/ pid /uid_map " (since Linux 3.5)"
+See
+.BR user_namespaces (7).
+.SH SEE ALSO
+.BR proc (5)