Commit Graph

787 Commits

Author SHA1 Message Date
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
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 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 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
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
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 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 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
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 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 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
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 34d4e61def accept.2, perf_event_open.2, unlink.2, lirc.4, proc.5, inotify.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-28 10:44:01 +01:00
Michael Kerrisk c72249c562 fork.2, read.2, sendfile.2, splice.2, write.2, aio_read.3, aio_write.3, proc.5: Wording fix: "current file offset" ==> "file offset"
"File offset" is the preferred POSIX terminology.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-26 10:13:47 +01:00
Michael Kerrisk d9cb0d7d3f Various pages: Word "descriptor" more precisely
Use either "file descriptor" or message queue descriptor".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-01-01 12:29:37 +01:00
Michael Kerrisk 40bbe387a5 proc.5: Reaching /proc/sys/fs/file-max limit normally produces an ENFILE error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-12-27 17:05:07 +01:00
Michael Kerrisk 6f3c74a8b9 mremap.2, open.2, perf_event_open.2, prctl.2, ptrace.2, reboot.2, seccomp.2, signalfd.2, syscalls.2, __ppc_set_ppr_med.3, daemon.3, dirfd.3, fgetgrent.3, fgetpwent.3, getauxval.3, getspnam.3, mallinfo.3, mallopt.3, posix_fallocate.3, termios.3, tty_ioctl.4, core.5, nsswitch.conf.5, proc.5, aio.7, capabilities.7, path_resolution.7, pipe.7, rtld-audit.7, signal.7, tcp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-12-05 10:46:28 +01:00
Michael Kerrisk 6112ea9782 proc.5: Document 'CapAmb' in /proc/PID/status
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-12-04 14:57:55 +01:00
Michael Kerrisk cf71273de1 proc.5: Add reference to ptrace(2) for /proc/sys/kernel/yama/ptrace_scope
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-10-08 13:01:33 +01:00
Michael Kerrisk e8aa7100f5 proc.5: wfix + tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:35:36 +02:00
Heinrich Schuchardt 84ff8c1e2d proc.5: /proc/sys: Describe whitespace characters
Suggested patch
https://lkml.org/lkml/2015/8/24/171
indicates missing documentation.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:32:26 +02:00
Michael Kerrisk 2e2b236434 proc.5: wfix + ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:30:05 +02:00
Michael Kerrisk 004b062d87 proc.5: Note kernel version that introduced threads-max range checks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:27:41 +02:00
Heinrich Schuchardt 6fb0f56f98 proc.5: Add details for threads-max
Add detail information for threads-max.
The checks for minimum and maximum values exist since kernel 4.1.
https://lkml.org/lkml/2015/3/15/96

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:16:01 +02:00
Michael Kerrisk 618f699492 proc.5: Refer to bpf(2) for explanation of /proc/sys/net/core/bpf_jit_enable
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-23 16:08:33 +02:00
Michael Kerrisk 62184395b3 proc.5: Document /proc/sys/kernel/sysctl_writes_strict
Based on text in Documentation/sysctl/kernel.txt.

Cowritten-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-18 08:34:16 +02:00
Michael Kerrisk 577c0e20bb proc.5: Add /proc/crypto entry with a pointer to further information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 15:42:07 +02:00
Michael Kerrisk 3434fb0b46 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 11:27:58 +02:00
Michael Kerrisk b1aad373f2 proc.5: Move misordered /proc/[pid]/timers entry
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 09:28:05 +02:00
Michael Kerrisk 40e259bc36 proc.5: Tweak /proc/vmstat text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 09:24:18 +02:00
Michael Kerrisk 1693f1368a proc.5: List /proc/vmstat fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-14 23:21:27 +02:00
Marko Myllynen 979494409a proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 14:05:40 +02:00
Michael Kerrisk fba4548539 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 20:31:14 +02:00
Michael Kerrisk a77b10560e proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-08 20:30:54 +02:00
Michael Kerrisk 67d2c6873c add_key.2, chown.2, epoll_ctl.2, epoll_wait.2, execve.2, fcntl.2, get_mempolicy.2, getxattr.2, ioctl.2, keyctl.2, listxattr.2, mkdir.2, mknod.2, mmap.2, msync.2, nfsservctl.2, open.2, prctl.2, removexattr.2, request_key.2, sendfile.2, set_mempolicy.2, setxattr.2, shmget.2, shutdown.2, sigaction.2, syslog.2, truncate.2, umask.2, CPU_SET.3, atexit.3, bsearch.3, cmsg.3, err.3, gethostid.3, getmntent.3, getopt.3, iconv_close.3, inet_ntop.3, longjmp.3, lsearch.3, mcheck.3, on_exit.3, putpwent.3, regex.3, resolver.3, setbuf.3, setjmp.3, setlocale.3, setlogmask.3, sleep.3, strsignal.3, sysconf.3, undocumented.3, tty_ioctl.4, proc.5, resolv.conf.5, tzfile.5, aio.7, bootparam.7, capabilities.7, fanotify.7, inotify.7, ip.7, packet.7, pthreads.7, raw.7, signal.7, socket.7, unix.7, ld.so.8, nscd.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 08:26:32 +02:00
Michael Kerrisk 73b9cbe1ca proc.5: Improve description of /proc/PID/status
Reported-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-05 18:35:54 +02:00
Michael Kerrisk fee59977e0 proc.5: Document /proc mount options
Document the 'hidepid' and 'gid' mount options that were added in
Linux 3.3.  See https://bugzilla.kernel.org/show_bug.cgi?id=90641
Based on text by Vasiliy Kulikov in
Documentation/filesystems/proc.txt.

