From c95b6ae1ce254cb39fa72d331952226696487729 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 4 May 2012 16:09:11 +1200 Subject: [PATCH] faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, inotify_init.2, linkat.2, mkdirat.2, mknodat.2, openat.2, readlinkat.2, renameat.2, setns.2, splice.2, symlinkat.2, sync.2, tee.2, unlinkat.2, vmsplice.2: Global fix: note glibc version that added library support Reported-by: Lauri Kasanen Signed-off-by: Michael Kerrisk --- man2/faccessat.2 | 5 +++-- man2/fchmodat.2 | 5 +++-- man2/fchownat.2 | 5 +++-- man2/fstatat.2 | 5 +++-- man2/futimesat.2 | 5 +++-- man2/inotify_init.2 | 8 +++++--- man2/linkat.2 | 5 +++-- man2/mkdirat.2 | 5 +++-- man2/mknodat.2 | 5 +++-- man2/openat.2 | 5 +++-- man2/readlinkat.2 | 5 +++-- man2/renameat.2 | 5 +++-- man2/setns.2 | 5 +++-- man2/splice.2 | 5 +++-- man2/symlinkat.2 | 5 +++-- man2/sync.2 | 5 +++-- man2/tee.2 | 5 +++-- man2/unlinkat.2 | 5 +++-- man2/vmsplice.2 | 5 +++-- 19 files changed, 59 insertions(+), 39 deletions(-) diff --git a/man2/faccessat.2 b/man2/faccessat.2 index 3ebec3723..547e620f2 100644 --- a/man2/faccessat.2 +++ b/man2/faccessat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH FACCESSAT 2 2010-10-24 "Linux" "Linux Programmer's Manual" +.TH FACCESSAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME faccessat \- check user's permissions of a file relative to a \ directory file descriptor @@ -134,7 +134,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR faccessat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/fchmodat.2 b/man2/fchmodat.2 index db9512f65..007251242 100644 --- a/man2/fchmodat.2 +++ b/man2/fchmodat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH FCHMODAT 2 2012-04-22 "Linux" "Linux Programmer's Manual" +.TH FCHMODAT 2 2012-05-22 "Linux" "Linux Programmer's Manual" .SH NAME fchmodat \- change permissions of a file relative to a directory \ file descriptor @@ -134,7 +134,8 @@ specified which is not supported. .SH VERSIONS .BR fchmodat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/fchownat.2 b/man2/fchownat.2 index 687e8ad9a..2bb46ddaa 100644 --- a/man2/fchownat.2 +++ b/man2/fchownat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH FCHOWNAT 2 2009-12-13 "Linux" "Linux Programmer's Manual" +.TH FCHOWNAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME fchownat \- change ownership of a file relative to a directory \ file descriptor @@ -132,7 +132,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR fchownat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. A similar system call exists on Solaris. diff --git a/man2/fstatat.2 b/man2/fstatat.2 index ddf03087f..a415e0e03 100644 --- a/man2/fstatat.2 +++ b/man2/fstatat.2 @@ -22,7 +22,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH FSTATAT 2 2011-09-19 "Linux" "Linux Programmer's Manual" +.TH FSTATAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME fstatat \- get file status relative to a directory file descriptor .SH SYNOPSIS @@ -143,7 +143,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR fstatat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. A similar system call exists on Solaris. diff --git a/man2/futimesat.2 b/man2/futimesat.2 index 5c5449c6e..6d468fde5 100644 --- a/man2/futimesat.2 +++ b/man2/futimesat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH FUTIMESAT 2 2012-03-25 "Linux" "Linux Programmer's Manual" +.TH FUTIMESAT 2 2012-04-05 "Linux" "Linux Programmer's Manual" .SH NAME futimesat \- change timestamps of a file relative to a \ directory file descriptor @@ -108,7 +108,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR futimesat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" This system call is nonstandard. It was implemented from a specification that was proposed for POSIX.1, diff --git a/man2/inotify_init.2 b/man2/inotify_init.2 index 99ae5cdfa..377254370 100644 --- a/man2/inotify_init.2 +++ b/man2/inotify_init.2 @@ -26,7 +26,7 @@ .\" 2006-02-07 mtk, minor changes .\" 2008-10-10 mtk: add description of inotify_init1() .\" -.TH INOTIFY_INIT 2 2008-10-10 "Linux" "Linux Programmer's Manual" +.TH INOTIFY_INIT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME inotify_init, inotify_init1 \- initialize an inotify instance .SH SYNOPSIS @@ -90,9 +90,11 @@ The system limit on the total number of file descriptors has been reached. Insufficient kernel memory is available. .SH VERSIONS .BR inotify_init () -first appeared in Linux 2.6.13. +first appeared in Linux 2.6.1; +lbrary support was added to glibc in version 2.4. .BR inotify_init1 () -was added in Linux 2.6.27. +was added in Linux 2.6.27; +lbrary support was added to glibc in version 2.9. .SH "CONFORMING TO" These system calls are Linux-specific. .SH "SEE ALSO" diff --git a/man2/linkat.2 b/man2/linkat.2 index 0d832e4b5..484342ae7 100644 --- a/man2/linkat.2 +++ b/man2/linkat.2 @@ -24,7 +24,7 @@ .\" .\" FIXME: Linux 2.6.39 added AT_EMPTY_PATH .\" -.TH LINKAT 2 2009-12-13 "Linux" "Linux Programmer's Manual" +.TH LINKAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME linkat \- create a file link relative to directory file descriptors .SH SYNOPSIS @@ -145,7 +145,8 @@ and .I newdirfd .SH VERSIONS .BR linkat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/mkdirat.2 b/man2/mkdirat.2 index 30cd520ea..aa73cca60 100644 --- a/man2/mkdirat.2 +++ b/man2/mkdirat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH MKDIRAT 2 2009-12-13 "Linux" "Linux Programmer's Manual" +.TH MKDIRAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME mkdirat \- create a directory relative to a directory file descriptor .SH SYNOPSIS @@ -112,7 +112,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR mkdirat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/mknodat.2 b/man2/mknodat.2 index cb526e1bb..90cbc67e0 100644 --- a/man2/mknodat.2 +++ b/man2/mknodat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH MKNODAT 2 2010-09-20 "Linux" "Linux Programmer's Manual" +.TH MKNODAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME mknodat \- create a special or ordinary file relative to a directory file descriptor @@ -116,7 +116,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR mknodat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/openat.2 b/man2/openat.2 index 802c00286..a2bccbd48 100644 --- a/man2/openat.2 +++ b/man2/openat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH OPENAT 2 2009-12-13 "Linux" "Linux Programmer's Manual" +.TH OPENAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME openat \- open a file relative to a directory file descriptor .SH SYNOPSIS @@ -113,7 +113,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR openat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. A similar system call exists on Solaris. diff --git a/man2/readlinkat.2 b/man2/readlinkat.2 index 51c29cf20..08a92cc8e 100644 --- a/man2/readlinkat.2 +++ b/man2/readlinkat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH READLINKAT 2 2009-12-13 "Linux" "Linux Programmer's Manual" +.TH READLINKAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME readlinkat \- read value of a symbolic link relative to a directory file descriptor @@ -115,7 +115,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR readlinkat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/renameat.2 b/man2/renameat.2 index 2a5678a1e..7d9e62de1 100644 --- a/man2/renameat.2 +++ b/man2/renameat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH RENAMEAT 2 2009-12-13 "Linux" "Linux Programmer's Manual" +.TH RENAMEAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME renameat \- rename a file relative to directory file descriptors .SH SYNOPSIS @@ -127,7 +127,8 @@ and .I newdirfd .SH VERSIONS .BR renameat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/setns.2 b/man2/setns.2 index 2698bdaf1..6aa01e1a2 100644 --- a/man2/setns.2 +++ b/man2/setns.2 @@ -1,7 +1,7 @@ .\" Copyright (C) 2011, Eric Biederman .\" Licensed under the GPLv2 .\" -.TH SETNS 2 2011-10-04 "Linux" "Linux Programmer's Manual" +.TH SETNS 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME setns \- reassociate thread with a namespace .SH SYNOPSIS @@ -93,7 +93,8 @@ for this operation. .SH VERSIONS The .BR setns () -system call first appeared in Linux in kernel 3.0 +system call first appeared in Linux in kernel 3.0; +library support was added to glibc in version 2.14. .SH CONFORMING TO The .BR setns () diff --git a/man2/splice.2 b/man2/splice.2 index 5ae3554c8..4590e2606 100644 --- a/man2/splice.2 +++ b/man2/splice.2 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH SPLICE 2 2009-09-15 "Linux" "Linux Programmer's Manual" +.TH SPLICE 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME splice \- splice data to/from a pipe .SH SYNOPSIS @@ -165,7 +165,8 @@ was not NULL, but the corresponding file descriptor refers to a pipe. .SH VERSIONS The .BR splice () -system call first appeared in Linux 2.6.17. +system call first appeared in Linux 2.6.17; +library support was added to glibc in version 2.5. .SH "CONFORMING TO" This system call is Linux-specific. .SH NOTES diff --git a/man2/symlinkat.2 b/man2/symlinkat.2 index eabad00ba..ac5981b9a 100644 --- a/man2/symlinkat.2 +++ b/man2/symlinkat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH SYMLINKAT 2 2012-03-25 "Linux" "Linux Programmer's Manual" +.TH SYMLINKAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME symlinkat \- create a symbolic link relative to a directory file descriptor .SH SYNOPSIS @@ -113,7 +113,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR symlinkat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4.. .SH "CONFORMING TO" POSIX.1-2008. .SH NOTES diff --git a/man2/sync.2 b/man2/sync.2 index 614fb1c9a..7747f86bf 100644 --- a/man2/sync.2 +++ b/man2/sync.2 @@ -33,7 +33,7 @@ .\" Modified 2001-10-10 by aeb, following Michael Kerrisk. .\" 2011-09-07, mtk, Added syncfs() documentation, .\" -.TH SYNC 2 2012-02-12 "Linux" "Linux Programmer's Manual" +.TH SYNC 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME sync, syncfs \- commit buffer cache to disk .SH SYNOPSIS @@ -91,7 +91,8 @@ can fail for at least the following reason: is not a valid file descriptor. .SH VERSIONS .BR syncfs () -first appeared in Linux 2.6.39. +first appeared in Linux 2.6.39; +library support was added to glibc in version 2.14. .SH "CONFORMING TO" .BR sync (): SVr4, 4.3BSD, POSIX.1-2001. diff --git a/man2/tee.2 b/man2/tee.2 index 2f13ecc73..a3f412256 100644 --- a/man2/tee.2 +++ b/man2/tee.2 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH TEE 2 2009-09-15 "Linux" "Linux Programmer's Manual" +.TH TEE 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME tee \- duplicating pipe content .SH SYNOPSIS @@ -114,7 +114,8 @@ Out of memory. .SH VERSIONS The .BR tee () -system call first appeared in Linux 2.6.17. +system call first appeared in Linux 2.6.17; +library support was added to glibc in version 2.5. .SH "CONFORMING TO" This system call is Linux-specific. .SH NOTES diff --git a/man2/unlinkat.2 b/man2/unlinkat.2 index f8ee001cf..84f940473 100644 --- a/man2/unlinkat.2 +++ b/man2/unlinkat.2 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH UNLINKAT 2 2012-03-25 "Linux" "Linux Programmer's Manual" +.TH UNLINKAT 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME unlinkat \- remove a directory entry relative to a directory file descriptor .SH SYNOPSIS @@ -150,7 +150,8 @@ is relative and is a file descriptor referring to a file other than a directory. .SH VERSIONS .BR unlinkat () -was added to Linux in kernel 2.6.16. +was added to Linux in kernel 2.6.16; +library support was added to glibc in version 2.4. .SH "CONFORMING TO" POSIX.1-2008. A similar system call exists on Solaris. diff --git a/man2/vmsplice.2 b/man2/vmsplice.2 index f051242a8..45a86c4de 100644 --- a/man2/vmsplice.2 +++ b/man2/vmsplice.2 @@ -23,7 +23,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH VMSPLICE 2 2009-09-15 "Linux" "Linux Programmer's Manual" +.TH VMSPLICE 2 2012-05-04 "Linux" "Linux Programmer's Manual" .SH NAME vmsplice \- splice user pages into a pipe .SH SYNOPSIS @@ -138,7 +138,8 @@ Out of memory. .SH VERSIONS The .BR vmsplice () -system call first appeared in Linux 2.6.17. +system call first appeared in Linux 2.6.17; +library support was added to glibc in version 2.5. .SH "CONFORMING TO" This system call is Linux-specific. .SH NOTES