]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
setfsuid.2: Wording improvements
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 9 Aug 2013 07:23:38 +0000 (09:23 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 9 Aug 2013 07:28:35 +0000 (09:28 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/setfsuid.2

index 171b1d5da18b96e3d0cf25a0373371f63a5c7110..96508c4762d0781ba9e0afa0fa3942e85ece81c9 100644 (file)
@@ -38,14 +38,15 @@ setfsuid \- set user identity used for filesystem checks
 .SH DESCRIPTION
 The system call
 .BR setfsuid ()
-sets the user ID that the Linux kernel uses to check for all accesses
+changes the value of the caller's filesystem user ID\(emthe
+user ID that the Linux kernel uses to check for all accesses
 to the filesystem.
 Normally, the value of
-.I fsuid
+the filesystem user ID
 will shadow the value of the effective user ID.
 In fact, whenever the
 effective user ID is changed,
-.I fsuid
+the filesystem user ID
 will also be changed to the new value of the effective user ID.
 
 Explicit calls to
@@ -62,9 +63,8 @@ is a security hole that can expose it to unwanted signals.
 .BR setfsuid ()
 will succeed only if the caller is the superuser or if
 .I fsuid
-matches either the real user ID, effective user ID, saved set-user-ID, or
-the current value of
-.IR fsuid .
+matches either the caller's real user ID, effective user ID,
+saved set-user-ID, or current filesystem user ID.
 .SH RETURN VALUE
 On both success and failure,
 this call returns the previous filesystem user ID of the caller.