aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-01-22 22:15:17 +0100
committerAlejandro Colomar <alx@kernel.org>2023-01-22 22:15:20 +0100
commitd752f865c0355435519c41470ad4cf33ae8557ae (patch)
tree73a04155e142add7309bbf05c34ee4339983fe05
parent7493b4a2d0208fd66a7f5f2b9f259378418e3466 (diff)
downloadman-pages-d752f865c0355435519c41470ad4cf33ae8557ae.tar.gz
user_namespaces.7: ffix
Reported-by: Helge Kreutzmann <debian@helgefjell.de> Cc: Mario Blaettermann <mario.blaettermann@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man7/user_namespaces.710
1 files changed, 5 insertions, 5 deletions
diff --git a/man7/user_namespaces.7 b/man7/user_namespaces.7
index 838c09278b..73d8a4eb83 100644
--- a/man7/user_namespaces.7
+++ b/man7/user_namespaces.7
@@ -722,9 +722,9 @@ and
Writing
.RI \(dq deny \(dq
to the
-.I /proc/ pid /setgroups
+.IR /proc/ pid /setgroups
file before writing to
-.I /proc/ pid /gid_map
+.IR /proc/ pid /gid_map
.\" Things changed in Linux 3.19
.\" commit 9cc46516ddf497ea16e8d7cb986ae03a0f6b92f8
.\" commit 66d2f338ee4c449396b6f99f5e75cd18eb6df272
@@ -732,14 +732,14 @@ file before writing to
will permanently disable
.BR setgroups (2)
in a user namespace and allow writing to
-.I /proc/ pid /gid_map
+.IR /proc/ pid /gid_map
without having the
.B CAP_SETGID
capability in the parent user namespace.
.\"
.\" ============================================================
.\"
-.SS The /proc/ pid /setgroups file
+.SS The /proc/\fIpid\fP/setgroups file
.\"
.\" commit 9cc46516ddf497ea16e8d7cb986ae03a0f6b92f8
.\" commit 66d2f338ee4c449396b6f99f5e75cd18eb6df272
@@ -839,7 +839,7 @@ This restriction also propagates down to all child user namespaces of
this user namespace.
.PP
The
-.I /proc/ pid /setgroups
+.IR /proc/ pid /setgroups
file was added in Linux 3.19,
but was backported to many earlier stable kernel series,
because it addresses a security issue.