Reported-by: Cameron Norman <camerontnorman@gmail.com>
Cowritten-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-05 18:00:26 +02:00
Guillem Jover 7e3c767ad6 proc.5: Document /proc/PID/exe behaviour on unlinked pathnames
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-04 11:11:39 +02:00
Michael Kerrisk 06dd061c07 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-04 11:10:22 +02:00
Michael Kerrisk 64fcb6e1ce proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-30 22:04:33 +02:00
Michael Kerrisk e28af9cd1c proc.5: Document /proc/PID/status VmPMD
Reported-by: Weijie Yang <weijie.yang@samsung.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-30 11:16:16 +02:00
Michael Kerrisk 1dea597b7a proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-22 12:04:26 +02:00
Michael Kerrisk f2d607ee95 proc.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-22 12:04:26 +02:00
Michael Kerrisk ed948c28b3 chown.2, execve.2, prctl.2, truncate.2, proc.5, capabilities.7, ld.so.8: Tighter wording: 'mode bit' rather than 'permission bit'
For sticky, set-UID, and set-GID mode bits (as used in POSIX).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-21 14:36:59 +02:00
Michael Kerrisk fce2114916 proc.5: Enhance discussion of /proc/PID/status 'VmSwap' field
Based on https://lwn.net/Articles/634978/

Cowritten-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-19 09:51:49 +02:00
Michael Kerrisk 5fec7fe59a proc.5: Document /proc/sys/kernel/randomize_va_space
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-19 09:51:49 +02:00
Michael Kerrisk 58d375dd8a proc.5: Document /proc/PID/fdinfo epoll format
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-18 13:20:39 +02:00
Michael Kerrisk 6e7622ee53 proc.5: Describe /proc/PID/fdinfo eventfd format
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-18 13:20:39 +02:00
Michael Kerrisk f8a14cac3c proc.5: Document /proc/PID/fdinfo signalfd format
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-18 13:20:39 +02:00
Michael Kerrisk 0275956d88 proc.5: Describe "mnt_id" field of /proc/PID/fdinfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-18 13:20:39 +02:00
Michael Kerrisk a405066e3d proc.5: Update description /proc/sys/unix 'Type' field
The existing text was very crufty. UNIX domain sockets
support more than SOCK_STREAM for a _very_ long time now.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk 8f8a46fbcb proc.5: Note that abstract sockets are included in /proc/net/unix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk 756f55f601 proc.5: Reformat /proc/net/unix information as a list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk dbe6f88bf8 proc.5: Add some detail to /proc/PID/timers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk 7f1ea8fbde proc.5: /proc/PID/timers fix
Minor fix to description.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk 93691c1ef8 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk 5734da6d61 proc.5: Note that /proc/PID/timers requires CONFIG_CHECKPOINT_RESTORE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-04-06 16:13:54 +02:00
Michael Kerrisk 1e64c86bbf intro.1, ldd.1, clone.2, getgroups.2, getpid.2, getsockopt.2, ioctl_list.2, msgop.2, open.2, seccomp.2, setgid.2, setresuid.2, setreuid.2, setuid.2, sigaction.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, socket.2, syscall.2, syscalls.2, umount.2, clock.3, dlopen.3, fmemopen.3, fpathconf.3, fputwc.3, fputws.3, fseek.3, fseeko.3, gcvt.3, getline.3, getwchar.3, hypot.3, if_nameindex.3, initgroups.3, popen.3, resolver.3, strcoll.3, strdup.3, tzset.3, ulimit.3, wcstombs.3, wctob.3, xdr.3, console_codes.4, random.4, filesystems.5, host.conf.5, hosts.5, proc.5, resolv.conf.5, securetty.5, credentials.7, feature_test_macros.7, hier.7, ipv6.7, packet.7, pthreads.7, raw.7, signal.7, tcp.7, user_namespaces.7, ld.so.8, ldconfig.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-29 22:30:09 +02:00
Michael Kerrisk 51dea63adf proc.5: Document (the obsolete) /proc/PID/seccomp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-09 16:15:02 +01:00
Michael Kerrisk d06a6170dd proc.5: Replace description of 'uid_map' with a reference to user_namespaces(7)
All of the information in proc(5) was also present in
user_namespaces(7), but the latter was more detailed
and up to date.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-04 15:11:02 +01:00
Michael Kerrisk ab28dba9a0 proc.5, user_namespaces.7: Migrate description of /proc/PID/setgroups to user_namespaces(7)
It makes sense to have the description of this file
in the general discussion of user namespaces.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-04 15:11:02 +01:00
Michael Kerrisk a0726dbfdd proc.5: Tweaks to /proc/PID/setgroups text
After comments from Eric Biederman

