summaryrefslogtreecommitdiffstats
path: root/man2/setfsuid.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/setfsuid.2')
-rw-r--r--man2/setfsuid.216
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/setfsuid.2 b/man2/setfsuid.2
index c6e75dafa..59c43fc9c 100644
--- a/man2/setfsuid.2
+++ b/man2/setfsuid.2
@@ -27,7 +27,7 @@ The (Linux-specific) filesystem user ID is used
for permissions checking when accessing filesystem objects,
while the effective user ID is used for various other kinds
of permissions checks (see
-.BR credentials (7)).
+.MR credentials 7 ).
.P
Normally, the value of the process's filesystem user ID
is the same as the value of its effective user ID.
@@ -43,7 +43,7 @@ to change its filesystem user ID to the value given in
Explicit calls to
.BR setfsuid ()
and
-.BR setfsgid (2)
+.MR setfsgid 2
are (were) usually used only by programs such as the Linux NFS server that
need to change what user and group ID is used for file access without a
corresponding change in the real and effective user and group IDs.
@@ -76,14 +76,14 @@ The filesystem user ID attribute was thus added to allow a process to
change its user ID for the purposes of file permission checking without
at the same time becoming vulnerable to receiving unwanted signals.
Since Linux 2.0, signal permission handling is different (see
-.BR kill (2)),
+.MR kill 2 ),
with the result that a process can change its effective user ID
without being vulnerable to receiving signals from unwanted processes.
Thus,
.BR setfsuid ()
is nowadays unneeded and should be avoided in new applications
(likewise for
-.BR setfsgid (2)).
+.MR setfsgid 2 ).
.P
The original Linux
.BR setfsuid ()
@@ -121,7 +121,7 @@ should be returned when the call fails (because the caller lacks the
.B CAP_SETUID
capability).
.SH SEE ALSO
-.BR kill (2),
-.BR setfsgid (2),
-.BR capabilities (7),
-.BR credentials (7)
+.MR kill 2 ,
+.MR setfsgid 2 ,
+.MR capabilities 7 ,
+.MR credentials 7