Commit Graph

685 Commits

Author SHA1 Message Date
Eugene Syromyatnikov d3546d80e8 proc.5: Document removal of timer_stats file
timer_stats was removed in Linux commit commit v4.11-rc1~177^2~5
citing security concerns.

* man5/proc.5 (.SS Files and directories)
  <.TP .I /proc/timer_stats>: Mention the last Linux version where
  the file was available along with the reasons of removal.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-11 13:00:30 +02:00
Eugene Syromyatnikov 3f1144fc01 proc.5: Document removal of htab-reclaim sysctl file
This PPC-specific sysctl option has been removed in Linux 2.4.9.2,
according to historic Linux repository commit log.

* man5/proc.5 (.SS Files and directories)
  <.TP .I /proc/sys/kernel/htab-reclaim>: Mention the last Linux
  version where the option was available.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-11 12:58:31 +02:00
Eugene Syromyatnikov 96c11b3ffc initrd.4, proc.5, bootparam.7: Update pointer to in-kernel initrd documentation
Linux commit v4.10-rc1~40^2~86^2~4 moves initrd documentation from
Documentation/initrd.txt to Documentation/admin-quide/initrd.rst.

* man4/initrd.4 (.SS Changing the normal root filesystem,
  .SH SEE ALSO): Amend pointer to in-kernel initrd documentation
  with change introduced in Linux 4.10 (move to
  Documentation/admin-guide/initrd.rst).
* man5/proc.5 (.SS Files and directories)
  <.TP .I /proc/sys/kernel/real-root-dev>: Likewise.
* man7/bootparam.7 (.SS Boot arguments for ramdisk use)
  <.TP .B 'noinitrd'>: Likewise.

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-11 12:55:40 +02:00
Michael Kerrisk 561fb695da proc.5: SEE ALSO: add sysfs(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-11 12:17:17 +02:00
Michael Kerrisk 31fa1fd2a6 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-10 12:50:36 +02:00
Michael Kerrisk 64165e0118 proc.5: Explicitly note in intro that some /proc files are writable 2017-09-10 08:49:54 +02:00
Michael Kerrisk b574c52d85 proc.5: Show command used to mount /proc
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-10 08:49:54 +02:00
Michael Kerrisk 7e17465102 proc.5: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-10 08:02:52 +02:00
Michael Kerrisk d7f23d0bd6 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-03 02:12:25 +02:00
Eugene Syromyatnikov 76f6f10206 proc.5: Add description for softirq line in /proc/stat
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-03 02:11:20 +02:00
Eugene Syromyatnikov 46f6dbe83f proc.5: Add description for cpuN lines in /pro/stat
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-03 02:10:01 +02:00
Eugene Syromyatnikov 2d3fb75b7b proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-09-03 02:07:29 +02:00
Michael Kerrisk 5daae26493 proc.5: Note Linux 4.9 changes to privileges for /proc/[pid]/timerslack_ns
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-22 02:14:38 +02:00
Michael Kerrisk 93f18cbb9c proc.5, charsets.7: ffix: use en-dash for ranges, not em-dash
A recent patch fixed the use of dashes in ranges in
various places, but mistakenly used em-dashes, rather than
en-dashes. Fix that.

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-22 01:50:54 +02:00
Michael Kerrisk c9e069d681 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-20 12:08:24 +02:00
Michael Kerrisk 9bc87ed07a ctime.3, drand48.3, fmtmsg.3, getnameinfo.3, gsignal.3, strftime.3, strptime.3, cciss.4, console_codes.4, sd.4, sk98lin.4, st.4, proc.5, charsets.7, cpuset.7, pty.7, suffixes.7, udplite.7, unix.7: Use en-dash for ranges
Based on a patch by Bjarni Ingi Gislason.

Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-19 22:01:55 +02:00
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 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 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 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 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 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 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
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 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 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 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 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