Commit Graph

4989 Commits

Author SHA1 Message Date
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
Michael Kerrisk 852ae8c875 mount.2: List a few other file systems that we may see in /proc/filesystems
Add some modern file systems to that list (xfs, jfs, ext3, reiserfs).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 13:19:51 +02:00
Michael Kerrisk a3b00c37dc mount.2: wfix: remove redundant "Linux Notes" subheading 2008-10-06 13:18:33 +02:00
Michael Kerrisk 5614f73308 mount.2, umount.2: split umoun*() out into a separate page
The length of this page means that it's becoming difficult to parse
which info is specific to mount() versus umount()/umount2(), so split
the umount material out into its own page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 13:09:26 +02:00
Michael Kerrisk 9b9b4a8137 spfix 2008-10-06 11:49:27 +02:00
Michael Kerrisk 2411effea2 signal.7: improve description in NAME section
Reported-by: Gergely Soos <sogerc1@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 10:12:00 +02:00
Pavel Heimlich 783a623352 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 10:02:53 +02:00
Michael Kerrisk eeccef1df0 signal.7: Add mention of sigaltstack(2).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:46:09 +02:00
Michael Kerrisk e66d51d1ba signal.7: Describe syscalls that synchronously wait for a signal,
(sigwait(), sigwaitinfo(), sigtimedwait(), signalfd)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:41:29 +02:00
Michael Kerrisk 22fe4981c2 signal.7: Give overview of syscalls that block until a signal is caught
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:30:24 +02:00
Michael Kerrisk 4704a09b80 signal.7: ffix 2008-10-05 07:29:00 +02:00