Commit Graph

17930 Commits

Author SHA1 Message Date
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
Michael Kerrisk 0708cba1d9 tcp.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 06:45:12 +02:00
Chema Gonzalez a6302a4f8b tcp.7: tcp_abc was removed in 3.9
Signed-off-by: Chema Gonzalez <chema@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 06:44:37 +02:00
Michael Kerrisk 99194a09af ld.so.8: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 05:41:44 +02:00
Michael Kerrisk 376c2e1c0f ld.so.8: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 05:37:10 +02:00
Michael Kerrisk 94a8ebdab2 userfaultfd.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:27:07 +02:00
Jakub Wilk ba7fd6d583 ulimit.3: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:17:23 +02:00
Jakub Wilk b5fe851595 socket.2, ip.7: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:16:46 +02:00
Michael Kerrisk f0ea168c3e ioctl_console.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:15:45 +02:00
Jakub Wilk c27131bcec ioctl_console.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:14:42 +02:00
Michael Kerrisk 09e223c8de elf.5: SEE ALSO: add elfedit(1), nm(1), size(1), strings(1), and strip(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 07:45:59 +02:00
Michael Kerrisk 106b8b3c13 ldconfig.8: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 16:42:40 +02:00
Michael Kerrisk 6a7e9c10cd sem_overview.7: SEE ALSO: add shm_overview(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 16:00:31 +02:00
Michael Kerrisk 522ab2ff6f userfaultfd.2: Add a few details on UFFD_EVENT_FORK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 14:14:37 +02:00
Michael Kerrisk 265225c1e2 userfaultfd.2: Minor tweaks to Mike Rapoport's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:32:56 +02:00
Michael Kerrisk 5191c68806 ioctl_userfaultfd.2: Minor tweaks to Mike Rapoport's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:24:10 +02:00
Mike Rapoport be9021b1bb userfaultfd.2: Update VERSIONS section with 4.11 changes
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:10:10 +02:00
Mike Rapoport 20050169e1 userfaultfd.2: Add note about asynchronous event delivery
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:08:43 +02:00
Mike Rapoport 53004b3ba0 ioctl_userfaultfd.2: Add BUGS section
The features handshake is not quite convenient.
Elaborate about it in the BUGS section.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:05:26 +02:00
Mike Rapoport 337405ef74 ioctl_userfaultfd.2: UFFDIO_COPY: add ENOENT and ENOSPC description
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:03:58 +02:00
Mike Rapoport 41e9e6485a ioctl_userfaultfd.2: Update description of shared memory areas
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:03:05 +02:00
Michael Kerrisk 981ffc70eb syscalls.2: Update kernel version number
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 12:23:46 +02:00
Michael Kerrisk 2156a7330b syscalls.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 12:23:28 +02:00
Michael Kerrisk 7d80ac371a signal.7: SEE ALSO: add sigreturn(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 11:00:32 +02:00
Jakub Wilk b132d423a1 inode.7: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 10:05:25 +02:00
Jakub Wilk 9d224152f1 slabinfo.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 10:04:59 +02:00