Commit Graph

18235 Commits

Author SHA1 Message Date
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
Jakub Wilk 8b11697ad4 Changes.old: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:13:12 +02:00
Michael Kerrisk e28421e9ba ld.so.8: Minor rework of LD_DEBUG description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:04:54 +02:00
Michael Kerrisk ac59a601d6 ld.so.8: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 12:58:31 +02:00
Michael Kerrisk 1f6bc72fde ld.so.8: Minor fix to description of LD_DEBUG
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 12:56:36 +02:00
Michael Kerrisk 533358823c ld.so.8: Minor fix to description of 'LD_DEBUG=all'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 12:54:43 +02:00
Michael Kerrisk fe689ea47c ld.so.8: Rewrite LD_DEBUG_OUTPUT description and note that .PID is appended
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 11:33:10 +02:00
Michael Kerrisk 797981eb03 dl_iterate_phdr.3: dl_iterate_phdr() shows the order in which objects were loaded
dl_iterate_phdr() tells us not just which objects are
loaded, but also the order in which they are loaded
(the "link-map order"). Since the order is relevant for
understanding symbol resolution, give the reader this clue.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 11:33:00 +02:00
Michael Kerrisk 91a2771d06 dl_iterate_phdr.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-12 13:43:56 +02:00
Michael Kerrisk 6736a8024c dl_iterate_phdr.3: Expand the code example, and show sample output
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-12 13:43:56 +02:00
Michael Kerrisk c4054f820e dl_iterate_phdr.3: List values for the 'p_type' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-12 13:26:22 +02:00
Michael Kerrisk 83baec65e3 elf.5: SEE ALSO: add dl_iterate_phdr(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-12 13:04:22 +02:00
Michael Kerrisk ae5686f6b5 ld.so.8: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-10 09:54:20 +02:00
Michael Kerrisk 122f530fe1 ld.so.8: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-10 09:52:17 +02:00
Michael Kerrisk 6eca8decc8 ld.so.8: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-10 09:51:49 +02:00
Douglas Caetano dos Santos 1187f16f2d if_nametoindex.3: Add ENODEV error for if_nametoindex()
Checked against glibc and kernel code: when given name isn't
a valid interface, kernel returns ENODEV and glibc just
forwards it.

Signed-off-by: Douglas Caetano dos Santos <douglascs@taghos.com.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 21:19:06 +02:00
Douglas Caetano dos Santos d0cdb0ef0a if_nameindex.3: tfix
Signed-off-by: Douglas Caetano dos Santos <douglascs@taghos.com.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 21:18:18 +02:00
G. Branden Robinson e043552f40 man.7: Undocument "URL" macro in man(7)
According to my greps, the .URL macro is nowhere used in the
man-pages project.  .UR and .UE, from the groff man macros,
are used 73 times.

Please find attached a patch to un-document .URL in favor
of .UR and .UE.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 16:21:29 +02:00
Michael Kerrisk 61506ebe6b rpc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 16:08:03 +02:00
Michael Kerrisk abbd528af9 rpc.5: ffix
Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 16:08:03 +02:00
G. Branden Robinson b54a3883c3 rpc.5: ffix
* Remove nop argument from HP macros.
* Remove nop DT macro.
* Replace LP macro with more commonly-used PP macro.

The above do not change the output whatsoever (confirmed with -Z).

* Use .I macro instead of font escapes, obtaining italic correction.

To see the above distinction, use -Tps, -Tpdf, or similar before and
after the change.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 16:07:43 +02:00
Michael Kerrisk 3337a4a3e0 ld.so.8: Greatly expand the explanation of LD_DYNAMIC_WEAK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-09 16:07:39 +02:00
Michael Kerrisk daad3ee975 ld.so.8: Note version where secure-execution started ignoring LD_USE_LOAD_BIAS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 16:14:22 +02:00