Cowritten-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-04 15:11:02 +01:00
Michael Kerrisk 6bb49a3266 proc.5: Tweak's to Eric Biederman's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-03 15:49:39 +01:00
Michael Kerrisk de04dd4df3 proc.5: Add some details on /proc/PID/setgroups
And generally rework the text.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-03 15:49:39 +01:00
Michael Kerrisk 5c92b1b761 proc.5: Tweaks to Eric Biederman's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-03 15:49:39 +01:00
Eric W. Biederman d520465b99 proc.5: Document /proc/[pid]/setgroups
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-03 15:49:39 +01:00
Michael Kerrisk 1622fc979b proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-03 15:49:39 +01:00
Taisuke Yamada 157890398b proc.5: Document /proc/PID/status VmPin field
See https://bugs.launchpad.net/bugs/1071746

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-02 17:22:26 +01:00
Michael Kerrisk b6620a255b proc.5: tfix + srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-02 17:22:26 +01:00
Taisuke Yamada fd44bdc797 proc.5: Fix SELinux /proc/pid/attr/current example
Since the /proc/pid/attr API was added to the kernel, there
have been a couple of changes to the SELinux handling of
/proc/pid/attr/current.  Fix the SELinux /proc/pid/attr/current
example text to reflect these changes and note which kernel
versions first included the changes.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-02 17:22:26 +01:00
Michael Kerrisk 6d322d5fc7 time.1, access.2, arch_prctl.2, cacheflush.2, capget.2, clone.2, execve.2, fcntl.2, fork.2, getpid.2, getxattr.2, ioctl.2, ioctl_fat.2, killpg.2, listxattr.2, madvise.2, migrate_pages.2, modify_ldt.2, mprotect.2, msgget.2, msgop.2, perf_event_open.2, ptrace.2, sched_setattr.2, semget.2, semop.2, sendfile.2, set_thread_area.2, setxattr.2, stat.2, statfs.2, wait.2, wait4.2, encrypt.3, mktemp.3, pthread_attr_setschedparam.3, resolver.3, statvfs.3, syslog.3, tzset.3, core.5, host.conf.5, intro.5, proc.5, resolv.conf.5, pthreads.7, socket.7, unix.7, ld.so.8, ldconfig.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 09:26:52 +01:00
Michael Kerrisk 7672e08e00 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:12 +01:00
Michael Kerrisk c3b494c295 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 08:32:12 +01:00
Michael Kerrisk 2702dc2175 proc.5: (Briefly) document /proc/PID/attr/socketcreate
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk 666db07e1a proc.5: (Briefly) document /proc/PID/attr/keycreate
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk b7a425679b proc.5: Document /proc/PID/attr/{current,exec,fscreate,prev}
Heavily based on Stephen Smalley's text in
    https://lwn.net/Articles/28222/
    From:    Stephen Smalley <sds@epoch.ncsc.mil>
    To:      LKML and others
    Subject: [RFC][PATCH] Process Attribute API for Security Modules
    Date:    08 Apr 2003 16:17:52 -0400

