Commit Graph

1555 Commits

Author SHA1 Message Date
Michael Kerrisk ee8655b59a arch_prctl.2, ioctl_fideduperange.2, ioctl_getfsmap.2, kexec_load.2, madvise.2, mbind.2, mmap.2, mmap2.2, mprotect.2, perf_event_open.2, process_vm_readv.2, set_mempolicy.2, shmget.2, subpage_prot.2, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, regex.3, wavelan.4, filesystems.5, proc.5, bootparam.7, raw.7, tcp.7, units.7, ld.so.8: Add a non-breaking space between a number and a unit (prefix)
Based on a patch by Bjarni Ingi Gislason.

According to SI, ""The numerical value always precedes the unit,
and a space is always used to separate the unit from the number
[...] The only exceptions to this rule are for the unit symbols
for degree, minute, and second for plane angle."

Cowritten-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-18 12:12:59 +02:00
Michael Kerrisk 11ac5b5109 add_key.2, bpf.2, fcntl.2, futex.2, listxattr.2, perf_event_open.2, prctl.2, request_key.2, sigaltstack.2, __ppc_set_ppr_med.3, __ppc_yield.3, getw.3, setbuf.3, setjmp.3, lirc.4, core.5, securetty.5, inode.7, keyrings.7, process-keyring.7, user-keyring.7, ld.so.8: srcfix: use .PP instead of .P
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-18 01:13:44 +02:00
Michael Kerrisk dd3568a147 getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-18 01:12:54 +02:00
Michael Kerrisk 37d5e69947 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-18 01:11:26 +02:00
Michael Kerrisk 2dad4c59c8 cpuid.4, fd.4, full.4, initrd.4, lirc.4, msr.4, null.4, vcs.4, charmap.5, core.5, dir_colors.5, filesystems.5, gai.conf.5, hosts.equiv.5, locale.5, motd.5, networks.5, nscd.conf.5, nss.5, proc.5, protocols.5, repertoiremap.5, services.5, tmpfs.5, ttytype.5, intro.8, nscd.8: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-18 00:59:55 +02:00
Michael Kerrisk 6545cc56e0 dir_colors.5, feature_test_macros.7, glob.7, ip.7, ipv6.7, man-pages.7, man.7, netdevice.7, rtnetlink.7, socket.7, svipc.7, tcp.7, units.7, user_namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-18 00:55:49 +02:00
Michael Kerrisk bdd915e20f _syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:40:17 +02:00
Michael Kerrisk e7d0bb4715 memusage.1, clone.2, eventfd.2, futex.2, getdents.2, ioctl_fat.2, ioctl_ns.2, kcmp.2, keyctl.2, mmap.2, mprotect.2, msgop.2, recvmmsg.2, request_key.2, sched_setaffinity.2, seccomp.2, setns.2, tee.2, timer_create.2, timerfd_create.2, unshare.2, userfaultfd.2, wait.2, __ppc_get_timebase.3, backtrace.3, bswap.3, clock_getcpuclockid.3, dl_iterate_phdr.3, dlinfo.3, dlopen.3, duplocale.3, end.3, endian.3, fmemopen.3, fopencookie.3, frexp.3, ftw.3, getdate.3, getgrouplist.3, getifaddrs.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, if_nameindex.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, makecontext.3, mallinfo.3, malloc_info.3, mallopt.3, matherr.3, mbstowcs.3, mcheck.3, mq_getattr.3, mq_notify.3, newlocale.3, offsetof.3, posix_spawn.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, scandir.3, sem_wait.3, strcat.3, strftime.3, strtok.3, strtol.3, strverscmp.3, loop.4, core.5, aio.7, fanotify.7, feature_test_macros.7, inotify.7, pkeys.7, unix.7, user_namespaces.7: Use .EX/.EE for EXAMPLE programs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-16 10:44:33 +02:00
Michael Kerrisk eabf3ae555 acct.5, elf.5, hosts.5, resolv.conf.5, rpc.5, slabinfo.5, utmp.5: Formatting fix: replace blank lines with .PP/.IP
Blank lines shouldn't generally appear in *roff source (other
than in code examples), since they create large vertical
spaces between text blocks.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-16 03:06:54 +02:00
Michael Kerrisk a2923df043 proc.5: Minor fixes/additions to Benjamin Peterson's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 21:01:52 +02:00
Benjamin Peterson 99c68ff934 proc.5: Fix path to binfmt_misc docs
The documentation moved in linux
commit 9d85025b0418163fae079c9ba8f8445212de8568
("docs-rst: create an user's manual book").

Signed-off-by: Benjamin Peterson <bp@benjamin.pe>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 20:59:41 +02:00
Michael Kerrisk e3c8b3499a proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 16:35:34 +02:00
Michael Kerrisk c1a022dc6a proc.5, rpc.5, services.5, cgroups.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 16:34:53 +02:00
Michael Kerrisk 019d9ee872 getauxval.3, cciss.4, cpuid.4, msr.4, proc.5, tmpfs.5, man-pages.7, pid_namespaces.7, ld.so.8, nscd.8: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 16:15:21 +02:00
Michael Kerrisk a4e45e13c3 nsswitch.conf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-15 15:49:54 +02:00
Michael Kerrisk 3c0e88e400 tzfile.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Michael Kerrisk 2061865fb4 tzfile.5: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Paul Eggert 72942d65ad tzfile.5: Sync from tzdb upstream
This makes tzfile.5 a copy of the tzdb version, except that the
tzdb version's first line is replaced by man-pages boilerplate.
The new version documents version 3 format, among other things.
Also, it removes the "Summary of the timezone information file
format" section, which should no longer be needed due to
improvements in the the part of the man page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Marko Myllynen a581f7593b locale.5: Refer to existing locales for encoding details
Mike Fabian and Rafał Luzynski were recently named as glibc
localedata maintainers [1] and after that there's been active
development on this front, including discussion whether it would
be ok to use ASCII or some other encoding as values for actual
locate data.

Since I don't think it would make sense to try to have different
explanation for each glibc version on the locale(5) man page, I'm
proposing that we apply the below patch so that we refer to
existing locale definition files in general and not spell out the
exact format or any certain locale as a definitive guideline.

If the situation changes in the future or new a new convention
meant to last forever is created then perhaps Mike and Rafał can
provide an update then as needed.

