From a3680fde9522bfaf85a2a312ad444ff7ae539d8e Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 5 Dec 2008 15:45:44 -0500 Subject: [PATCH] setfsgid.2, setfsuid.2: Simplify version information and move to a VERSIONS section Signed-off-by: Michael Kerrisk --- man2/setfsgid.2 | 7 +++++-- man2/setfsuid.2 | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/man2/setfsgid.2 b/man2/setfsgid.2 index 4c740014a..fd03a7d33 100644 --- a/man2/setfsgid.2 +++ b/man2/setfsgid.2 @@ -26,7 +26,7 @@ .\" Modified, 27 May 2004, Michael Kerrisk .\" Added notes on capability requirements .\" -.TH SETFSGID 2 2004-05-27 "Linux" "Linux Programmer's Manual" +.TH SETFSGID 2 2008-12-05 "Linux" "Linux Programmer's Manual" .SH NAME setfsgid \- set group identity used for file system checks .SH SYNOPSIS @@ -71,11 +71,14 @@ is returned. On error, the current value of .I fsgid is returned. +.SH VERSIONS +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" .BR setfsgid () is Linux-specific and should not be used in programs intended to be portable. -It is present since Linux 1.1.44 and in libc since libc 4.7.6. .SH NOTES When glibc determines that the argument is not a valid group ID, it will return \-1 and set \fIerrno\fP to diff --git a/man2/setfsuid.2 b/man2/setfsuid.2 index 458082f32..737fc9cc1 100644 --- a/man2/setfsuid.2 +++ b/man2/setfsuid.2 @@ -26,7 +26,7 @@ .\" Modified, 27 May 2004, Michael Kerrisk .\" Added notes on capability requirements .\" -.TH SETFSUID 2 2004-05-27 "Linux" "Linux Programmer's Manual" +.TH SETFSUID 2 2008-12-05 "Linux" "Linux Programmer's Manual" .SH NAME setfsuid \- set user identity used for file system checks .SH SYNOPSIS @@ -71,11 +71,14 @@ is returned. On error, the current value of .I fsuid is returned. +.SH VERSIONS +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" .BR setfsuid () is Linux-specific and should not be used in programs intended to be portable. -It is present since Linux 1.1.44 and in libc since libc 4.7.6. .SH NOTES When glibc determines that the argument is not a valid user ID, it will return \-1 and set \fIerrno\fP to