OSDN Git Service

(split) LDP: Update original to LDP v3.51.
[linuxjm/LDP_man-pages.git] / original / man2 / setfsgid.2
index a5f789a..dbaae16 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (C) 1995, Thomas K. Dyas <tdyas@eden.rutgers.edu>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Created   1995-08-06 Thomas K. Dyas <tdyas@eden.rutgers.edu>
 .\" Modified  2000-07-01 aeb
@@ -51,7 +53,7 @@ Explicit calls to
 .BR setfsuid (2)
 and
 .BR setfsgid ()
-are usually only used by programs such as the Linux NFS server that
+are 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.
 A change in the normal user IDs for a program such as the NFS server
@@ -59,12 +61,12 @@ is a security hole that can expose it to unwanted signals.
 (But see below.)
 
 .BR setfsgid ()
-will only succeed if the caller is the superuser or if
+will succeed only if the caller is the superuser or if
 .I fsgid
 matches either the real group ID, effective group ID,
 saved set-group-ID, or the current value of
 .IR fsgid .
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, the previous value of
 .I fsgid
 is returned.
@@ -75,7 +77,7 @@ is returned.
 This system call is present in Linux since version 1.2.
 .\" This system call is present since Linux 1.1.44
 .\" and in libc since libc 4.7.6.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 .BR setfsgid ()
 is Linux-specific and should not be used in programs intended
 to be portable.
@@ -107,7 +109,7 @@ least,
 should be returned when the call fails (because the caller lacks the
 .B CAP_SETGID
 capability).
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR kill (2),
 .BR setfsuid (2),
 .BR capabilities (7),