Blame SOURCES/0045-mount.8-clarify-no-suid-behavior-on-file-capabilitie.patch

df3f53
From 8704fa57c3b93152df6c10fd6a35ebdd59e1a5b7 Mon Sep 17 00:00:00 2001
df3f53
From: Peter Wu <peter@lekensteyn.nl>
df3f53
Date: Fri, 1 Feb 2019 15:40:53 +0100
df3f53
Subject: [PATCH 45/55] mount.8: clarify (no)suid behavior on file capabilities
df3f53
df3f53
Clarify that the nosuid option also affects file capabilities and that
df3f53
it only limits execution of programs. (setgid on directories still
df3f53
inherit the group regardless of the nosuid option.) The new text is
df3f53
taken from the mount(2) manual page from the man-pages project.
df3f53
df3f53
Addresses: https://github.com/karelzak/util-linux/issues/482
df3f53
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1855759
df3f53
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
df3f53
---
df3f53
 sys-utils/mount.8 | 8 ++++----
df3f53
 1 file changed, 4 insertions(+), 4 deletions(-)
df3f53
df3f53
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
df3f53
index 1cc792979..a4d7de2c0 100644
df3f53
--- a/sys-utils/mount.8
df3f53
+++ b/sys-utils/mount.8
df3f53
@@ -1107,12 +1107,12 @@ or
df3f53
 Do not use the lazytime feature.
df3f53
 .TP
df3f53
 .B suid
df3f53
-Allow set-user-ID or set-group-ID bits to take
df3f53
-effect.
df3f53
+Honor set-user-ID and set-group-ID bits or file capabilities when
df3f53
+executing programs from this filesystem.
df3f53
 .TP
df3f53
 .B nosuid
df3f53
-Do not allow set-user-ID or set-group-ID bits to take
df3f53
-effect.
df3f53
+Do not honor set-user-ID and set-group-ID bits or file capabilities when
df3f53
+executing programs from this filesystem.
df3f53
 .TP
df3f53
 .B silent
df3f53
 Turn on the silent flag.
df3f53
-- 
df3f53
2.29.2
df3f53