Cowritten-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk c261b0e5a5 proc.5: Document /proc/sys/kernel/auto_msgmni
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk f2aa4dcc8e proc.5: Note that CAP_SYS_ADMIN is required to list /proc/PID/map_files
This might however change in the future; see the Jan 2015 LKML thread:

        Re: [RFC][PATCH v2] procfs: Always expose /proc/<pid>/map_files/
                            and make it readable

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk e81e6a4721 proc.5: Add reference to prctl(2) in discussion of /proc/sys/fs/suid_dumpable
And note that /proc/sys/fs/suid_dumpable defines the
value assigned to the process "dumpable" flag in certain
circumstances.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk f33774c483 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-28 10:33:22 +01:00
Michael Kerrisk 8392a3b33f _exit.2, dup.2, execve.2, execveat.2, fallocate.2, fcntl.2, get_robust_list.2, getrlimit.2, mbind.2, memfd_create.2, mmap.2, open.2, ptrace.2, readv.2, select.2, sigaction.2, syscall.2, syscalls.2, truncate.2, utimensat.2, write.2, errno.3, exec.3, fclose.3, fexecve.3, fmemopen.3, fopencookie.3, getgrent_r.3, getline.3, getmntent.3, getpw.3, getpwent_r.3, getspnam.3, malloc_info.3, posix_fallocate.3, putgrent.3, shm_open.3, locale.5, proc.5: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-22 23:29:25 +01:00
Elie De Brauwer 73ba31a9ca proc.5: tfix
Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-22 21:55:26 +01:00
Elie De Brauwer 4f747ba0b2 proc.5: Document /proc/sys/vm/compact_memory
Since 2.6.36 [1] CONFIG_COMPACTION is supported in Linux (for a
detailed explanation see [2]). But in essence the contents of
/proc/buddyinfo shows how much contiguous areas of a certain
size are available. These numbers are not actually up to date
as the Linux kernel will implicitly trigger compaction
(+- defragmentation) when an allocation is done.  This makes it
difficult since you can't predict upfront whether or not a large
allocation will succeed or not.  By using
/proc/sys/vm/compact_memory you can explicitly trigger compaction
to occur and /proc/buddyinfo will give a more realistic view on
the available memory in contiguous areas.

This patch updates proc.5 to explain the usage of this file and is
inspired by Documentation/systcl/vm.txt [3]

[1] http://kernelnewbies.org/Linux_2_6_35#head-9cb0a1275559d40296da42efb7977896ac9edab7
[2] http://lwn.net/Articles/368869/
[3] http://lxr.free-electrons.com/source/Documentation/sysctl/vm.txt#L100

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-22 21:54:02 +01:00
Michael Kerrisk 4e1438e3cb proc.5: Remove bogus statement about NR_OPEN being a ceiling for file-max
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-13 11:26:44 +01:00
Michael Kerrisk c290e5637b proc.5: Document /proc/sys/fs/nr_open
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-13 11:15:05 +01:00
Michael Kerrisk 1fb61947c2 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-10 09:38:10 +01:00
Michael Kerrisk 039b6546fd proc.5: Document "Seccomp" field of /proc/PID/status
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-10 09:38:10 +01:00
Michael Kerrisk 0649afd45a localedef.1, adjtimex.2, clock_nanosleep.2, epoll_ctl.2, ioctl.2, madvise.2, open.2, posix_fadvise.2, prctl.2, restart_syscall.2, sched_setaffinity.2, select.2, semop.2, setsid.2, sgetmask.2, sigaction.2, sigreturn.2, splice.2, syscall.2, syscalls.2, tee.2, tkill.2, abort.3, cmsg.3, exp10.3, ftw.3, getopt.3, ilogb.3, memcmp.3, mq_open.3, pow.3, pthread_setschedparam.3, sigvec.3, sysconf.3, termios.3, tgamma.3, wordexp.3, locale.5, proc.5, resolv.conf.5, cp1251.7, credentials.7, fanotify.7, inotify.7, locale.7, man-pages.7, signal.7, unix.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-31 07:01:38 +01:00
Sven Hoexter ac4b0eb36e proc.5: Cosmetic changes for VmSwap to keep the layout consistent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-30 21:29:11 +01:00
Michael Kerrisk 4158771432 proc.5: Revise description of /proc/PID/status 'VmSwap' entry
Reported-by: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-26 07:35:25 +01:00
Michael Kerrisk 1ddc16655d proc.5: Note kernel version that added "VmSwap" to /proc/PID/status
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-26 07:35:25 +01:00
Sven Hoexter 49f6dda794 proc.5: Add "VmSwap" to /proc/[pid]/status
Documented as is in Documentation/filesystems/proc.txt of Linux 3.18.

