Commit Graph

5039 Commits

Author SHA1 Message Date
Michael Kerrisk fa802e7b90 proc.5: Document /proc/sys/kernel/threads-max
Defines the system-wide limit on the number of threads (tasks).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:11 -05:00
Michael Kerrisk 4697f7a7ae signal.7: ffix 2008-10-29 14:54:10 -05:00
Michael Kerrisk 4f6d71a1fc signal.7: Timeouts make socket interfaces non-restartable
If setsockopt() is used to set a timeout on a socket(),
then the various socket interfaces are not automatically
restarted, even if SA_RESTART is specified when
establishing the signal handler.  Analogous behavior occurs
for the "stop signals" case.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Didier <did447@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk 132249c496 tty_ioctl.4: wfix: s/tty/terminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk bf70773447 tty_ioctl.4: wfix 2008-10-29 14:54:10 -05:00
Michael Kerrisk 922a35c0dc tty_ioctl.4: wfix: s/pty/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk b5fa38a31f tty_ioctl.4: Explain capability requirements for TIOCCONS
Explain capability requirements for TIOCCONS, and describe
changes in 2.6.10 relating to capabilities.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk c0b7505909 tty_ioctl.4: Explain capability requirements for various ioctls
For TIOCSLCKTRMIOS, TIOCSCTTY, TIOCEXCL, explain the exact
capability that is required (the text formerly just said "root"
in each case).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:09 -05:00
Michael Kerrisk 4961e71d7f tty_ioctl.4: ffix 2008-10-29 14:54:09 -05:00
Michael Kerrisk e5f53fe5ad console_ioctl.4: srcfix: updated FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk 3dbca875de console_ioctl.4: srcfix: updated FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk e0d8018d1d console_ioctl.4: srcfix: updated FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk 915464d8d1 console_ioctl.4: srcfix: added FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk 273f668082 getaddrinfo.3: srcfix: add FIXME 2008-10-29 14:54:04 -05:00
Michael Kerrisk a89813268d console_ioctl.4: ffix 2008-10-16 12:50:27 +02:00
Michael Kerrisk 1f174cb209 tty_ioctl.4: spfix 2008-10-16 12:15:38 +02:00
Michael Kerrisk 97004b99bf fopen.3: minor: Add pointer to glibc 'mode' extensions
Add a sentence in DESCRIPTION pointing reader to NOTES for
discussion of glibc extensions for 'mode'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 08:08:50 +02:00
Michael Kerrisk 82b96f0198 fopen.3: srcfix: remove unneeded FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 08:01:20 +02:00
Michael Kerrisk 2f81a9f31c popen.3: Change one-line description in NAME
s%process I/O%pipe stream to or from a process%

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:57:36 +02:00
Michael Kerrisk 67cf694c64 popen.3: wfix: tweak just added text for 'e' flag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:25 +02:00
Michael Kerrisk e18599c093 popen.3: Document 'e' (close-on-exec) flag
glibc 2.9 implements the 'e' flag in 'type', which sets the
close-on-exec flag on the underlying file descriptor.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:23 +02:00
Michael Kerrisk 28ddfa90ac popen.3: wfix: rework sentence describing 'type' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:23 +02:00
Michael Kerrisk e008cdda60 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk 16ee3d5694 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk 363e70d263 fmemopen.3: Document binary mode (mode 'b')
Glibc 2.9 adds support to fmemopen() for binary mode opens.
Binary mode is specified by inclusion of the letter 'b' in
the 'mode' argument.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:52:59 +02:00
Michael Kerrisk 1ee674a478 socket.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 08:18:36 +02:00
Michael Kerrisk 0cc9687dad socketpair.2: Refer to socket(2) for SOCK_CLOEXEC and SOCK_NONBLOCK
Refer the reader to socket(2) for a description of the SOCK_CLOEXEC
and SOCK_NONBLOCK flags, which are supported by socketpair() since
Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:43 +02:00
Michael Kerrisk af14d9f842 socket.2: Document SOCK_NONBLOCK and SOCK_CLOEXEC flags
These flags, specified in the 'type' argument, are supported
since Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:43 +02:00
Michael Kerrisk 51d61866ba inotify_init.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk 9c9cccf799 epoll_create.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk 1fadf79b1f signalfd.2: Add signalfd4() details to CONFORMING TO
signalfd4() is also Linux-specific.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk 8c6e516d64 pipe.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk e03c5b2c17 dup.2: wfix: remove some crufty text from recent changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk ef7db4f5b3 inotify_init.2, pipe.2, timerfd_create.2: tfix
s/fcntl ()/fcntl (2)/ in xref

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00
Michael Kerrisk 26a260f4f2 signalfd4.2: New link to signalfd.2
signalfd.2 now includes text describing signalfd4() system call,
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 acf44fc334 eventfd.2: Remove crufty text relating to flags argument
Remove sentence saying that glibc adds a flags argument to the syscall;
that was only relevant for the older eventfd() system call.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:41 +02:00
Michael Kerrisk c39a07cee9 signalfd.2: Remove crufty text relating to flags argument
Remove sentence saying that glibc adds a flags argument to the syscall;
that was only relevant for the older signalfd() system call.

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

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:41 +02:00
Michael Kerrisk 2aa3fb2d42 eventfd.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:41 +02:00
Michael Kerrisk c22cb2042c eventfd.2: srcfix: Add "changelog" comments describing recent changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:41 +02:00
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