aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man5/proc.54
-rw-r--r--man5/proc_pid_setgroups.516
2 files changed, 16 insertions, 4 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index f54602107f..1e2a19bb05 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -284,10 +284,6 @@ making any desired changes to the process's effective UID or GID.
.\" Added in Linux 2.6.9
.\" CONFIG_SCHEDSTATS
.TP
-.IR /proc/ pid /setgroups " (since Linux 3.19)"
-See
-.BR user_namespaces (7).
-.TP
.IR /proc/ pid /smaps " (since Linux 2.6.14)"
This file shows memory consumption for each of the process's mappings.
(The
diff --git a/man5/proc_pid_setgroups.5 b/man5/proc_pid_setgroups.5
new file mode 100644
index 0000000000..8d3be35c26
--- /dev/null
+++ b/man5/proc_pid_setgroups.5
@@ -0,0 +1,16 @@
+.\" 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_setgroups 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/pid/setgroups \- allow or deny setting groups
+.SH DESCRIPTION
+.TP
+.IR /proc/ pid /setgroups " (since Linux 3.19)"
+See
+.BR user_namespaces (7).
+.SH SEE ALSO
+.BR proc (5)