1) https://sourceware.org/ml/libc-alpha/2017-07/msg00477.html
2) https://sourceware.org/ml/libc-alpha/2017-07/msg00807.html

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-12 21:53:47 +02:00
Jakub Wilk 690e8267ac tmpfs.5: ffix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-05 10:18:30 +02:00
Michael Kerrisk 4040b0a506 slabinfo.5: SEE ALSO: add some references to relevant kernel source files
Reported-by: Jorge Nerin <jnerin@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-30 05:47:53 +02:00
Michael Kerrisk fe340cde31 tmpfs.5: SEE ALSO: add memfd_create(2), mmap(2), shm_open(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:38:55 +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 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 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
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 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 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
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
Michael Kerrisk 2f4765212d slabinfo.5: Rudimentary documentation of 'batchcount'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 35737fdb0a slabinfo.5: Note constraints for values written to slabinfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk fa6cebc821 slabinfo.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk e00b5ddbbb proc.5: Simplify /proc/slabinfo entry
Don't repeat (out-of-date) info from slabinfo(5); just defer to
that page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 2b5139c524 slabinfo.5: /proc/meminfo 'Slab' shows total memory used by SLAB/SLUB cache
Verified by experiment (summing [pagesperslab * num_slabs] across
all records in /proc/slabinfo).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 27e78df197 slabinfo.5: Rewrite to try to bring the content close to current reality
There's still gaps to fill in, but the existing page
was in any case hugely out of date.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-24 11:37:23 +02:00
Michael Kerrisk 42cfcef15e proc.5: Refer to namespaces(7) for discussion of /proc/sys/user/* files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-19 15:52:04 +02:00
Florian Weimer 6c1f939f08 nsswitch.conf.5: Mention sudoers
It turns out that sudo drops things into nsswitch.conf, too.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk e867555833 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk b53015848e proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 765633a200 tmpfs.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Alexander Miller 86e5364425 getdtablesize.2, attr.5: Move .so directive to first line
Improves compatibility with the man and other dumb tools
that process man page files.

Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 14:31:11 +01:00
Michael Kerrisk 0d8f84dba5 tmpfs.5: tmpfs supports extended attributes, but not 'user' extended attributes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-17 19:41:16 +01:00
Michael Kerrisk acff48c9ed proc.5: Document /proc/sys/kernel/sched_child_runs_first
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-15 21:43:12 +01:00
Michael Kerrisk 31a1b45ece add_key.2, execve.2, fork.2, fsync.2, getrandom.2, getrlimit.2, getxattr.2, inotify_add_watch.2, ioctl.2, ioctl_fat.2, kcmp.2, keyctl.2, link.2, listxattr.2, lseek.2, madvise.2, mincore.2, mlock.2, nanosleep.2, poll.2, posix_fadvise.2, read.2, readv.2, recv.2, request_key.2, select.2, send.2, setxattr.2, sigaction.2, stat.2, statfs.2, syscall.2, tkill.2, truncate.2, unlink.2, vfork.2, write.2, __ppc_set_ppr_med.3, aio_suspend.3, backtrace.3, bcmp.3, bcopy.3, bzero.3, exec.3, fopen.3, fts.3, ftw.3, getline.3, getmntent.3, getopt.3, memccpy.3, memchr.3, memcmp.3, memcpy.3, memfrob.3, memmem.3, memmove.3, memset.3, random.3, random_r.3, resolver.3, scandir.3, scanf.3, sem_post.3, sem_wait.3, setjmp.3, sleep.3, strerror.3, strverscmp.3, system.3, random.4, core.5, intro.5, resolv.conf.5, slabinfo.5, environ.7, ip.7, keyrings.7, man.7, persistent-keyring.7, pipe.7, process-keyring.7, random.7, session-keyring.7, signal-safety.7, signal.7, thread-keyring.7, unix.7, user-keyring.7, user-session-keyring.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-13 21:14:49 +01:00
Michael Kerrisk 89e284a26e proc.5: Mention other system calls that create 'anon_inode' file descriptors
Mention a few other system calls that create file descriptors
that display an 'anon_inode' symlink in /proc/PID/fd

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 11:17:15 +01:00
Michael Kerrisk e2a5929d2d proc.5: Minor improvement to description of /proc/PID/fd symlinks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 11:11:19 +01:00
Michael Kerrisk 82ec64e473 proc.5: Remove duplicate /proc/[pid]/seccomp entry
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 10:30:50 +01:00
Michael Kerrisk 934018606b proc.5: Minor: fix alphabetical order of some /proc/PID entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 10:28:32 +01:00
Michael Kerrisk df2a857637 proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 10:25:27 +01:00
Michael Kerrisk 20c1a631cd proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 10:23:58 +01:00
Michael Kerrisk 9ad8555cd0 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-12 10:18:04 +01:00
Michael Kerrisk c56a0185fc proc.5: Add reference to vdso(7) in discussion of /proc/PID/maps
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-02-21 21:53:42 +01:00
Michael Kerrisk c187d2a16c proc.5: Tweaks to Mike's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-02-20 22:01:15 +01:00
Michael Kerrisk 09651080d1 proc.5: Clarify that /proc/PID/environ is set at time of execve(2)
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-02-20 21:57:08 +01:00
Mike Frysinger 387e243882 proc(5): Clarify /proc/pid/environ behavior
/proc/pid/environ reflects process environment at
*start* of program execution.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-02-20 08:07:54 +01:00
Jakub Wilk df525461a4 core.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-02-03 16:40:30 +13:00
Michael Kerrisk 089527aabd core.5: Reorder a bullet list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-30 11:39:30 +13:00
Michael Kerrisk 9d8b225095 core.5: Clarify that dumping program's initial CWD is root directory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-30 11:30:03 +13:00
Michael Kerrisk 1c3aae54d2 core.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-30 11:24:14 +13:00
Michael Kerrisk aee4257750 core.5: The target of core dump piping can also be a script
Verified by experiment.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-30 10:46:25 +13:00
Jakub Wilk 5465ae9568 futex.2, open_by_handle_at.2, seccomp.2, socket.2, console_codes.4, protocols.5, aio.7, capabilities.7, libc.7, netlink.7, raw.7, standards.7, unicode.7, uri.7, vdso.7: tfix
Escape hyphens in URLs.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-30 08:33:49 +13:00
Jakub Wilk 908a1b280a proc.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-26 09:10:31 +13:00
Michael Kerrisk 5a5bde703f proc.5: Add reference to slabinfo(5) in discussion of /proc/meminfo 'Slab' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-25 16:57:08 +13:00
Michael Kerrisk 48ac01a782 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-25 07:54:19 +13:00
Michael Kerrisk 6284854c9d slabinfo.5: SEE ALSO: add slabtop(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-25 00:14:06 +13:00
Michael Kerrisk 50dedc44d0 proc.5: Document /proc/sys/fs/mount-max
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-25 00:01:23 +13:00
Michael Kerrisk 2d25ceeb17 proc.5: Minor addition to /proc/sys/vm/overcommit_memory description
Refer to recently added  descriptions of
/proc/sys/vm/admin_reserve_kbytes and
/proc/sys/vm/user_reserve_kbytes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-25 00:01:17 +13:00
Michael Kerrisk 01b63c3412 proc.5: Document /proc/sys/vm/user_reserve_kbytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-16 22:07:14 +13:00
Michael Kerrisk 4fb6ed947d proc.5: Document /proc/sys/vm/admin_reserve_kbytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-16 22:07:14 +13:00
Michael Kerrisk b017f51b94 proc.5: Add some detail on overcommit_memory value 1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-16 16:36:19 +13:00
Michael Kerrisk ae8962dc54 proc.5: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-16 16:36:19 +13:00
Michael Kerrisk 534267c408 resolv.conf.5: The 'inet6' option is deprecated since glibc 2.25
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-14 08:00:17 +13:00
Michael Kerrisk 043ace1ba3 resolv.conf.5: ip6-bytestring was removed in glibc 2.25
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-14 07:02:52 +13:00
Michael Kerrisk 17d9e0033f resolver.3, resolv.conf.5: Note that RES_USEBSTRING defaults to off
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-14 06:57:30 +13:00
Michael Kerrisk 81784f6138 resolv.conf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-14 06:50:16 +13:00
Michael Kerrisk 177b2f4090 resolv.conf.5: The ipc-dotint and no-ip6-dotint options were removed in glibc 2.25
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-14 06:37:07 +13:00
Michael Kerrisk dfbd4e66c2 resolv.conf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-14 06:32:45 +13:00
Michael Kerrisk 653836fb74 proc.5: Add entries for "keys" files that refer reader to keyrings(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:20 +01:00
Michael Kerrisk 6e01a8b826 intro.5: Document the reality that by now Section 5 also covers filesystems
There are by now, from various filesystem projects, various
pages in Section 5 that document differnt filesystems.
Change intro(5) to reflect that.

Documented after following: http://bugs.debian.org/847998

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 14:53:27 +01:00
Michael Kerrisk 6c0ed8735b proc.5: Document /proc/PID/status 'NoNewPrivs' filed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 08:38:55 +01:00
Michael Kerrisk 091771e94b filesystems.5: SEE ALSO: add btrfs(5), nfs(5), tmpfs(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-13 12:11:36 +01:00
Michael Kerrisk 35deeb8703 bind.2, chmod.2, chown.2, chroot.2, clock_getres.2, clone.2, connect.2, dup.2, fallocate.2, get_mempolicy.2, getpeername.2, getpriority.2, getsockname.2, getsockopt.2, gettimeofday.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, kill.2, mbind.2, mmap.2, mount.2, mprotect.2, nfsservctl.2, nice.2, open.2, perf_event_open.2, pipe.2, pkey_alloc.2, prctl.2, ptrace.2, quotactl.2, remap_file_pages.2, sched_setscheduler.2, set_mempolicy.2, signal.2, signalfd.2, swapon.2, sync_file_range.2, syscalls.2, timer_create.2, timerfd_create.2, utime.2, utimensat.2, wait.2, atof.3, ctime.3, errno.3, fclose.3, fflush.3, insque.3, malloc_get_state.3, mallopt.3, mbsnrtowcs.3, mq_close.3, mq_open.3, mq_receive.3, mq_send.3, printf.3, pthread_attr_init.3, pthread_create.3, pthread_setaffinity_np.3, ptsname.3, remainder.3, strtod.3, tgamma.3, timegm.3, tmpnam.3, ttyname.3, console_ioctl.4, elf.5, filesystems.5, proc.5, utmp.5, capabilities.7, cgroups.7, credentials.7, ddp.7, feature_test_macros.7, fifo.7, inotify.7, libc.7, mount_namespaces.7, namespaces.7, netlink.7, pid_namespaces.7, pkeys.7, shm_overview.7, standards.7, uri.7, user_namespaces.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-12 10:45:24 +01:00
Michael Kerrisk 4675c4ed93 filesystems.5: SEE ALSO: add fuse(4)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-12 10:35:43 +01:00
Carlos O'Donell dd9454a654 resolv.conf.5: Timeout does not map to resolver API calls
I'm posting this patch to clarify the timeout behaviour because
there have been developers who expect this timeout to mean
something it is not.

The timeout (and by proxy attempts) does not map to resolver API
calls.  For example a single call to getent might involve multiple
resolution requests to the resolvers listed in resolv.conf and
each request will use TIMEOUT and be attempted at least ATTEMPT
times. A developer using the resolver API cannot easily compute
any given timeout because the implementation may change e.g. A and
AAAA queries made in parallel.  A system administrator uses this
setting to ensure there is a desirable timeout on any request to
any of the nameservers listed in resolv.conf, but no guarantees
exist beyond that.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 11:40:16 +01:00
Michael Kerrisk 39b35179bc proc.5: Add pointers to sched(7) for autogroup files
sched(7) describes /proc/sys/kernel/sched_autogroup_enabled
and /proc/PID/autogroup.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-29 21:50:15 +01:00
Michael Kerrisk 969b3dd60b elf.5: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-28 22:19:31 +01:00
Michael Kerrisk bdd5d782a1 elf.5: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-28 22:17:38 +01:00
Mike Frysinger 51c705cd36 elf(5): Further details on Notes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-28 22:13:31 +01:00
Michael Kerrisk d84631b325 elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 12:06:34 +01:00
Michael Kerrisk 31ea6b8427 elf.5: srcfix: rewrap some long source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 12:05:32 +01:00
Michael Kerrisk 08e6d52431 elf.5: A few tweaks to Mike Frysinger's text (Mike to check)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 11:59:17 +01:00
Michael Kerrisk d00f97b555 elf.5: Minor fixes to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 11:59:17 +01:00
Mike Frysinger 9c72e3cad8 elf(5): document notes
Document the Elf{32,64}_Nhdr structure, the sections/segments that
contain notes, and how to interpret them.  I've been lazy and only
included the GNU extensions here, especially as others are not
defined in the elf.h header file as shipped by glibc.

I've mostly used binutils, glibc, breakpad, and the GABI ELF spec
as sources of data for these fields.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 11:15:37 +01:00
Michael Kerrisk 573ae2a478 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-22 13:53:24 +01:00
Michael Kerrisk 40382e5ec4 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 08:31:01 +01:00
Michael Kerrisk 215f434628 elf.5: Minor tweaks to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-17 16:41:36 +01:00
Mike Frysinger 98ec6ed789 elf(5): Add subsection headers at major points
The current pages dumps all the content into one big DESCRIPTION
with no real visual break up between logically independent
sections.  Add some subsection headers to make it easier to
read and scan.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2016-11-17 16:38:37 +01:00
Michael Kerrisk e8840edfbd proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:29:14 +01:00
Michael Kerrisk f12f1b9b0b proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:27:58 +01:00
Michael Kerrisk 54c7242d7d elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:23:22 +01:00
Michael Kerrisk 37ad14c2fb utmp.5: SEE ALSO: add users(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:21:04 +01:00
Michael Kerrisk 9f1002a1c4 proc.5: Mention lslocks(8) in discussion of /proc/locks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 08:55:19 +01:00
Michael Kerrisk 4e07c70f90 fallocate.2, fcntl.2, lseek.2, madvise.2, memfd_create.2, mmap.2, remap_file_pages.2, swapon.2, proc.5, cgroups.7, shm_overview.7, user_namespaces.7: Fix cross references to new tmpfs(5) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-07 16:21:41 +01:00
Michael Kerrisk eb775c04e7 proc.5: Describe Shmem field of /proc/meinfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-07 16:21:37 +01:00
Michael Kerrisk 244b15d4dc tmpfs.5: New page documenting the tmpfs filesystem
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-07 15:44:50 +01:00
Michael Kerrisk 63e56c4b77 proc.5: Add /proc/sys/fs/pipe-user-pages-{hard,soft} entries
The entries defer to pipe(7).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-06 13:14:07 -07:00
Michael Kerrisk 33dc4b59be proc.5, pipe.7: Move /proc/sys/fs/pipe-max-size content from proc(5) to pipe(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-06 13:14:07 -07:00
Michael Kerrisk 43d42cc0a0 proc.5: srcfix: FIXME tidy-up
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-29 13:43:30 +02:00
Michael Kerrisk 2f05728103 proc.5: Add example ProtectionKey output for 'smaps' file
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-17 14:04:06 +02:00
Dave Hansen be729d667d proc.5: Describe new ProtectionKey 'smaps' field
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
2016-10-17 14:03:28 +02:00
Michael Kerrisk c3d59262f3 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 12:57:06 +02:00
Michael Kerrisk 6861f8f0c7 proc.5: Improve description of the KernelPageSize and MMUPageSize 'smaps' fields
Rework the text, make it clearer that MMUPageSize is a separate
line, add kernel version numbers, and example output.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 12:57:00 +02:00
Michael Kerrisk eb8487082c proc.5: Rework 'smaps' VmFlags text, and add kernel version and example output
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 11:32:13 +02:00
Michael Kerrisk 9b780b0654 proc.5: Rework 'smaps' ProtectionKey text and add some details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-13 11:32:08 +02:00
Michael Kerrisk f64cc74595 killpg.2, crypt.3, mbsinit.3, printf.3, rpc.3, ulimit.3, wprintf.3, xdr.3, fd.4, elf.5, group.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-12 16:03:38 +02:00
Michael Kerrisk b8efb41432 memusage.1, memusagestat.1, pldd.1, accept.2, adjtimex.2, arch_prctl.2, bdflush.2, bpf.2, close.2, epoll_ctl.2, epoll_wait.2, execve.2, execveat.2, fanotify_init.2, fanotify_mark.2, fcntl.2, fsync.2, get_kernel_syms.2, getdomainname.2, getgroups.2, gethostname.2, getrandom.2, getrlimit.2, getrusage.2, getsid.2, getunwind.2, io_getevents.2, ioctl_fat.2, kexec_load.2, killpg.2, listxattr.2, lseek.2, madvise.2, memfd_create.2, mknod.2, mlock.2, modify_ldt.2, msgctl.2, msgget.2, msgop.2, readlink.2, readv.2, reboot.2, recvmmsg.2, rename.2, request_key.2, restart_syscall.2, sched_setaffinity.2, sched_setattr.2, sched_setparam.2, seccomp.2, select_tut.2, semctl.2, semget.2, semop.2, set_thread_area.2, seteuid.2, setgid.2, setpgid.2, setresuid.2, setreuid.2, setsid.2, setuid.2, shmctl.2, shmget.2, shmop.2, sigaction.2, sigprocmask.2, stat.2, symlink.2, syscall.2, sysctl.2, unlink.2, bindresvport.3, byteorder.3, dlopen.3, endian.3, error.3, ffs.3, fmemopen.3, getcwd.3, getlogin.3, getnetent.3, getprotoent.3, getservent.3, getumask.3, getutent.3, glob.3, isalpha.3, lio_listio.3, login.3, mbsinit.3, mbstowcs.3, mbtowc.3, mkstemp.3, nextup.3, ntp_gettime.3, posix_fallocate.3, posix_spawn.3, pthread_join.3, pthread_rwlockattr_setkind_np.3, random.3, rcmd.3, realpath.3, resolver.3, setjmp.3, setnetgrent.3, sigvec.3, strerror.3, strverscmp.3, system.3, toupper.3, towlower.3, towupper.3, wcstombs.3, wordexp.3, cciss.4, loop.4, mouse.4, random.4, core.5, group.5, hosts.5, resolv.conf.5, ascii.7, environ.7, epoll.7, glob.7, ip.7, mq_overview.7, packet.7, pipe.7, raw.7, sched.7, signal.7, socket.7, symlink.7, ld.so.8, sln.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-08 14:08:23 +02:00
Mike Frysinger 89f929055e proc(5): ffix 2016-10-07 22:49:38 +02:00
Michael Kerrisk 750653a812 getrusage.2, madvise.2, memfd_create.2, mlock.2, mount.2, getauxval.3, core.5, capabilities.7, pid_namespaces.7, symlink.7, user_namespaces.7: Consistently use /proc/[pid] (not /proc/PID)
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 22:47:23 +02:00
Michael Kerrisk 4c58028a28 proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 14:30:54 +02:00
Michael Kerrisk 4389c7abff core.5: Tweaks to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 11:17:01 +02:00
Mike Frysinger 5c3ce796e7 core(5): Add more details for output paths and the crash handler
People sometimes assume that the crash handler runs in the same context
as the crashing process.  They would be incorrect :).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2016-10-07 11:17:01 +02:00
Michael Kerrisk 15869389bf proc.5: Document /proc/PID/seccomp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 11:17:01 +02:00
Michael Kerrisk 3ed7270ea2 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 11:17:01 +02:00
Michael Kerrisk a77efd582f proc.5: Expand discussion of /proc/[pid]/root
Add a shell example showing that /proc/[pid]/root is more
than a symlink. Based on an example provided by Mike Frysinger
in an earlier commit message.

Cowritten-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 11:17:01 +02:00
Michael Kerrisk 948f0ff4fe proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-10-07 11:17:01 +02:00
Mike Frysinger 2b3122418d proc(5): Clarify the root symlink and mount namespaces
If the target process is in a different mount namespace, the root
symlink actually shows that view of the filesystem.  As an example:

    /* Terminal 1 */
    $ unshare -Urnm
    # mount -t tmpfs tmpfs /etc
    # mount --bind /bin /dev
    # echo $$
    17168

    /* Terminal 2 */
    # ls /etc                       # Normal view of /etc files.
    # ls /proc/17168/root/etc       # Empty view of the tmpfs.
    # ls /dev                       # Normal view of /dev files.
    # ls /proc/17168/root/dev       # Contents of /bin files.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2016-10-07 11:17:01 +02:00
Michael Kerrisk f1a5d77ac3 proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 12:46:09 +02:00
Michael Kerrisk 5681553cb8 proc.5: Note that 'suid_dumpable' mode 1 is insecure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 11:48:32 +02:00
Michael Kerrisk c3c64ee6e3 proc.5: Add reference to core(5) in discussion of 'suid_dumpable'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 11:48:32 +02:00
Michael Kerrisk 8a71b4bb86 proc.5: Refer to ptrace(2) for info on effect of suid_dumpable on ptraceability
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 11:48:32 +02:00
Michael Kerrisk 3bdb8ec5e8 proc.5: Explain rules determining ownership of /proc/PID/* files
Describe the effect of the "dumpable" attribute on ownership
of /proc/PID files.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 11:48:32 +02:00
Michael Kerrisk 1e6a8e2f4f proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 11:48:32 +02:00
Michael Kerrisk 748f7283bf proc.5: Note effect of 'suid_dumpable' on ownership of /proc/PID files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-21 11:48:32 +02:00
Michael Kerrisk 6f858d5ccc lirc.4, proc.5, netlink.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-16 12:42:20 +02:00
Michael Kerrisk 956e74b43f proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-16 12:40:55 +02:00
Michael Kerrisk 78230722aa proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-16 12:38:57 +02:00
Michael Kerrisk a5a3e91bf9 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-12 20:41:08 +01:00
Michael Kerrisk 0989246ebd proc.5: Minor tweaks to Namhyung Kim's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-12 20:40:39 +01:00
Namhyung Kim dfdf642ebb proc.5: Add description of CLEAR_REFS_MM_HIWATER_RSS
The Linux kernel commit 695f05593693 ("fs/proc/task_mmu.c: add
user-space support for resetting mm->hiwater_rss (peak RSS)") added a
way to reset peak RSS of a process but missed to update manpage.

Cc: Petr Cermak <petrcermak@chromium.org>
Acked-by: Petr Cermak <petrcermak@chromium.org>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
2016-09-12 20:38:44 +01:00
Michael Kerrisk 58afe6afe1 proc.5: Clarify user namespace requirements for /proc/sys/fs/protected_hardlinks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-12 20:34:22 +01:00
Michael Kerrisk d133b9b3d8 proc.5: Clarify description of /proc/PID/statm 'lib' and 'dt' fields
These fields are always zero since Linux 2.6.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-10 10:20:25 +01:00
Michael Kerrisk 4e6fa35246 proc.5: Clarify that /proc/PID/statm 'shared' field counts *resident* pages
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741360

Reported-by: Zefram <zefram@fysh.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-10 10:19:22 +01:00
Michael Kerrisk c364070664 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-10 10:08:57 +01:00
Michael Kerrisk e546617e9c proc.5: Document /proc/PID/status 'RssAnon', 'RssFile', and 'RssShmem' fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-10 10:07:36 +01:00
Michael Kerrisk 4084d612be proc.5: Document /proc/PID/status 'HugetlbPages' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-10 10:07:04 +01:00
Michael Kerrisk 06b7cee06a proc.5: Update example VM values in /proc/PID/status
In preparation for following patches.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-09-10 09:54:00 +01:00
Michael Kerrisk a376f4f068 termcap.5: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-23 10:24:05 +12:00
Jakub Wilk ae34c5215d proc.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-08-08 05:54:16 +10:00
Michael Kerrisk ecc9535d8e proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk 4ad958e183 proc.5: Document /proc/meminfo '+ShmemHugePages' and 'ShmemPmdMapped' fields
New in Linux 4.8

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:16 +10:00
Michael Kerrisk d9c7f166c6 repertoiremap.5: Fix section ordering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:15 +10:00
Michael Kerrisk 82b053068b resolv.conf.5: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 5bb0a75e34 proc.5: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 9bb9af92be resolv.conf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 2da6142363 hosts.5: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 64359438d5 group.5: Fix order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-08 05:54:14 +10:00
Michael Kerrisk 7ded2db482 proc.5: Note changes to config option governing /proc/[pid]/task/[tid]/children
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-04 08:43:29 +10:00
Michael Kerrisk 45dd509268 proc.5: Minor reworking to Jann's /proc/[pid]/task/[tid]/children patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-08-04 08:43:08 +10:00
Jann Horn 4a40c703ee proc.5: Document /proc/[pid]/task/[tid]/children
Document the /proc/[pid]/task/[tid]/children interface from
CRIU, and more importantly, document why it's usually not
a good interface.
2016-08-04 08:34:23 +10:00
Michael Kerrisk 5347399609 proc.5: Add reference to umask(2) in discussion of /proc/PID/status 'Umask'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-18 17:11:55 +02:00
Michael Kerrisk 3df541c0e6 ldd.1, localedef.1, add_key.2, chroot.2, clone.2, fork.2, futex.2, get_mempolicy.2, get_robust_list.2, getitimer.2, getpriority.2, ioctl.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, kcmp.2, kill.2, lookup_dcookie.2, mmap.2, mount.2, open.2, pciconfig_read.2, perf_event_open.2, prctl.2, process_vm_readv.2, ptrace.2, quotactl.2, recv.2, setfsgid.2, setfsuid.2, sysinfo.2, umask.2, umount.2, unshare.2, utimensat.2, wait.2, assert.3, fmax.3, fmin.3, getauxval.3, inet_pton.3, malloc_hook.3, memmem.3, mkdtemp.3, mktemp.3, printf.3, strcasecmp.3, strcat.3, strtoul.3, strxfrm.3, console_codes.4, console_ioctl.4, lirc.4, tty.4, vcs.4, charmap.5, elf.5, locale.5, proc.5, repertoiremap.5, utmp.5, capabilities.7, cgroup_namespaces.7, cgroups.7, charsets.7, cp1251.7, cp1252.7, credentials.7, feature_test_macros.7, iso_8859-1.7, iso_8859-15.7, iso_8859-5.7, koi8-r.7, koi8-u.7, man-pages.7, mount_namespaces.7, namespaces.7, netlink.7, pid_namespaces.7, unix.7, user_namespaces.7, utf-8.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-17 18:10:19 +02:00
Michael Kerrisk 9fb88bc878 proc.5: Note that /proc/net is now virtualized per network namespace
Reported-by: "Yuming Ma(马玉明)" <mayuming@le.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-07 11:12:30 +02:00
Michael Kerrisk ccb4bcdc13 proc.5: Minor rewording of intro sentence on /proc/net
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-07-07 11:12:26 +02:00
Jakub Wilk 999d535dde dir_colors.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-07-01 20:56:47 +02:00
Michael Kerrisk 966b583993 proc.5: Move shared subtree /proc/PID/mountinfo fields to mount_namespaces(7)
Move information on shared subtree fields in /proc/PID/mountinfo
to mount_namespaces(7).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk 211f4a1468 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk 803c129a65 proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk ef5b47f63c proc.5: Add references to mount_namespaces(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk 20eed1b32f proc.5: /proc/PID/mountinfo 'propagate_from' always appears with 'master' tag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk 124b24148b proc.5: Rework /proc/PID/mountinfo text on dominant peer groups
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk e7fa660159 proc.5: ffix + wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-30 06:08:31 +02:00
Michael Kerrisk 6f92213776 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:29 +02:00
Michael Kerrisk b02b4b74d5 proc.5: Note /proc/PID/stat fields that are governed by PTRACE_MODE_READ_FSCREDS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:29 +02:00
Michael Kerrisk 138a191e99 proc.5: /proc/PID/fd/* are governed by PTRACE_MODE_READ_FSCREDS
Permission to dereference/readlink /proc/PID/fd/* symlinks is
governed by a PTRACE_MODE_READ_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:29 +02:00
Michael Kerrisk b902fe180b proc.5: /proc/PID/{cwd,exe,root} are governed by PTRACE_MODE_READ_FSCREDS
Permission to dereference/readlink /proc/PID/{cwd,exe,root} is
governed by a PTRACE_MODE_READ_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:29 +02:00
Michael Kerrisk 4834ae914c proc.5: /proc/PID/{personality,stack,syscall} are governed by PTRACE_MODE_ATTACH_FSCREDS
Permission to access /proc/PID/{personality,stack,syscall} is
governed by a PTRACE_MODE_ATTACH_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:29 +02:00
Michael Kerrisk d8e2972ab8 proc.5: /proc/PID/io is governed by PTRACE_MODE_READ_FSCREDS
Permission to access /proc/PID/io is governed by
a PTRACE_MODE_READ_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:29 +02:00
Michael Kerrisk a62e0e012d proc.5: /proc/PID/timerslack_ns is governed by PTRACE_MODE_ATTACH_FSCREDS
Permission to access /proc/PID/timerslack_ns is governed by
a PTRACE_MODE_ATTACH_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:28 +02:00
Michael Kerrisk 82664739be proc.5: /proc/PID/{auxv,environ,wchan} are governed by PTRACE_MODE_READ_FSCREDS
Permission to access /proc/PID/{auxv,environ,wchan} is governed by
a PTRACE_MODE_READ_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:28 +02:00
Michael Kerrisk aee2f0bfa1 proc.5: Document /proc/PID/{maps,mem,pagemap} access mode checks
Permission to access /proc/PID/{maps,pagemap} is governed by a
PTRACE_MODE_READ_FSCREDS ptrace access mode check.

Permission to access /proc/PID/mem is governed by a
PTRACE_MODE_ATTACH_FSCREDS ptrace access mode check.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-29 07:06:28 +02:00
Marko Myllynen 2c0cac3e00 charmap.5: ffix 2016-06-23 12:54:29 +02:00
Marko Myllynen bf56400c13 locale.5: Adjust conformance
Since we now know that glibc does not support all the keywords
mentioned in ISO/IEC TR 14652 [1] and in general glibc aims to
be conforming to POSIX first and foremost, I think it's best
just to drop the reference to ISO/IEC TR 14652 from the man page.

1) http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf

After this I think the locale related man pages are finally as
complete as they need to be.
2016-06-14 18:36:41 +02:00
Marko Myllynen 74e03e909c locale.5: Document missing keywords, minor updates
Cross-checked the current locale.5 page against glibc locales and
fixed the following issues:

- mention define/ifdef/else/endif
- mention reorder-sections-{after,end}
- mention script
- section/section-symbol are not used, only mentioned in the ISO TR
- Fix int_currency_symbol -> int_curr_symbol typo
- few formatting fixes
2016-06-14 18:35:47 +02:00
Marko Myllynen 28ad474d15 charmap.5: Clarify keyword syntax
Updates charmap(5) to match the syntax all the glibc
charmap files are using currently.
2016-06-14 18:35:47 +02:00
Marko Myllynen 8f2929107b locale.5, repertoiremap.5: Clarify keyword syntax
All the glibc locale/repertoiremap files use the format described
in the patch. The fix is trivial (and adds an example just in
case), I presume these were copypasted from charmaps.5 page, all
the glibc charmaps use slightly different format for keywords
(I'll send a separate patch to address charmaps.5 next).
2016-06-14 18:35:47 +02:00
Michael Kerrisk 11f6014270 proc.5: Document /proc/[pid]/timerslack_ns
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-11 10:56:43 +02:00
Jakub Wilk 95b1c1d172 proc.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-06-08 11:25:05 +02:00
Michael Kerrisk 454087559e utmp.5: SEE ALSO: add logname(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-06-01 13:22:27 -05:00
Michael Kerrisk a79343e9e4 proc.5: Document /proc/PID/status 'Umask' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-26 16:12:49 -05:00
Michael Kerrisk 226cb3a87a proc.5, namespaces.7: Move /proc/PID/mounts information to proc(5)
There was partial duplication, and some extra information
in namespaces(7). Move everything to proc(5).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-18 22:08:44 +02:00
Jakub Wilk ebdc66e2ed proc.5: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-05-18 13:24:28 +02:00
Li Peng d9e0f03d8a proc.5: ffix
Signed-off-by: Li Peng <lip@dtdream.com>
2016-05-18 13:22:40 +02:00
Michael Kerrisk aac0b30fea proc.5: Document /proc/PID/status fields: 'NStgid', 'NSpid', 'NSpgid', 'NSsid'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 23:27:49 +02:00
Michael Kerrisk 2d2dfb6944 proc.5: Document /proc/PID/status 'Ngid' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-11 22:59:57 +02:00
Michael Kerrisk fdfec6f9d9 elf.5: SEE ALSO: add readelf(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-10 16:42:23 +01:00
Michael Kerrisk 9f496381ef clock_getres.2, getrlimit.2, ioctl_fat.2, ioprio_set.2, quotactl.2, core.5, cpuset.7, vdso.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-09 23:37:59 +02:00
Michael Kerrisk 12b23dfe56 proc.5: Add pointer to cgroups(7) for documentation of /proc/cgroups
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-09 23:08:54 +02:00
Michael Kerrisk 5c2181ad88 proc.5, cgroups.7: Move /proc/PID/cgroup discussion to cgroups(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-09 23:08:53 +02:00
Marko Myllynen c9aec10afb locale.5: Complete LC_COLLATE
Here's the first attempt to (almost) complete the locale.5 manual
page by documenting all (but perhaps one) of the missing
LC_COLLATE keywords.

I think the LC_COLLATE section is still not enough to be used as
the only source when writing collation rules from scratch but
perhaps that's not even needed, it could be also thought that
the section 5 pages merely describe the format used in the files.
Naturally more information could be added later on top of this
patch.

Few notes:

- AFAICS coll_weight_max is not used anywhere in glibc
- I'm not aware of any C library implementation on Linux (for
  which this manual page would be relevant) which would
  implement the POSIX options not supported by glibc
- the glibc specific script keyword could still be documented

Sources:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html
http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf

PS. A couple of unrelated comment clean-ups slipped in as well,
sorry about those.
2016-05-09 22:42:35 +02:00
Marko Myllynen a4f6f08769 nsswitch.conf.5: Document group merging
Document the recently merged glibc group merge support.

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ced8f8933673f4efda1d666d26a1a949602035ed
https://sourceware.org/glibc/wiki/Proposals/GroupMerging
2016-05-09 22:33:46 +02:00
Michael Kerrisk 0f619d1f9e proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:59:09 +02:00
Michael Kerrisk 63ab29880e proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:52:46 +02:00
Michael Kerrisk 8d857fcb16 proc.5: Improve description of /proc/PID/mountinfo 'root' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:52:46 +02:00
Michael Kerrisk fb4bdaa1ea proc.5: Add some background on why /proc/PID/mountinfo was added
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-05-07 07:48:23 +02:00
Michael Kerrisk cf4e4d3419 proc.5: Add reference to core(5) for info on /proc/sys/kernel/core_pipe_limit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 11:22:14 +02:00
Michael Kerrisk d9f2d36adb core.5: Document /proc/sys/kernel/core_pipe_limit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-21 11:22:14 +02:00
Mike Frysinger cfc24701c0 locale(5): country_car: Add a better description
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:59:07 +01:00
Alexander Miller 65cdd61d83 elf.5: wfix
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:04:26 +01:00
Alexander Miller 4ca142b2a6 elf.5: wfix
Restore "before" deleted in 9c08fc7d47

Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 14:04:14 +01:00
Marko Myllynen 565a3ba94b locale.5: Adjust LC_IDENTIFICATION / abbreviation
Tiny tweak to locale.5 based on the on ISO/IEC TR 14652:

http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:52:53 +01:00
Marko Myllynen 9bbaafcc2e locale.5: Update LC_ADDRESS after glibc change
This patch updates locale.5 to match the recent glibc change:

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a837257199ffab76237385b830cc7b6179fc2f18

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-04-18 13:52:27 +01:00
Michael Kerrisk 2c767761a2 Removed trailing white space at end of lines 2016-03-15 17:30:43 +13:00
Michael Kerrisk 979867082b locale.1, localedef.1, _exit.2, accept.2, access.2, acct.2, adjtimex.2, bdflush.2, bind.2, bpf.2, brk.2, chdir.2, chmod.2, chown.2, chroot.2, clock_nanosleep.2, clone.2, close.2, connect.2, copy_file_range.2, create_module.2, delete_module.2, dup.2, epoll_ctl.2, eventfd.2, execve.2, fallocate.2, fanotify_init.2, fcntl.2, flock.2, fork.2, fsync.2, futex.2, get_kernel_syms.2, getdomainname.2, getgroups.2, gethostname.2, getpagesize.2, getpeername.2, getsid.2, getsockname.2, getsockopt.2, gettimeofday.2, init_module.2, ioctl.2, ioctl_list.2, ioperm.2, iopl.2, kexec_load.2, kill.2, killpg.2, link.2, listen.2, llseek.2, lseek.2, madvise.2, memfd_create.2, mincore.2, mkdir.2, mknod.2, mmap.2, mount.2, nanosleep.2, nice.2, open.2, personality.2, pipe.2, poll.2, posix_fadvise.2, read.2, readahead.2, readlink.2, readv.2, recv.2, recvmmsg.2, rename.2, request_key.2, sched_setaffinity.2, sched_setattr.2, select.2, select_tut.2, semctl.2, semop.2, send.2, sendfile.2, sendmmsg.2, seteuid.2, setns.2, setpgid.2, setreuid.2, shutdown.2, sigaction.2, sigaltstack.2, signal.2, signalfd.2, sigpending.2, sigprocmask.2, sigsuspend.2, socketpair.2, splice.2, stat.2, statfs.2, stime.2, symlink.2, sync.2, syscall.2, syscalls.2, times.2, truncate.2, unlink.2, unshare.2, uselib.2, utimensat.2, vfork.2, vhangup.2, wait.2, wait4.2, write.2, a64l.3, abs.3, acos.3, acosh.3, addseverity.3, adjtime.3, aio_read.3, aio_write.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, atoi.3, backtrace.3, cbrt.3, ceil.3, cfree.3, clearenv.3, clock_getcpuclockid.3, clog10.3, cmsg.3, copysign.3, cos.3, cosh.3, ctermid.3, ctime.3, daemon.3, dirfd.3, div.3, dl_iterate_phdr.3, drand48.3, drand48_r.3, dysize.3, ecvt.3, ecvt_r.3, endian.3, erf.3, erfc.3, errno.3, exec.3, exp.3, exp2.3, expm1.3, fabs.3, fdim.3, ferror.3, fexecve.3, ffs.3, fgetgrent.3, fgetpwent.3, finite.3, flockfile.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, fopen.3, fpclassify.3, frexp.3, fseeko.3, fts.3, futimes.3, fwide.3, gamma.3, gcvt.3, getaddrinfo.3, getcwd.3, getdate.3, getdirentries.3, getdtablesize.3, getgrent.3, getgrent_r.3, getgrnam.3, getgrouplist.3, gethostbyname.3, gethostid.3, getline.3, getloadavg.3, getmntent.3, getnameinfo.3, getnetent_r.3, getpass.3, getprotoent_r.3, getpwent.3, getpwent_r.3, getpwnam.3, getrpcent_r.3, getservent_r.3, getspnam.3, getsubopt.3, getusershell.3, getutent.3, getw.3, gsignal.3, hypot.3, ilogb.3, inet.3, initgroups.3, insque.3, isalpha.3, isgreater.3, iswblank.3, j0.3, ldexp.3, lgamma.3, lio_listio.3, lockf.3, log.3, log10.3, log1p.3, log2.3, logb.3, lrint.3, lround.3, makedev.3, matherr.3, mbsnrtowcs.3, mkdtemp.3, mkfifo.3, mkstemp.3, mktemp.3, modf.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_receive.3, mq_send.3, nan.3, nextafter.3, on_exit.3, open_memstream.3, opendir.3, perror.3, popen.3, posix_fallocate.3, posix_madvise.3, posix_memalign.3, posix_openpt.3, posix_spawn.3, pow.3, printf.3, profil.3, psignal.3, pthread_attr_setstack.3, pthread_setaffinity_np.3, putenv.3, putpwent.3, qecvt.3, rand.3, random.3, random_r.3, rcmd.3, readdir.3, realpath.3, remainder.3, remquo.3, rexec.3, rint.3, round.3, rpc.3, rpmatch.3, scalb.3, scalbln.3, scandir.3, scanf.3, seekdir.3, sem_wait.3, setbuf.3, setenv.3, setjmp.3, setnetgrent.3, siginterrupt.3, signbit.3, significand.3, sigset.3, sigsetops.3, sigvec.3, sigwait.3, sin.3, sinh.3, sleep.3, sockatmark.3, sqrt.3, statvfs.3, stpcpy.3, stpncpy.3, strdup.3, strerror.3, strftime.3, strlen.3, strnlen.3, strsep.3, strsignal.3, strtod.3, strtok.3, strtol.3, strtoul.3, syslog.3, system.3, tan.3, tanh.3, telldir.3, tempnam.3, termios.3, tgamma.3, timegm.3, timeradd.3, tmpfile.3, tmpnam.3, toascii.3, trunc.3, ttyslot.3, tzset.3, ualarm.3, unlocked_stdio.3, usleep.3, wcpcpy.3, wcpncpy.3, wcscasecmp.3, wcsdup.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3, wprintf.3, y0.3, pts.4, st.4, tty_ioctl.4, elf.5, gai.conf.5, group.5, locale.5, nsswitch.conf.5, proc.5, utmp.5, aio.7, capabilities.7, credentials.7, environ.7, epoll.7, fanotify.7, feature_test_macros.7, inotify.7, ip.7, mq_overview.7, namespaces.7, pipe.7, signal.7, socket.7, standards.7, svipc.7, symlink.7, time.7, unicode.7, unix.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-15 17:30:43 +13:00
Michael Kerrisk d5268de125 proc.5: Document additional /proc/meminfo fields
Document DirectMap4k, DirectMap4M, DirectMap2M, DirectMap1G
See https://bugzilla.kernel.org/show_bug.cgi?id=106281

Reported-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-15 13:28:02 +13:00
Michael Kerrisk 8b4b1f6803 proc.5: Document MemAvailable /proc/meminfo field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-14 10:47:52 +13:00
Michael Kerrisk 43179f55ea proc.5: Document CmaTotal and CmaFree fields of /proc/meminfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-14 10:47:52 +13:00
Michael Kerrisk 8a07a1c488 elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 19:42:59 +01:00
Michael Kerrisk b3b6aa6dd1 elf.5: Improve description of STV_DEFAULT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 19:42:59 +01:00
Michael Kerrisk d24f72ec80 elf.5: Improve description of STV_HIDDEN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 19:42:59 +01:00
Michael Kerrisk 2c8e09b4ff elf.5: Fix description of STV_PROTECTED
Quoting Mike:

gabi says:
https://refspecs.linuxbase.org/elf/gabi4+/ch4.symtab.html
A symbol defined in the current component is protected if it is
visible in other components but not preemptable, meaning that
any reference to such a symbol from within the defining component
must be resolved to the definition in that component, even if
there is a definition in another component that would preempt by
the default rules. A symbol with STB_LOCAL binding may not have
STV_PROTECTED visibility. If a symbol definition with
STV_PROTECTED visibility from a shared object is taken as
resolving a reference from an executable or another shared object,
the SHN_UNDEF symbol table entry created has STV_DEFAULT
visibility.

solaris/oracle says:
https://docs.oracle.com/cd/E26502_01/html/E26507/chapter6-79797.html
A symbol that is defined in the current component is protected
if the symbol is visible in other components, but cannot be
preempted. Any reference to such a symbol from within the defining
component must be resolved to the definition in that component.
This resolution must occur, even if a symbol definition exists in
another component that would interpose by the default rules.
A symbol with STB_LOCAL binding will not have STV_PROTECTED
visibility.

but i think this ibm article is probably the most understandable:
https://www.ibm.com/developerworks/aix/library/au-aix-symbol-visibility/
The symbol is visible outside the current executable or shared
object, but it may not be overridden. In other words, if a
protected symbol in a shared library is referenced by an other
code in the shared library, the other code will always reference
the symbol in the shared library, even if the executable defines
a symbol with the same name.

Reported-by: Gabriel Corona <gabriel.corona@enst-bretagne.fr>
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 19:42:54 +01:00
Michael Kerrisk db337e545c elf.5: srcfix: remove commented-out mandoc markuo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-09 19:17:49 +01:00
Michael Kerrisk d7e537ce94 proc.5: /proc/PID/fdinfo displays the setting of the close-on-exec flag
Note also the pre-3.1 bug in the display of this info.

Reported-by: Patrick Donnelly <batrick@batbytes.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-08 20:31:56 +01:00
Michael Kerrisk 9599cbb35c proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-08 20:28:38 +01:00
Michael Kerrisk e2444bcbe7 proc.5: Document fanotify /proc/PID/fdinfo entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-08 20:07:32 +01:00
Michael Kerrisk 4e77145cca proc.5: Document inotify /proc/PID/fdinfo entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-08 20:07:32 +01:00
Michael Kerrisk b6a7fd5032 proc.5: Add some kernel version numbers for /proc/PID/fdinfo entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-08 18:50:06 +01:00
Marko Myllynen e27900b2e8 locale.5: tel + fax are deprecated
Reviewed-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-03-08 18:16:28 +01:00
Michael Kerrisk c33920dcf5 gai.conf.5: Add VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 17:26:23 +01:00
Michael Kerrisk 09897eb610 group.5: SEE ALSO: add groups(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 12:24:45 +01:00
Michael Kerrisk 610ed9b99d group.5: SEE ALSO: add chgrp(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-26 12:22:17 +01:00
Michael Kerrisk 124ba9da66 group.5: SEE ALSO: add gpasswd(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-25 20:59:35 +01:00
Michael Kerrisk 5f43482ea2 group.5: SE ALSO: add gshadow(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-25 20:55:01 +01:00
Michael Kerrisk 1912604758 group.5: SEE ALSO: add sg(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-25 20:52:57 +01:00
Michael Kerrisk 62cf43bd3d utmp.5: SEE ALSO: add lslogins(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk 3bc466d052 utmp.5: Minor fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-15 15:32:52 +01:00
Michael Kerrisk f5d65b55d0 filesystems.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 17:53:11 +01:00
Yuri Kozlov 3fb90c2527 filesystems.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 17:52:29 +01:00
Michael Kerrisk 787dd4ad3a membarrier.2, crypt.3, dladdr.3, duplocale.3, fmemopen.3, gethostbyname.3, mallopt.3, newlocale.3, resolver.3, sigsetops.3, strfmon.3, tzset.3, console_ioctl.4, lirc.4, loop.4, vcs.4, dir_colors.5, locale.5, proc.5, tzfile.5, attributes.7, bootparam.7, capabilities.7, feature_test_macros.7, icmp.7, man-pages.7, netlink.7, path_resolution.7, pipe.7, socket.7, unix.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-02-03 09:14:22 +01:00
Michael Kerrisk 833dec2bd1 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk e2e52667d0 elf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 34fe0d694e elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk aec0c1d559 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 661c038ccf elf.5: Parameterize top-level indent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk c3a4517149 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk b57b5c8885 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00
Michael Kerrisk 1e90e9f8e5 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:42 +01:00