Commit Graph

18007 Commits

Author SHA1 Message Date
Michael Kerrisk 687d31a42f ftw.3: BUGS: document a probable glibc regression in FTW_SLN case
See https://bugzilla.redhat.com/show_bug.cgi?id=1422736
and http://austingroupbugs.net/view.php?id=1121.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-10 21:52:48 +02:00
Michael Kerrisk cbc091e863 ftw.3: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-10 20:58:35 +02:00
Michael Kerrisk b8f9afd0ad ftw.3: Minor clarification of 'ftwbuf' argument to callback function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-10 20:58:26 +02:00
Michael Kerrisk 94be92bfe7 epoll_wait.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 20:03:54 +02:00
Michael Kerrisk 11f57f4476 epoll_wait.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 20:03:04 +02:00
Michael Kerrisk 75970bd63f getnameinfo.3: wfix
Reported-by: Cameron Wright <wright18@uw.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 18:45:15 +02:00
Michael Kerrisk 7e086953f6 syscalls.2: tfix
Reported-by: 石井大貴 <hiroki.ishii@miraclelinux.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 18:42:22 +02:00
Michael Kerrisk e3fe757264 signal.7: read() from an inotify FD is no longer interrupted by a stop signal
(Change was in Linux 3.8.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-30 06:06:07 +02:00
Michael Kerrisk 8b6e88b278 signal.7: Since Linux 3.8, read(2) on an inotify FD is restartable with SA_RESTART
See https://bugzilla.kernel.org/show_bug.cgi?id=195711

Reported-by: lilydjwg <lilydjwg@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-30 05:47:58 +02:00
Michael Kerrisk 4040b0a506 slabinfo.5: SEE ALSO: add some references to relevant kernel source files
Reported-by: Jorge Nerin <jnerin@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-30 05:47:53 +02:00
Michael Kerrisk 2d5f2098a4 get_mempolicy.2: SYNOPSIS: fix return type of get_mempolicy()
See https://bugzilla.kernel.org/show_bug.cgi?id=97051

Reported-by: Nadav Har'El <nyh@math.technion.ac.il>
Reported-by: Andi Kleen <andi-bz.firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-30 05:05:42 +02:00
Michael Kerrisk fe340cde31 tmpfs.5: SEE ALSO: add memfd_create(2), mmap(2), shm_open(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:38:55 +02:00
Michael Kerrisk b758a50ab8 mmap.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:37:23 +02:00
Michael Kerrisk f1008f5f1d ioctl_userfaultfd.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:35:11 +02:00
Michael Kerrisk 3a9a2ecbe1 shm_open.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:32:26 +02:00
Michael Kerrisk df984681fb pid_namespaces.7: Mention /proc/[pid]/ns/pid_for_children
Mention /proc/[pid]/ns/pid_for_children in discussion of
setns()/unshare().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 21:41:42 +02:00
Michael Kerrisk 7cae1f4a76 pid_namespaces.7: Minor fix to discussion of using setns() to move to a new PID namespace
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 21:38:56 +02:00
Michael Kerrisk 97a1e5b272 namespaces.7: Some tweaks to Kirill Tkhai's text on pid_for_children
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 21:34:39 +02:00
Kirill Tkhai 99e2f75239 namespaces.7: Document the /proc/[pid]/ns/pid_for_children file
Corresponding kernel commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eaa0d190bfe1ed891b814a52712dcd852554cb08

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 21:18:17 +02:00
Michael Kerrisk e710f10c36 sigaltstack.2: Note that specifying SS_ONSTACK in ss.ss_falgs decreases portability
In the Illumos source (which presumably mirrors its Solaris
ancestry), there is this check in the sigaltstack()
implementation:

               if (ss.ss_flags & ~SS_DISABLE)
                        return (set_errno(EINVAL));

And in the FreeBSD source we find similar:

                if ((ss->ss_flags & ~SS_DISABLE) != 0)
                        return (EINVAL);

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 15:22:33 +02:00
Michael Kerrisk 1f5002208f sigaltstack.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 15:21:09 +02:00
Michael Kerrisk bc2fcb73cd sigaltstack.2: ERRORS: update description of EINVAL error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 20:35:57 +02:00
Michael Kerrisk 27009c9956 sigaltstack.2: Note buggy addition of ss.ss_flags==SS_ONSTACK
Note buggy addition of ss.ss_flags==SS_ONSTACK as a synonym
for ss_flags==0. No other implemenation does this, AFAIK.
And it was not needed :-(.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 20:27:53 +02:00
Michael Kerrisk 1614a08551 sigaltstack.2: Some minor reworking of the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:54:07 +02:00
Michael Kerrisk b3e2be839b sigaltstack.2: Specifying 'ss' returns the current settings without changing them
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:38:12 +02:00
Michael Kerrisk 5270d24e4f sigaltstack.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:12:56 +02:00
Michael Kerrisk 6635bc0197 sigaltstack.2: Give 'oss' argument a more meaningful name: 'old_ss'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:06:04 +02:00
Michael Kerrisk eddeadede6 membarrier.2: Add ENOSYS error for 'nohz_full' CPU setting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 14:47:10 +02:00
Michael Kerrisk efaf088ef7 timer_create.2: Document the CONFIG_POSIX_TIMERS option added in Linux 4.10
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 14:26:04 +02:00
Michael Kerrisk cb4975dfbe tcp.7: Document value '2' for tcp_timestamps
Since Linux 4.10, the value '2' is meaningful for tcp_timestamps

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 14:11:07 +02:00
Michael Kerrisk e0a73a311f proc.5: Document that 'iowait' field of /proc/stat is unreliable
Text taken from Chao Fan's kernel commit 9c240d757658a3ae996.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 14:01:33 +02:00
Michael Kerrisk 3d5ea0476d proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 13:57:19 +02:00
Michael Kerrisk 547ee3197d mount.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:59:25 +02:00
Michael Kerrisk 9edbd6867b mount.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:57:58 +02:00
Michael Kerrisk a422236758 mount.2: Minor tweaks to NeilBrown's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:57:29 +02:00
Michael Kerrisk 0e1a971b94 mount.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:55:21 +02:00
NeilBrown c84a877924 mount.2: Revise description of MS_REMOUNT | MS_BIND
MS_REMOUNT|MS_BIND affect all per-mount-point
flag.  MS_RDONLY is only special because it,
uniquely, is both a per-mount-point flag *and* a
per-filesystem flag.

So the sections of per-mount-point flags and
MS_REMOUNT can usefully be clarified.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:53:13 +02:00
Michael Kerrisk 475fea9aeb memcpy.3: wfix
Reported-by: Henry Bent <henry.r.bent@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:47:00 +02:00
Ruben Kerkhof d6a42783c8 tcp.7: Change default value of tcp_frto
The default changed in c96fd3d461fa495400df24be3b3b66f0e0b152f9
(Linux 2.6.24).

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:40:32 +02:00
Ruben Kerkhof a42c0776f2 tcp.7: tfix
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:36:32 +02:00
Michael Kerrisk 991c24c881 epoll_wait.2: Clarify semantics of returned 'data' field
The returned 'data' is the 'data' most recently set via
epoll_ctl().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-20 21:02:00 +02:00
Michael Kerrisk 1b564a4bbc epoll_wait.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-20 20:41:36 +02:00
Michael Kerrisk f9ce70d255 dlsym.3: _GNU_SOURCE is needed to get RTLD_DEFAULT and RTLD_NEXT definitions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-14 12:02:38 +02:00
Michael Kerrisk cec34a4677 ldd.1: 'objdump -p prog | grep NEEDED' doesn't give quite same info as 'ldd'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 20:39:16 +02:00
Michael Kerrisk 3cd6e49403 README: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 20:14:15 +02:00
G. Branden Robinson 836a436804 README: Update generally
* Reflect fact that project ships pages in sections 1-8.

    * Resync documentation of the basic Makefile targets with what they
      actually do at present.  Slighly simplify discussion.

    * Put the man page overlaps into a table.
      + Drop references to overlaps with the old a.out ld.so, long dead.

    * Update reference to Announce file to use current naming convention.
      + Send people looking for copyright information there rather than
        duplicating some of it here.

    * Direct reader to the top-level homepage instead of more deeply to the
      "Contributing" page.

    * Reflow paragraphs to 72 columns.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 20:14:09 +02:00
Michael Kerrisk e01dc26ae7 ld.so.8: tfix, wfix
Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:56:43 +02:00
Michael Kerrisk d74d5bd369 ld.so.8: tfix
Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:29:50 +02:00
Jakub Wilk f4279be583 ld.so.8: tfix
Removed duplicated words.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:13:29 +02:00
Jakub Wilk 0fdca71834 sched_setaffinity.2: tfix
Remove duplicated word.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:13:18 +02:00