Commit Graph

15316 Commits

Author SHA1 Message Date
Michael Kerrisk 9c67b25027 environ.7: Note that child of fork(2) inherits copy of parent's environment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 12:21:58 +01:00
Michael Kerrisk f80ea17946 environ.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 12:19:41 +01:00
Michael Kerrisk 332aaf19ff setjmp.3: wfix
Reported-by: Stephan Bergmann <sbergman@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 12:08:38 +01:00
Michael Kerrisk 2705ab400a environ.7: SEE ALSO: add pam_env(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 11:50:05 +01:00
Michael Kerrisk 47c3854b91 utimensat.2: ffix + wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 11:17:51 +01:00
Michael Kerrisk 35acdc5d41 sigprocmask.2: Explicitly refer the reader to sigsetops(3)
This man page did not make it obvious which functions
should be used for manipulating signals sets, nor where
those functions were documented.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-17 10:53:17 +01:00
Michael Kerrisk 082efcce8b signal.7: Note the interactions of longjmp() and non-async-signal-safe functions
See http://austingroupbugs.net/view.php?id=516#c1195.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk f1d6ee6211 setjmp.3: Note the interactions of longjmp() and non-async-signal-safe functions
POSIX.1-2008 TC2 adds explicit text on this point.
See http://austingroupbugs.net/view.php?id=516#c1195

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk b76f24dd41 signal.7: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk b51ef507b8 longjmp.3: Replace page with link to setjmp(3), which now incorporates longjmp()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk a26c590b88 siglongjmp.3: Rewire link to point to setjmp(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:36 +01:00
Michael Kerrisk efc626f8f5 setjmp.3: Rewrite and merge longjmp()/siglongjmp() discussion into this page
The discussion of nonlocal gotos is much easier to read if
setjmp() and longjmp() are discussed in the same page. While
we're at it, rework almost the entire text and add several
more details.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:30 +01:00
Michael Kerrisk 84d75c06d5 longjmp.3: Refer the reader to NOTES in setjmp(3)
There the reader will see the just expanded discussion of
why nonlocal gotos can make code harder to maintain.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:30 +01:00
Michael Kerrisk 405180660c setjmp.3: Explain why nonlocal gotos make code harder to maintain
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 15:48:26 +01:00
Michael Kerrisk 57f79036a4 setjmp.3: Reword warning on longjmp() to function that has already returned
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 12:55:08 +01:00
Michael Kerrisk fa03b85f87 longjmp.3: Remove redundant warning
The warning that nonlocal gotos make a program hard to maintain
is also given in setjmp(3). No need to repeat it here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-16 12:50:19 +01:00
Michael Kerrisk 7a727dc4ab termios.3: Tweaks to Tobias's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 16:24:50 +01:00
Dr. Tobias Quathamer 5ad8a9d73b termios.3: Document line length in canonical mode
See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/n_tty.c#n1673
See https://bugs.debian.org/797479

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 16:18:13 +01:00
Dr. Tobias Quathamer 45a2419dac queue.3: Remove double CONFORMING TO section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 16:16:59 +01:00
Michael Kerrisk 1b398e8099 mount.2: SEE ALSO: add findmnt(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk c1a68b5e17 tty_ioctl.4: SEE ALSO: add ldattach(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk 62cf43bd3d utmp.5: SEE ALSO: add lslogins(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk 0d7ae27d85 fcntl.2, flock.2: SEE ALSO: add lslocks(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk c9eeaf2a94 svipc.7: SEE ALSO: add lsipc(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk 3bc466d052 utmp.5: Minor fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk 63f775e8f5 namespaces.7: SEE ALSO: add lsns(1)
lsns(1) was recently added in util-linux, probably to appear
in next release (2.28?).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:31:59 +01:00
Dr. Tobias Quathamer 4cf9fe6b53 sigpause.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 13:34:44 +01:00
Michael Kerrisk f4a44ac634 stat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 13:34:44 +01:00
Michael Kerrisk 698ac0e263 chmod.2: Clarify terminology (file mode versus file permission bits)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 13:34:44 +01:00
Michael Kerrisk 1bab84a885 open.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-13 17:55:10 +01:00
Michael Kerrisk b3eb228083 gettid.2: tfix
Reported-by: Ivan Shapovalov <intelfx@intelfx.name>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-13 15:58:04 +01:00
Michael Kerrisk 0f166ce187 bpf.2: Document close-on-exec semantics
The close-on-exec file descriptor flag is automatically enabled
for FDs returned by bpf().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-11 14:50:16 +01:00
Christoph Hellwig cf8bac925f sync.2: Clarify description and document the Linux data integrity guarantees
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-11 13:34:20 +01:00
Dr. Tobias Quathamer 66e80e3157 unicode.7: Document private use areas
See https://bugs.debian.org/285444

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-11 13:23:10 +01:00
Dr. Tobias Quathamer 45e93b31a2 st4: Remove spurious copyright section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-11 13:18:57 +01:00
Michael Kerrisk 88cc4cb6cc perror.3: Suggest use of strerror(3) in place of deprecated 'sys_errlist'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 16:23:13 +01:00
Michael Kerrisk f1b7532ba7 isgreater.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 16:11:58 +01:00
Michael Kerrisk 0509285e2c stat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 16:11:58 +01:00
Michael Kerrisk 368bbfa929 brk.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 16:11:58 +01:00
Michael Kerrisk d432f10d89 madvise.2: Tweaks and improvements to Minchan's text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 08:24:15 +01:00
Michael Kerrisk 9ec1369898 madvise.2: Reorder MAD_FREE entry
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 08:24:15 +01:00
Minchan Kim cbb9ef3061 madvise.2: Document MADV_FREE
Document the MADV_FREE flag added to madvise() in Linux 4.5.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-08 08:24:15 +01:00
Michael Kerrisk d38a09fca6 fanotify_init.2: Note kernel version that allowed O_CLOEXEC for event_f_flags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-06 19:31:55 +01:00
Michael Kerrisk 785008cd99 mq_overview.7: Note that the close-on-exec flag is automatically set on MQ descriptors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-06 19:31:55 +01:00
Michael Kerrisk 6b1e34f2a4 madvise.2: Put MADV_SOFT_OFFLINE into kernel version order
Exceptionally, the lists on this page are in kernel version order
rather than alphabetical order. But one entry was out of order.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-06 12:27:25 +01:00
Michael Kerrisk 11c25e24c8 madvise.2: Clarify MADV_HWPOISON wording to say that it applies to a page range
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-06 12:24:54 +01:00
Michael Kerrisk 20cc8fa829 select.2: Document spurious EAGAIN error that can occur on other systems
Light reworking of text proposed by Josh Triplett.

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-04 12:34:06 +01:00
Michael Kerrisk f14637570d poll.2: Document spurious EAGAIN error that can occur on other systems
Light reworking of text proposed by Josh Triplett.

Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-04 12:34:06 +01:00
Michael Kerrisk f5d65b55d0 filesystems.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 17:53:11 +01:00
Yuri Kozlov 3fb90c2527 filesystems.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 17:52:29 +01:00