Commit Graph

605 Commits

Author SHA1 Message Date
Michael Kerrisk 6b4dbb25e9 delete_module.2, epoll_create.2, getpeername.2, getpriority.2, getrlimit.2, getunwind.2, init_module.2, kcmp.2, mmap.2, perf_event_open.2, perfmonctl.2, prctl.2, s390_runtime_instr.2, timerfd_create.2, vfork.2, getaddrinfo_a.3, getenv.3, if_nameindex.3, if_nametoindex.3, mcheck.3, pthread_setname_np.3, scanf.3, cciss.4, hpsa.4, core.5, gai.conf.5, networks.5, nscd.conf.5, nss.5, aio.7, arp.7, numa.7, socket.7, udplite.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 18:45:32 +01:00
Michael Kerrisk 366ffff433 nss.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 13:06:38 +01:00
Michael Kerrisk 86270a28cc gai.conf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-18 13:05:52 +01:00
Michael Kerrisk b887a9d250 nss.5: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:30 +01:00
Ulrich Drepper f387a2942a nss.conf.5: New page describing nss.conf
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:09:29 +01:00
Michael Kerrisk 5f86385e27 gai.conf.5: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:00:10 +01:00
Ulrich Drepper d97d06f750 gai.conf.5: New page documenting gai.conf
Taken from Red Hat downstream pages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 23:00:10 +01:00
Michael Kerrisk 36127c0e91 Removed trailing white space at end of lines 2013-02-12 04:52:43 +01:00
Michael Kerrisk f92c739920 nsswitch.conf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 04:36:12 +01:00
Peter Schiffer 1b0f58cdaa nsswitch.conf.5: Mention initgroups db
Attached patch mentions initgroups db, which was added to the
glibc in commit [1] and describes unexpected behaviour for
group database with notfound status and return action, based
on comment on line 135 in initgroups.c file [2]. More detailed
explanation of this behaviour can be found in email [4] of email
thread [3].

See https://bugzilla.kernel.org/show_bug.cgi?id=53671

[1] http://sourceware.org/git/?p=glibc.git;a=commit;h=9f2da732e7b03825027462dd1c46f8b4d18fc1f5
[2] http://sourceware.org/git/?p=glibc.git;a=blob;f=grp/initgroups.c;h=62fd1fc6de5f9ea08f31134c5ab9a36ae2d5af9e;hb=HEAD
    /* For compatibility reason we will continue to look for more
       entries using the next service even though data has already
       been found if the nsswitch.conf file contained only a 'groups'
       line and no 'initgroups' line.  If the latter is available
       we always respect the status.  This means that the default
       for successful lookups is to return.  */
[3] http://thread.gmane.org/gmane.linux.man/2609
[4] http://article.gmane.org/gmane.linux.man/2620

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 04:36:12 +01:00
Michael Kerrisk 683c5f7080 nscd.conf.5: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 04:35:49 +01:00
Peter Schiffer 44f3a7d766 nscd.conf.5: Add max-db-size and auto-propagate descriptions, default values, + misc
* added missing valid services (services and netgroup)
 * added many default values for options
 * reordered options according to the nscd.conf file
   (logical order)
 * added 2 missing options: max-db-size and auto-propagate

All changes are based on nscd.conf file [1] and source code for
nscd [2] (e.g.  nscd.h for default values, etc.)

Original email for this update can be found here [3], however
patch attached to this bugzilla is newer.

See https://bugzilla.kernel.org/show_bug.cgi?id=53661