Signed-off-by: Sven Hoexter <sven@stormbind.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-12-26 07:35:25 +01:00
Michael Kerrisk c7383f92d4 proc.5: srcfix: Note commit that introduced /proc/thread-self
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 20:29:43 +01:00
Bernhard Walle 0ad6ad9c0c proc.5: Document /proc/thread-self
/proc/thread-self has been introduced in Linux 3.17 with
commit 0097875bd41528922fb3bb5f348c53f17e00e2fd.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-09 20:25:39 +01:00
Michael Kerrisk ee56674428 proc.5: tfix
Reported-by: Huxiaoxiang <huxiaoxiang@huawei.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-11-08 13:24:10 +01:00
Florian Westphal ed8de0e44e proc.5: Document /proc/net/netfilter/nfnetlink_queue
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-28 14:55:29 +01:00
Michael Kerrisk e890609356 capget.2, ptrace.2, vhangup.2, wait.2, ttyslot.3, console.4, proc.5, utmp.5, boot.7: tfix: page xrefs for init 2014-10-03 08:47:03 +02:00
Michael Kerrisk 859503c33e proc.5: Mention pmap(1) in discussion of /proc/PID/smaps
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-02 23:10:41 +02:00
Michael Kerrisk b96ddae00e proc.5: Minor tweaks to Elie De Brauwer's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Elie De Brauwer eb7097c2c4 proc.5: Document /proc/buddyinfo
This patch adds a short description about the contents of
/proc/buddyinfo and how this file can be used to assist
in checking for memory fragmentation issues.

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-10-01 11:56:47 +02:00
Michael Kerrisk f5d401ddda Removed trailing white space at end of lines 2014-09-21 11:24:24 +02:00
Michael Kerrisk daf084cc33 clone.2, flock.2, getpid.2, getunwind.2, mount.2, reboot.2, semop.2, seteuid.2, setgid.2, setns.2, setresuid.2, setreuid.2, setuid.2, uname.2, unshare.2, clock.3, drand48.3, proc.5, capabilities.7, credentials.7, mq_overview.7, namespaces.7, pid_namespaces.7, svipc.7, user_namespaces.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-21 11:23:07 +02:00
Michael Kerrisk 4effb5bec3 getpid.2, mount.2, uname.2, proc.5, credentials.7, mq_overview.7, svipc.7: SEE ALSO: add namespaces(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:57 -07:00
Michael Kerrisk b81acb1504 proc.5, namespaces.7: Move /proc/[pid]/{gid_map,uid_map} text from proc.5 to namespaces.7
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:57 -07:00
Michael Kerrisk cf8bfe6d2a proc.5, namespaces.7: Move /proc/[pid]/mountstat text from proc.5 to namespaces.7
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:57 -07:00
Michael Kerrisk 4716a1dd65 proc.5, namespaces.7: Move /proc/[pid]/mountstats from proc.5 to namespaces.7
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:57 -07:00
Michael Kerrisk 357002ecdf proc.5, namespaces.7: Move /proc/[pid]/mounts from proc.5 to namespaces.7
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:57 -07:00
Michael Kerrisk 0bafc69241 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:56 -07:00
Michael Kerrisk fbb59ce750 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:56 -07:00
Michael Kerrisk 84d22d07fc proc.5: Document change of /proc/PID/ns/* files to symlinks in Linux 3.8
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:56 -07:00
Michael Kerrisk d41f83cce4 proc.5: Add detail on /proc/PID/ns bind mounted files
Opening a file bind mounted to a /proc/PID/ns/xxx file
also yields a descriptor that can be passed to setns().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 91935e7807 proc.5: Rework discussion of /proc/PIC/ns/* files
Rather than repeat the same text six times,
refactor it to occur in just one place.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk f34f018219 proc.5: srcfix: Added FIXME (/proc/PID/projid_map)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 6b1eaf53bc proc.5: Further improvements to /proc/PID/{uid_map,gid_map} text
After review by Eric Biederman.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk a2f479dee9 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 98ea417334 proc.5: Clarify details of nonoverlapping ranges for /proc/PID/{uid_map,gid_map}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 3d33f6ceb7 proc.5: Note capability requirements for writing to /proc/PID/{uid_map,gid_map}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk d0ebf39885 proc.5: Rework text describing line limit in /proc/PID/{uid_map,gid_map}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 23be33af33 proc.5: Clarify mapping provided by uid_map and gid_map
Add a sentence to emphasize that these files provide a mapping
based on the user namespace of the file opener.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Eric W. Biederman ec1dd85da2 proc.5: Document /proc/PID/ns/{user,pid,mnt}
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk ccdc8958ae proc.5: Correct kernel version number for /proc/PID/{uid_map,gid_map}
These files were introduced in 3.5, not 3.6.

Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 8b69f9c729 proc.5: Describe format for lines in /proc/PID/uid_map file 2014-09-13 20:15:55 -07:00
Michael Kerrisk 149eeb7b5e proc.5: Rework Eric's text on uid_map and gid_map
Consolidate the similar uid_map and gidmap text into one
piece.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk 7e07d9504e proc.5: wfix: s/since kernel/since Linux/ 2014-09-13 20:15:55 -07:00
Eric W. Biederman f6e171212e proc.5: Document /proc/[pid]/uid_map and /proc/[pid]/gid_map
Document the user namespace files that report the mapping of UIDs
and GIDs between user namespaces.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk f082ada466 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-09-13 20:15:55 -07:00
Michael Kerrisk bea08fec7e adjtimex.2, bind.2, cacheflush.2, clone.2, fallocate.2, fanotify_init.2, fanotify_mark.2, flock.2, futex.2, getdents.2, getpriority.2, getrlimit.2, gettid.2, gettimeofday.2, ioprio_set.2, kexec_load.2, migrate_pages.2, modify_ldt.2, mount.2, move_pages.2, mprotect.2, msgop.2, nfsservctl.2, perf_event_open.2, pread.2, ptrace.2, recvmmsg.2, rename.2, restart_syscall.2, sched_setattr.2, send.2, shmop.2, shutdown.2, sigaction.2, signalfd.2, syscalls.2, timer_create.2, timerfd_create.2, tkill.2, vmsplice.2, wait.2, aio_init.3, confstr.3, exit.3, fmemopen.3, fopen.3, getaddrinfo.3, getauxval.3, getspnam.3, isalpha.3, isatty.3, mallinfo.3, malloc.3, mallopt.3, psignal.3, pthread_attr_setinheritsched.3, qecvt.3, queue.3, rtnetlink.3, strerror.3, strftime.3, toupper.3, towlower.3, towupper.3, initrd.4, locale.5, proc.5, bootparam.7, capabilities.7, ddp.7, fanotify.7, icmp.7, inotify.7, ip.7, ipv6.7, netdevice.7, netlink.7, path_resolution.7, rtld-audit.7, rtnetlink.7, sched.7, signal.7, socket.7, svipc.7, tcp.7, unix.7, ld.so.8: srcfix: Update FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-21 16:47:44 -05:00
Michael Kerrisk ef4f4031ca Removed trailing white space at end of lines 2014-08-19 12:01:21 -05:00
Michael Kerrisk 31036c4691 proc.5: Remove crufty text under 'timer_stats'
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-03 12:38:38 +02:00
Simon Paillard 3950d59a28 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-03 12:22:55 +02:00
Simon Paillard 1bba635d69 proc.5: grfix
Missing verb

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-03 12:21:50 +02:00
Adrian Bunk c023a7f875 bdflush.2, fsync.2, sync.2, proc.5: Change "sync(1)" to "sync(8)"
This seems to be a remnant from the times when man-pages
shipped a sync(8).

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 22:02:15 +02:00
Michael Kerrisk 64dbd023ee proc.5: srcfix: Update /proc/vmcore FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:33 +02:00
Michael Kerrisk 31293f37fc proc.5: Update /proc/PID/stat 'state' field documentation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:33 +02:00
Michael Kerrisk d5866b34dd proc.5: srcfix: Remove obsolete FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:33 +02:00
Michael Kerrisk a5d02d77dc proc.5: Document /proc/sys/vm/overcommit_kbytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk cd7b6c4020 proc.5: Rework discussion of CommitLimit and /proc/sys/vm/overcommit_memory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk eac5ee9244 proc.5: Improve discussion of /proc/sys/vm/overcommit_ratio
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 7c82878a9f proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk e0fdc57cff proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk ef2eb7e0cf proc.5: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 62e4a418f0 proc.5: Rework formatting of /proc/PID/stat list
Make the field numbers more prominent.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 082bf5b895 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 426bc8d725 proc.5: Improve description of /proc/PID/stat fields added in Linux 3.3 and 3.5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 0be30a547f proc.5: Fix kernel version numbers for /proc/PID/stat fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 71eae89536 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
jchaloup 12449ae3a2 proc.5: add missing proc stats fields
Adding missing proc stats fields from https://www.kernel.org/doc/Documentation/filesystems/proc.txt, caption: Table 1-4: Contents of the stat files (as of 2.6.30-rc7). Distribution: Fedora 20. Man-pages: man-pages-3.67.

Signed-off-by: jchaloup <jchaloup@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk afb7b014e2 proc.5: Document /proc/PID/syscall
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 7c2905d1be proc.5: Document /proc/PID/personality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 6975c16e3b proc.5: Note that /proc/PID/cmdline is read-only
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 32d7ef0088 proc.5: Document /proc/PID/comm
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk b3fb99e8d3 proc.5: srcfix: add/update FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 4c69c69283 proc.5: Refer to getauxval(3) in discussion of /proc/PID/auxv
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk 59d566a952 proc.5: Document /proc/kpageflags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk ff56ac8b6f proc.5: Document /proc/kpagecount
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:32 +02:00
Michael Kerrisk b0aa1e5111 proc.5: Document /proc/PID/pagemap
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-10 12:18:31 +02:00
Michael Kerrisk c77eace5b1 iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl.2, getitimer.2, inotify_add_watch.2, open.2, pipe.2, poll.2, sendmmsg.2, set_tid_address.2, shmop.2, signalfd.2, splice.2, syscalls.2, syslog.2, tee.2, vmsplice.2, ether_aton.3, mallopt.3, printf.3, profil.3, charmap.5, proc.5, epoll.7, inotify.7, libc.7, pipe.7, sched.7, socket.7, udplite.7, iconvconfig.8, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:14:48 +02:00
Michael Kerrisk 31987bef1b proc.5: Replace /proc/sys/kernel/printk discussion with reference to syslog(2)
It makes more sense to have the /proc/sys/kernel/printk with
the related material in syslog(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:21 +02:00
Michael Kerrisk a3fc6130b5 proc.5: Rewrite /proc/sys/kernel/printk description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:21 +02:00
Michael Kerrisk 7f8d4d3171 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:20 +02:00
Michael Kerrisk 83114d0ae6 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-23 10:35:20 +02:00
Michael Kerrisk eb9a0b2f75 intro.1, gettimeofday.2, mkdir.2, nice.2, setresuid.2, stime.2, adjtime.3, getttyent.3, proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-18 15:38:13 +02:00
Simon Paillard a1fa36afd2 :eventfd.2, fallocate.2, open.2, sendmmsg.2, signalfd.2, proc.5, sched.7, socket.7, udplite.7: spfix: "behaviour": use American spelling "behavior" instead
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-17 07:27:20 +02:00
Michael Kerrisk 91085d8525 Removed trailing white space at end of lines 2014-06-14 08:03:45 +02:00
Michael Kerrisk df352acc94 proc.5: Add a brief description of /proc/fs
Reported-by: Jan Chaloupka <jchaloup@redhat.com>
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-12 15:15:45 +02:00
Michael Kerrisk 000e10e84b proc.5: srcfix: Remove obsolete FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-31 06:34:58 +02:00
Michael Kerrisk 8660ef9f1d locale.1, adjtimex.2, clone.2, fork.2, getrlimit.2, remap_file_pages.2, set_mempolicy.2, swapon.2, a64l.3, adjtime.3, argz_add.3, bstring.3, envz_add.3, fpathconf.3, fseek.3, gcvt.3, getaddrinfo_a.3, getauxval.3, getnameinfo.3, getrpcent.3, getrpcport.3, getspnam.3, getutent.3, inet.3, inet_net_pton.3, key_setsecret.3, makecontext.3, makedev.3, malloc_trim.3, mq_getattr.3, newlocale.3, nl_langinfo.3, perror.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cleanup_push_defer_np.3, pthread_create.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_sigqueue.3, rcmd.3, re_comp.3, resolver.3, rexec.3, rtime.3, scandir.3, setlocale.3, setnetgrent.3, sigvec.3, tsearch.3, core.5, proc.5, charsets.7, locale.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 15:42:25 +02:00
Michael Kerrisk d5ad4b5838 proc.5: 'pid_max' is a system-wide limit on number of threads and processes
Since PIDs > /proc/sys/kernel/pid_max are not allocated, this
file thus also imposes a system-wide limit on the number of
threads and processes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk fda70f5bf9 proc.5: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:34:11 +02:00
Michael Kerrisk b5408a0f00 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:54:09 +02:00
Michael Kerrisk 723e333ca9 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:48:28 +02:00
Michael Kerrisk d6681273da proc.5: Add /proc/sys/kernel/{sched_rt_period_us,sched_rt_runtime_us}
Reference sched(7) for an explanation of these two files

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 20:45:28 +02:00
Michael Kerrisk d6a569788c proc.5: wsfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-12 08:44:52 +02:00
Michael Kerrisk f9f4b54c4c proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-11 08:59:56 +02:00
Michael Kerrisk 86cf87d741 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-11 08:58:02 +02:00
Michael Kerrisk 726663fd9d bind.2, connect.2, create_module.2, delete_module.2, execve.2, get_robust_list.2, getpriority.2, getrusage.2, init_module.2, link.2, listen.2, mbind.2, open.2, poll.2, query_module.2, readlink.2, recv.2, remap_file_pages.2, sched_setaffinity.2, semop.2, send.2, stat.2, stime.2, syscall.2, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, remquo.3, rtime.3, sched_getcpu.3, stpcpy.3, stpncpy.3, strcasecmp.3, system.3, fd.4, proc.5, ip.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:31:12 +02:00
Michael Kerrisk 4d4188904a proc.5: (Briefly) document /proc/timer_list
Text taken from kernel commit
289f480af87e45f7a6de6ba9b4c061c2e259fe98.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 3c4f7af609 proc.5: Document /proc/timer_stats
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
David Prévot 322d49fb51 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 08:26:01 +02:00
Jan Moskyto Matejka d63ff76e2a proc.5: Improve description of /proc/stat 'intr' field
The sum at the beginning of line "intr" includes also
unnumbered interrupts.

(Change made in kernel commit
a2eddfa95919a730e0e5ed17e9c303fe5ba249cd)

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jan Moskyto Matejka <mq@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Michael Kerrisk e6a110ef57 proc.5: Note kernel version for /proc/sys/kernel/{msgmax,msgmnb}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:51 +02:00
Michael Kerrisk d85d2ed8e6 proc.5: Note kernel version for /proc/sys/kernel/{shmall,shmmax}
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 15:38:51 +02:00
Michael Kerrisk 76e0451c7d proc.5: Document /proc/[pid]/clear_refs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 11:37:14 +02:00
Michael Kerrisk e618d945d2 proc.5: /proc/PID/smaps is present only if CONFIG_PROC_PAGE_MONITOR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:20:30 +02:00
Michael Kerrisk 1f0add2855 proc.5: Minor tweaks to Petr Gajdos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:05:44 +02:00
Petr Gajdos 95fe794d41 proc.5: Improve /proc/[pid]/smaps entries description
Glued together from:

https://www.kernel.org/doc/Documentation/filesystems/proc.txt
https://lkml.org/lkml/2008/9/23/362
https://lkml.org/lkml/2010/8/18/46

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 08:04:35 +02:00
Michael Kerrisk 67aac6fbce proc.5: Document /proc/[pid]/stack
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-09 17:19:02 +02:00
Michael Kerrisk fa1d49a63c Removed trailing white space at end of lines 2014-04-06 08:47:56 +02:00
Michael Kerrisk 43a8bfc677 proc.5: srcfix: added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:12:26 +02:00
Michael Kerrisk b61d8f7a6d proc.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 14:01:16 +01:00
Michael Kerrisk f7c75128c0 proc.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:17 +01:00
Michael Kerrisk 7153dabd0e proc.5: Document /proc/sys/kernel/random/uuid
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-17 09:02:51 +01:00
Michael Kerrisk 68d86eac00 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-16 05:33:25 +01:00
Michael Kerrisk e231acbc56 proc.5: Remove redundant .fi tag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 10:18:13 +01:00
Michael Kerrisk 9f62685ed3 proc.5: srcfix: remove redundant .RE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 10:11:09 +01:00
Michael Kerrisk 275f41e1f0 proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-10 09:59:47 +01:00
Yuri Kozlov 9d54c0875b proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-02-04 10:00:13 +01:00
Michael Kerrisk 182673cff7 proc.5: SEE ALSO: Add some further kernel Documentation/sysctl files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-31 07:03:04 +01:00
David Prévot a87838117c proc.5: spfix: American spelling
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-29 13:51:21 +01:00
Michael Kerrisk 2054f761a6 proc.5: Update discussion of wchan
Remove crufty reference to /etc/psdatabase in /proc/PID/stat.
Add /proc/PID/wchan.

See https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/737452

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-24 11:13:48 +01:00
Michael Kerrisk 1509ca0e37 proc.5: Document /proc/[pid]/timers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:33:23 +01:00
Michael Kerrisk f78ed33a65 madvise.2, perf_event_open.2, query_module.2, stat.2, sem_init.3, hpsa.4, rtc.4, st.4, elf.5, filesystems.5, proc.5, environ.7, man-pages.7, regex.7, units.7: Reword to avoid use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:58:39 +13:00
Michael Kerrisk 14d7071359 lround.3, proc.5: Reword to avoid use of "etc." 2014-01-18 23:58:12 +13:00
Michael Kerrisk d35326474f Removed trailing white space at end of lines 2014-01-11 08:04:54 +13:00
Michael Kerrisk 449dd4e2ab proc.5, unix.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-02 11:49:16 +13:00
Michael Kerrisk d102a67397 proc.5: Fix formula for CommitLimit under /proc/meminfo
See https://bugzilla.kernel.org/show_bug.cgi?id=60991

Reported-by: <sworddragon2@aol.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-02 11:49:15 +13:00
Michael Kerrisk 8fb0ddc0e1 proc.5: Document /proc/sys/kernel/ngroups_max
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-18 11:33:33 +13:00
Michael Kerrisk 11256884de Removed trailing white space at end of lines 2013-09-17 08:27:46 +02:00
Michael Kerrisk f042d149dd proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 16:27:15 +02:00