Commit Graph

17855 Commits

Author SHA1 Message Date
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
Michael Kerrisk 8b894afd0d Start of man-pages-4.12: updating Changes and Changes.old 2017-05-03 19:45:57 +02:00
Michael Kerrisk bdf756a2f6 Start of man-pages-4.12: updating .Announce and .lsm files 2017-05-03 19:45:57 +02:00
Michael Kerrisk f2b42edcdd Start of man-pages-4.12: renaming .Announce and .lsm files 2017-05-03 19:45:57 +02:00
Michael Kerrisk de25808196 Ready for 4.11 2017-05-03 19:29:07 +02:00
Michael Kerrisk 99cf16816c Removed trailing white space at end of lines 2017-05-03 19:28:59 +02:00
Michael Kerrisk 734882f4c4 _exit.2, alarm.2, chmod.2, clone.2, epoll_ctl.2, fcntl.2, fork.2, fsync.2, getdents.2, getpid.2, ioctl.2, ioctl_console.2, ioctl_list.2, ioctl_ns.2, ioctl_tty.2, ioctl_userfaultfd.2, kexec_load.2, lseek.2, mincore.2, mkdir.2, mknod.2, mmap.2, open.2, poll.2, posix_fadvise.2, prctl.2, rename.2, sched_setaffinity.2, select.2, select_tut.2, sigaction.2, signalfd.2, sigprocmask.2, sigwaitinfo.2, socketcall.2, stat.2, statx.2, syscalls.2, truncate.2, umask.2, unshare.2, userfaultfd.2, utime.2, utimensat.2, wait.2, bzero.3, cfree.3, exit.3, getentropy.3, grantpt.3, insque.3, shm_open.3, syslog.3, termios.3, ttyname.3, wcsdup.3, console_codes.4, tty.4, vcs.4, elf.5, nsswitch.conf.5, proc.5, slabinfo.5, tmpfs.5, bootparam.7, environ.7, hostname.7, inotify.7, mailaddr.7, man-pages.7, namespaces.7, pid_namespaces.7, pthreads.7, pty.7, sem_overview.7, signal.7, socket.7, tcp.7, termio.7, user_namespaces.7, xattr.7, ld.so.8, zdump.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 19:27:48 +02:00
Michael Kerrisk 777b5494e0 Changes: Ready for 4.11
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 19:20:50 +02:00
Stephan Bergmann a2b1485b5f user_namespaces.7: Fixes to example
While toying around with the userns_child_exec example program on the
user_namespaces(7) man page, I noticed two things:

* In the EXAMPLE section, we need to mount the new /proc before
  looking at /proc/$$/status, otherwise the latter will print
  information about the outer namespace's PID 1 (i.e., the real
  init).  So the two paragraphs need to be swapped.

* In the program source, make sure to close pipe_fd[0] in the
  child before exec'ing.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 19:20:50 +02:00
Michael Kerrisk a110286b58 ld.so.8: Mention ldconfig(8) in discussion of /etc/ld.so.cache
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 07:11:36 +02:00
Michael Kerrisk 95b6bd72bd ld.so.8: Expand description of /etc/ld.so.preload
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 07:09:56 +02:00
Michael Kerrisk 8b2bb70556 ld.so.8: Mention quoting when using "Rpath tokens" in LD_AUDIT and LD_PRELOAD
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 07:00:56 +02:00