Commit Graph

18066 Commits

Author SHA1 Message Date
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
Michael Kerrisk ee955285f0 ld.so.8: Correct glibc version that ignores LD_SHOW_AUXV in secure-execution mode
Ignored since 2.3.4 (not 2.3.5).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 16:14:22 +02:00
Michael Kerrisk 24dc407aed ld.so.8: Since glibc 2.2.5, LD_PROFILE is ignored in secure-execution mode
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 16:14:22 +02:00
Michael Kerrisk 578616fa6e ld.so.8: Make notes on secure-execute mode more prominent
Place each note on secure-execution mode in a separate
paragraph, to make it more obvious.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 14:41:23 +02:00
Michael Kerrisk 8dd4941bce ld.so.8: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 11:10:37 +02:00
Heinrich Schuchardt e5b5658c6e strtol.3: Mention 0X prefix
The prefix 0x may be capitalized as 0X.

See ISO/IEC 9899:1999.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 11:00:20 +02:00
DJ Delorie fc69ee442c nsswitch.conf.5: Clarify group merge rules
This minor patch clarifies when merging is not done, and how duplicate
entries are merged.

Found while extending glibc's NSS test suite, discussed with glibc
team and Stephen Gallagher.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 10:59:28 +02:00
Michael Kerrisk 8fe4dd0885 ld.so.8: Note that libraries in standard directories are not normally set-UID
In secure mode, LD_PRELOAD loads only libraries from standard
directories that are marked set-UID. Note that it is unusual for
a library to be marked in this way.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 10:48:19 +02:00
Michael Kerrisk 7c577be56d ld.so.8: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 10:48:10 +02:00
Michael Kerrisk be1cf73925 ld.so.8: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 10:45:44 +02:00
Michael Kerrisk e72943a74b capabilities.7: SEE ALSO: add filecap(8), netcap(8), pscap(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-08 10:41:23 +02:00
Michael Kerrisk bcaf6dc0e0 sched_setaffinity.2: Mention cpuset cgroups as a cause of EINVAL error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-07 21:05:04 +02:00
Michael Kerrisk b9472299a6 chown.2: When file owner or group is changed, file capabilities are cleared
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-06 13:47:27 +02:00
Michael Kerrisk fbfbde8feb chown.2: Changes to file owner by root also clear set-UID and set-GID bits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-06 13:42:46 +02:00
Michael Kerrisk 16ee728520 setns.2: Minor clarification of details for PID namespaces
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-06 13:29:09 +02:00
Michael Kerrisk cef5dc279d ld.so.8: SEE ALSO: add elf(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-05 05:38:39 +02:00
Michael Kerrisk ab8aa2e422 capabilities.7: Clarify the effect on process capabilities when UID 0 does execve(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-04 19:38:50 +02:00
Michael Kerrisk e3ed67ed2e capabilities.7: Note effect on capabilities when a process with UID != 0 does execve(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-04 19:15:19 +02:00
Michael Kerrisk ea121e3e87 capabilities.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-04 18:08:34 +02:00
Michael Kerrisk 12444d3dd0 Changes.old: Fixes to 4.11 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 22:19:53 +02:00