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

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