[1] http://sourceware.org/git/?p=glibc.git;a=blob;f=nscd/nscd.conf;hb=HEAD
[2] http://sourceware.org/git/?p=glibc.git;a=tree;f=nscd;hb=HEAD
[3] http://thread.gmane.org/gmane.linux.man/2970

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 04:35:49 +01:00
Michael Kerrisk be91a35ccd resolv.conf.5: ffix + spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 03:52:40 +01:00
Michael Kerrisk 96d1766a79 fork.2, getpriority.2, ioprio_set.2, sched_setparam.2, sched_setscheduler.2, shmop.2, sigaction.2, unimplemented.2, makecontext.3, sysconf.3, resolv.conf.5, cpuset.7, ip.7, svipc.7, termio.7, zdump.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 03:51:12 +01:00
Michael Kerrisk caea78683b proc.5: Document /proc/profile
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 02:26:55 +01:00
Michael Kerrisk 6783422cfd utmp.5: SEE ALSO: add utmpdump(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:29:35 +01:00
Michael Kerrisk a091f002ce proc.5: Mention lscpu(1) under discussion of /proc/cpuinfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-12 00:14:51 +01:00
Michael Kerrisk 0e42c7a40a proc.5: Note message written to kernel log when file-max limit is hit
Info from Documentation/sysctl/fs.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 00:21:49 +01:00
Michael Kerrisk a787b1cfdc proc.5: Clarify relationship between file-max and file-nr
The third value in /proc/sys/fs/file-nr is the same as
the value in /proc/sys/fs/file-max.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 00:19:13 +01:00
Michael Kerrisk 81c8edbc08 proc.5: Update /proc/sys/fs/file-nr to include Linux 2.6 details
Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-11 00:00:47 +01:00
Michael Kerrisk aa87a3f3f8 resolv.conf.5: Document "single-request-reopen" option
Taken from Red Hat downstream patch

See https://bugzilla.redhat.com/show_bug.cgi?id=717770
See http://thread.gmane.org/gmane.linux.man/3161

Reported-by: Peter Schiffer <pschiffe@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-10 04:34:36 +01:00
David Prévot 0633f951d1 proc.5: ffix and tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-30 07:59:35 +01:00
Michael Kerrisk 9f1b972601 Removed trailing white space at end of lines 2013-01-27 21:28:25 +01:00
Michael Kerrisk 3fc441b2b9 fallocate.2, kcmp.2, link.2, listxattr.2, mkdir.2, mknod.2, open.2, ptrace.2, query_module.2, rename.2, symlink.2, write.2, mkfifo.3, core.5: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-27 21:27:57 +01:00
Michael Kerrisk c4b5c11060 proc.5: Rewording of suid_dumpable text after comments from Kees Cook
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-13 10:08:01 +01:00
Michael Kerrisk 4b749a1204 core.5, proc.5: Minor edits to Kees Cook's suid_dumpable patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-13 10:07:48 +01:00
Kees Cook 8c897fc6b2 core.5, proc.5: Clarify suid_dumpable versus core_pattern
In Linux 3.6, additional requirements were placed on core_pattern
when suid_dumpable is set to 2. Document this and include commit
references.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-12 11:30:24 +01:00
Kees Cook bc88143e1a proc.5: Linux 3.4 changed permissions needed to change kptr_restrict
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 12:55:49 +01:00
Kees Cook a1da75e7d6 proc.5: Document /proc/sys/kernel/dmesg_restrict
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 12:52:03 +01:00
Kees Cook 25fc6a84b8 proc.5: Put /proc/sys/kernel/hotplug in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-01-11 12:46:57 +01:00
Michael Kerrisk 1285ff3d2d lseek.2, read.2, setsid.2, vhangup.2, getttyent.3, login.3, openpty.3, console_codes.4, console_ioctl.4, securetty.5, signal.7: Global fix: s/tty/terminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:54:44 +01:00
Michael Kerrisk 60947e72d6 ttytype.5: Add proper xref for termcap and terminfo pages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:54:44 +01:00
Michael Kerrisk 2806f68e28 shells.5: Add /etc/bash to list of example shells
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:33:38 +01:00
Michael Kerrisk d1fc9433bb shells.5: Minor wording updates
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 21:33:11 +01:00
Michael Kerrisk cb42fb5682 proc.5: Add field numbers for /proc/[pid]/statm
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553413

Reported-by: Samuel Thibault <sthibault@debian.org>
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Justin Lebar 04dcb3c8f8 proc.5: statm's "shared" field refers to pages backed by files
I noticed that statm's "shared" field doesn't match the sum of
all the "shared" entries in smaps [1].

The kernel docs explain that statm's "shared" field is "number of
pages that are shared (i.e. backed by a file)" [2].  smaps appears
to call a page shared if it's mapped by at least two processes,
which explains this discrepancy.

I'm not a kernel hacker, but it appears to me they do mean "i.e."
and not "e.g." in the statm description: In
fs/proc/task_mmu.c::task_statm, I see

    *shared = get_mm_counter(mm, MM_FILEPAGES);

Here's a patch which updates the man page to match the (hopefully
correct) kernel docs.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=807181
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/filesystems/proc.txt;h=a1793d670cd01bd374eddf54ffdfc768504291ff;hb=HEAD

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk 4cb1deb76f proc.5: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk e04a1f931d proc.5: srcfix: Update FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk d4fd412082 proc.5: Document /proc/stat "cpu" "nice_guest" field
Info taken from commit ce0e7b28fb75cb003cfc8d0238613aaf1c55e797

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:50 +01:00
Michael Kerrisk ea0841f6c2 proc.5: Add numbering to /proc/stat "cpu" fields
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553413

Reported-by: Samuel Thibault <sthibault@debian.org>
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 23:47:43 +01:00
Michael Kerrisk ae3b804737 proc.5: Reorganize text describing /proc/stat "cpu" fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 20:36:20 +01:00
Michael Kerrisk aa610245c8 proc.5: Add field numbers for /proc/PID/stat
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553413

Reported-by: Samuel Thibault <sthibault@debian.org>
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-26 20:16:08 +01:00
David Prévot 1f6aa3ea7b proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-23 18:51:43 +01:00
Michael Kerrisk f2c8b197ae proc.5: Document /prod/[pid]/oom_score_adj
Text taken directly from Documentation/filesystems/proc.txt,
with some light editing.

See https://bugzilla.kernel.org/show_bug.cgi?id=50421

Reported-by: Peter Lekeynstein <lekensteyn@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00
Michael Kerrisk de8e9cc1a0 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-22 02:40:06 +01:00
Felipe Pena cab67c641a elf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-19 00:49:48 +01:00
Michael Kerrisk e1282f176c proc.5: Note change of /proc/[pid]/limits file permissions in 2.6.36
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-24 09:14:31 +01:00
Michael Kerrisk c16d4f25c7 proc.5: Correct description of SwapFree in /proc/meminfo
Reported-by: Jim Paris <jim@jtan.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-16 07:58:27 +01:00
Michael Kerrisk 46fbfc072b proc.5: tfix
Reported-by: Jim Paris <jim@jtan.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-16 07:28:27 +01:00
Simon Paillard b1171e214e resolv.conf.5: Document IPv6 format for nameserver
See: http://bugs.debian.org/610036
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-11-11 12:08:29 +01:00