Commit Graph

4999 Commits

Author SHA1 Message Date
Michael Kerrisk 1e21a40290 eventfd2.2: New link to eventfd.2
The eventfd.2 page has some details on the eventfd2() system call,
which was new in Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:41 +02:00
Michael Kerrisk e64b5482ad eventfd.2: Describe eventfd2() and EFD_NONBLOCK and EFD_CLOEXEC
Linux 2.6.27 added eventfd(), which supports a flags argument
that eventfd() did not provide.  The flags so far implemented
are EFD_NONBLOCK and EFD_CLOEXEC,

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk b25c5b2388 inotify_init.2, pipe.2, timerfd_create.2: Clarify *_NONBLOCK description
Make it clear that the NONBLOCK flag sets an attribute in the new
open file description.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk 9d0f3fcb0d epoll.7: Mention epoll_create1() as part of epoll API
epoll_create1() was added in Linux 2.6.27, and extends the
functionality of epoll_create().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk eb15342064 syscalls.2: Add new 2.6.27 system calls
Add pipe2(), dup3(), epoll_create1(), inotify_init1(),
eventfd2(), signalfd4().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk 9502479bab open.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk 93ee8f96d4 open.2: FIXME: Add a FIXME regarding open flags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk 19c110a619 timerfd_create.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk 3df1b973f9 timerfd_create.2: Document timerfd_create() TFD_CLOEXEC and TFD_NONBLOCK
TFD_CLOEXEC and TFD_NONBLOCK are supported since LInux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk f1d97f6e4d open.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk 46d8eb9cd0 epoll_create1.2: New link to epoll_create.2
epoll_create.2 now includes a description of the new epoll_create1()
system call.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk 24ec631f42 open.2: minor: Fix O_CLOEXEC wording re fcntl() calls
The current wording suggests that only a single fcntl()
operation is needed to set the FD_CLOEXEC flag, when "proper"
usage would be fcntl(F_GETFD) + fcntl(F_SETFD) to get the
flags and then update them.  So change the wording to indicate
that more than one fcntl() operation is required.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk 550f480fd4 epoll_create.2: Say more about unused epoll_create() 'size' arg
Supply a little more explanation about why the 'size' argument
of epoll_create() is nowadays ignored.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk 272fa3cbcf epoll_create.2: Add description of new epoll_create1()
The new epoll_create1() system call appeared in Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:39 +02:00
Michael Kerrisk 43bb5fafb5 inotify.7: Mention inotify_init1() in overview of API
Discuss the new inotify_init1() system call in the overview of
the inotify API.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:38 +02:00
Michael Kerrisk 0a8461f6d3 inotify_init1.2: New link to inotify_init.2
inotify_init.2 now includes a description of the new
inotify_init1() system call.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:38 +02:00
Michael Kerrisk c7d4277973 pipe.2: minor: Explicitly mention FD_CLOEXEC flag
Explicitly name FD_CLOEXEC constant when referring to
"close-on-exec flag".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:18 +02:00
Michael Kerrisk 9009f8fc15 inotify_init.2: tfix: s/O_CLOEXEC/FD_CLOEXEC/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:24:42 +02:00
Michael Kerrisk ef4d5ffd86 inotify_init.2: Add description of inotify_init1()
The inotify_init1() system call was added in Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:24:32 +02:00
Pierre Cazenave 01f59bf3d5 utmp.5: It is just "other" who should not have write perms on utmp
The page was vague before, saying that utmp should not be writable
by any user.  This isn't true: it can be, and typically is, writable
by user and group.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:24:10 +02:00
Michael Kerrisk 897ea72349 utmp.5: wfix
Improve wording referring to include file that defines struct utmp.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:24:06 +02:00
Michael Kerrisk 4cb3ac5f7a pipe2.2: New link to pipe.2
pipe(2) now contains a description of the new pipe2() syscall.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:24:01 +02:00
Michael Kerrisk 14393ac023 pipe.2: Add description of new pipe2() syscall
pipe2() was added in 2.6.27.  Describe the O_NONBLOCK and
O_CLOEXEC flags.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:23:53 +02:00
Michael Kerrisk a3bb543ceb dup.2: Refer to open(2) for why O_CLOEXEC is useful
Refer reader to open(2) for an explanation of why O_CLOEXEC can be useful.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:23:45 +02:00
Michael Kerrisk 4d98e97bbb dup3.2: New link to dup.2
dup.2 now contains the description of the new dup3() syscall.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:23:41 +02:00
Michael Kerrisk 798d8fd850 dup.2: Add description of dup3()
dup3() was added in kernel 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 06:23:37 +02:00
Michael Kerrisk e6cc9f76c0 Changes.old: Minor fix to 3.11 Changelog 2008-10-11 06:23:26 +02:00
Michael Kerrisk 6f52c9d40b getpriority: srcfix: added FIXME 2008-10-09 10:19:08 +02:00
Michael Kerrisk e51413606e Changes.old: spfix 2008-10-07 11:45:36 +02:00
Michael Kerrisk 74ef4939da Changes: wsfix 2008-10-07 11:25:35 +02:00
Michael Kerrisk 0c847271ff Start of man-pages-3.12: updating Changes and Changes.old 2008-10-07 11:24:50 +02:00
Michael Kerrisk 9ae5549831 Start of man-pages-3.12: updating .Announce and .lsm files 2008-10-07 11:24:50 +02:00
Michael Kerrisk 97869dddd7 Start of man-pages-3.12: renaming .Announce and .lsm files 2008-10-07 11:24:50 +02:00
Michael Kerrisk 7afb43e7c4 Ready for 3.11 2008-10-07 10:59:28 +02:00
Michael Kerrisk acddbaea0c Removed trailing white space at end of lines 2008-10-07 10:58:44 +02:00
Michael Kerrisk 85c96ebdae Expanded tabs 2008-10-07 10:58:35 +02:00
Michael Kerrisk 1b0f30aa0d Changes: Minor cleanups 2008-10-07 10:54:13 +02:00
Michael Kerrisk d521e47a5b Changes: update version number in heading line 2008-10-07 09:41:53 +02:00
Michael Kerrisk 7fd1260ab6 Changes: this is the Changelog for 3.11 2008-10-07 09:33:36 +02:00
Michael Kerrisk 5e1edcf261 umount2.2: Change link to point to new umount.2
The umount2() material migrated from mount.2 to umount.2

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 16:57:53 +02:00
Michael Kerrisk 9f6293c4ea tstamp 2008-10-06 16:39:20 +02:00
Michael Kerrisk 7f546896f5 tstamp 2008-10-06 16:26:23 +02:00
Michael Kerrisk 1ca091c669 pause.2: Small rewordings of DESCRIPTION.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 16:25:46 +02:00
Michael Kerrisk 85a2d4588e fallocate.2: Note lack of glibc wrapper; caller must use syscall(2)
Glibc doesn't (and quite probably won't) include a wrapper for this
system call.  Therefore, point out that potential callers will need
to use syscall(2), and rewrite the RETURN VALUE text to show things
as they would be if syscall() is used.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 15:29:45 +02:00
Michael Kerrisk 01b7704fb6 fallocate: Refer reader to posix_fallocate(3) for portable interface
Add a para to start of page that points out that this is the
low-level, Linux-specific API, and point the reader to posix_fallocate(3)
for the portable API.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 15:08:21 +02:00
Michael Kerrisk dd021848ab proc.5: tstamp 2008-10-06 15:07:03 +02:00
Michael Kerrisk c1eea65af0 proc.5: rewrite and simplify description of /proc/mounts
Most of the relevant discussion is now under /proc/PID/mounts;
all that needs to be here is a mention of the pre-2.4.19
system-wide namespace situation, and a reference to the
discussion under /proc/PID/mounts.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 14:23:00 +02:00
Michael Kerrisk 140ebdb93e mount.2: srcfix: remove outdated FIXME.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 14:18:16 +02:00
Michael Kerrisk cea61382b1 proc.5: Add description of /proc/PID/mounts
Largely cribbed from existing /proc/mounts discussion, which is
about to be rewritten.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 14:16:16 +02:00
Michael Kerrisk 0a4d78bbe1 mount.2: Add description of namespace
Describe per-process namespaces, including discussion
of clone() and unshare CLONE_NEWNS, and /proc/PID/mounts.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 14:07:03 +02:00