Commit Graph

18066 Commits

Author SHA1 Message Date
Michael Kerrisk 415573e691 alarm.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 08:56:39 +02:00
Michael Kerrisk 8c1cb77bee adjtimex.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 08:55:35 +02:00
Michael Kerrisk 46661ad999 add_key.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 08:37:56 +02:00
Michael Kerrisk 399d0bade2 acct.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 08:34:19 +02:00
Michael Kerrisk 4ba0bbdef5 access.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 08:29:00 +02:00
Michael Kerrisk c63f06b5ff accept.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 08:26:42 +02:00
Michael Kerrisk 5355ff8241 open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 14:14:13 +02:00
Michael Kerrisk aa80442a5d readdir_r.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 13:35:45 +02:00
Michael Kerrisk 3d113fbfd7 signal.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 09:18:28 +02:00
Michael Kerrisk cc560d7743 signalfd.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 09:16:00 +02:00
Michael Kerrisk 6db9f2db52 sigsetops.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 09:12:50 +02:00
Michael Kerrisk 7736b88651 setjmp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 09:11:00 +02:00
Michael Kerrisk 0c545d6712 setjmp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 09:09:13 +02:00
Michael Kerrisk a539c872e1 readlink.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 00:08:50 +02:00
Michael Kerrisk f06a3f30fa readlink.2: Fix an off-by-one error in example code
An off-by-one error could trigger a buffer overflow in
some cases in the old code.
See https://bugzilla.kernel.org/show_bug.cgi?id=196483

Also some other cosmetic changes to the code (more comments,
better variable names).

Reported-by: Jason Noakes <jjnoakes@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-14 00:03:37 +02:00
Michael Kerrisk 928cf4522f chown.2: Update kernel version in note on support for grpid/nogrpid mount options
There has been no change since Linux 2.6.25, so update the
kernel version to 4.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-13 23:03:41 +02:00
Michael Kerrisk 009a7c83cc chown.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-13 23:00:20 +02:00
Michael Kerrisk 778ac6277e fcntl.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-13 22:56:15 +02:00
Michael Kerrisk a12f0259f8 pipe.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-13 22:35:43 +02:00
Michael Kerrisk ade303d700 capabilities.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 23:25:45 +02:00
Michael Kerrisk 7c4dfcac5a ioctl_userfaultfd.2: wfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 23:02:06 +02:00
Michael Kerrisk dcc5bd7fbd syscall.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:58:08 +02:00
Michael Kerrisk b791f86135 syscall.2: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:56:25 +02:00
Michael Kerrisk 0e8dcc8d96 ascii.7: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:54:41 +02:00
Michael Kerrisk 099f401be2 mouse.4: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:52:44 +02:00
Michael Kerrisk 77eaf0524b namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:45:48 +02:00
Michael Kerrisk 6e2ef46bb8 namespaces.7: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:45:01 +02:00
Michael Kerrisk 2d444feb01 random.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:43:42 +02:00
Michael Kerrisk 11bda44143 random.4: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:42:34 +02:00
Michael Kerrisk 9647e2d929 sock_diag.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:41:59 +02:00
Michael Kerrisk fc62ca3215 sock_diag.7: srcfix: remove excess .RE tags
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:36:20 +02:00
Michael Kerrisk 4fcb124536 sock_diag.7: srcfix: remove unneeded .RS/.RE tags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:32:56 +02:00
Michael Kerrisk f47758ba0a strverscmp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:29:51 +02:00
Michael Kerrisk 172070f8dc strverscmp.3: srcfix: remove excess .in tag
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:27:59 +02:00
Michael Kerrisk 192670a1a9 capabilities.7: srcfix: remove excess .RE tag
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:23:55 +02:00
NeilBrown 97a45d02e6 open.2: Improve O_PATH documentation
- fstatfs is now permitted.
- ioctl isn't, and is worth listing explicitly
- O_PATH allows an automount point to be opened with
  triggering the mount.

All tested

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:11:18 +02:00
Michael Kerrisk 2f2ab7445f umount.2: Minor tweaks to NeilBrown's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:06:32 +02:00
Michael Kerrisk 76218efa25 umount.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:04:19 +02:00
NeilBrown 23779c0533 umount.2: Restore mention of data loss with MNT_FORCE
Recent patch to description of MNT_FORCE incorrectly
dropped the mention of possible data loss.  Restore it.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:00:49 +02:00
NeilBrown 7045e43809 umount.2: Revise MNT_FORCE description
MNT_FORCE does not allow a busy filesystem to be unmounted.  Only
MNT_DETACH allows that.  MNT_FORCE only tries to abort pending
transactions, in the hope that might help umount not to block,

Also, other filesystems than NFS support MNT_FORCE.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:00:37 +02:00
Michael Kerrisk 3c0e88e400 tzfile.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Michael Kerrisk 2061865fb4 tzfile.5: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Paul Eggert 72942d65ad tzfile.5: Sync from tzdb upstream
This makes tzfile.5 a copy of the tzdb version, except that the
tzdb version's first line is replaced by man-pages boilerplate.
The new version documents version 3 format, among other things.
Also, it removes the "Summary of the timezone information file
format" section, which should no longer be needed due to
improvements in the the part of the man page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Marko Myllynen a581f7593b locale.5: Refer to existing locales for encoding details
Mike Fabian and Rafał Luzynski were recently named as glibc
localedata maintainers [1] and after that there's been active
development on this front, including discussion whether it would
be ok to use ASCII or some other encoding as values for actual
locate data.

Since I don't think it would make sense to try to have different
explanation for each glibc version on the locale(5) man page, I'm
proposing that we apply the below patch so that we refer to
existing locale definition files in general and not spell out the
exact format or any certain locale as a definitive guideline.

If the situation changes in the future or new a new convention
meant to last forever is created then perhaps Mike and Rafał can
provide an update then as needed.

1) https://sourceware.org/ml/libc-alpha/2017-07/msg00477.html
2) https://sourceware.org/ml/libc-alpha/2017-07/msg00807.html

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Elliott Hughes 0f86e5b1be set_tid_address.2: Note that there's no glibc wrapper for set_tid_address()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Michael Kerrisk edc2a02212 cgroups.7: SEE ALSO: systemd-cgls(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-07 12:53:21 +02:00
Michael Kerrisk a568844159 select_tut.2: Clarify an ambiguity with respect to select() and EAGAIN
See https://bugzilla.kernel.org/show_bug.cgi?id=196345

Reported-by: Sergey Z. <zhurxx@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-22 09:44:17 +02:00
Alex Henrie 377ec1fda7 exp2.3: Remove C89 designation
[mtk: Confirmed by consulting C90 draft standard]

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-22 09:23:16 +02:00
Douglas Caetano dos Santos 8f66cfd74a bpf.2: ffix
'\' must be escaped.

Signed-off-by: Douglas Caetano dos Santos <douglascs@taghos.com.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-22 09:19:54 +02:00
Jakub Wilk 49145a385b Changes.old: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-22 09:18:57 +02:00