Commit Graph

3140 Commits

Author SHA1 Message Date
Michael Kerrisk ade303d700 capabilities.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 23:25:45 +02:00
Michael Kerrisk 0e8dcc8d96 ascii.7: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:54:41 +02:00
Michael Kerrisk 77eaf0524b namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:45:48 +02:00
Michael Kerrisk 6e2ef46bb8 namespaces.7: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:45:01 +02:00
Michael Kerrisk 9647e2d929 sock_diag.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:41:59 +02:00
Michael Kerrisk fc62ca3215 sock_diag.7: srcfix: remove excess .RE tags
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:36:20 +02:00
Michael Kerrisk 4fcb124536 sock_diag.7: srcfix: remove unneeded .RS/.RE tags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:32:56 +02:00
Michael Kerrisk 192670a1a9 capabilities.7: srcfix: remove excess .RE tag
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 22:23:55 +02:00
Michael Kerrisk edc2a02212 cgroups.7: SEE ALSO: systemd-cgls(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-07 12:53:21 +02:00
Michael Kerrisk a7e0d99174 signal.7: Since glibc 2.26, SIGUNUSED is no longer defined
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-21 06:07:11 +02:00
Michael Kerrisk c199053b7a capabilities.7: Note that a set-UID-root program may have an empty file capabilite set
Reported-by: Dennis Knorr <dennis.knorr@muenchen.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-18 22:46:20 +02:00
Michael Kerrisk 0603dda3f2 capabilities.7: Note semantics for a program that is set-UID-root and has capabilities
Note semantics for a program that is both set-user-ID-root and has
file capabilities.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-18 22:41:37 +02:00
Michael Kerrisk f55a6d598d Changes, ldd.1, chown.2, epoll_wait.2, get_mempolicy.2, ioctl_getfsmap.2, madvise.2, membarrier.2, mount.2, pipe.2, readv.2, seccomp.2, sigaltstack.2, splice.2, tee.2, timer_create.2, vmsplice.2, acosh.3, asinh.3, atanh.3, bsd_signal.3, dl_iterate_phdr.3, dlsym.3, flockfile.3, fpathconf.3, ftw.3, getaddrinfo.3, getcontext.3, getgrent.3, if_nametoindex.3, malloc.3, nl_langinfo.3, posix_madvise.3, ptsname.3, rand.3, resolver.3, sigpause.3, sigwait.3, strtol.3, sysconf.3, ttyslot.3, unlocked_stdio.3, unlockpt.3, capabilities.7, cgroup_namespaces.7, inode.7, man.7, pipe.7, sigevent.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-13 14:22:45 +02:00
Michael Kerrisk 7f82d0b062 capabilities.7: Fix reversed descriptions of CAP_MAC_OVERRIDE and CAP_MAC_ADMIN
Reported-by: David Lewis <davlewi3@cisco.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-05 10:53:17 +02:00
Michael Kerrisk 70376041ca process-keyring.7: Minor fix: SEE ALSO: remove self-reference
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-25 12:18:27 +02:00
Michael Kerrisk 0b8f560ad9 sigevent.7: Mention signal.h header file
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:45 +02:00
Michael Kerrisk 45375b20ec inode.7: Note glibc 2.24 feature test macro changes for S_IFSOCK and S_ISSOCK()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Michael Kerrisk 7af84d647d pipe.7: SEE ALSO: add tee(2) and vmsplice(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-14 13:19:55 +02:00
Michael Kerrisk 32bc5a717a cgroup_namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-13 12:19:56 +02:00
Michael Kerrisk 3a9ef8b72d cgroup_namespaces.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-13 12:04:08 +02:00
Michael Kerrisk 4074913747 cgroup_namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-13 11:58:40 +02:00
Michael Kerrisk 89cbd279f4 cgroup_namespaces.7: Add some further explanation of the example shell session
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-13 11:17:16 +02:00
Michael Kerrisk a2e2611cf1 cgroup_namespaces.7: Fix a bug in shell session example
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-13 11:03:00 +02:00
Michael Kerrisk aa864d8238 cgroup_namespaces.7: Some minor wording fixes and clarifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-13 11:03:00 +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 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 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
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
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 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 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 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
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 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
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 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 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
Marko Myllynen de5aebae43 hostname.7, mailaddr.7: Use generic names in examples
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-26 13:12:20 +02:00
Michael Kerrisk c659c68e19 inotify.7: Mounting a filesystem on top of a monitored directory causes no event
Reported-by: Nicolas Iooss <Nicolas.Iooss@ssi.gouv.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-26 12:31:05 +02:00
Marko Myllynen fd9231605b hostname.7: Describe accepted characters for hostname
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-25 15:36:05 +02:00