Commit Graph

6598 Commits

Author SHA1 Message Date
Michael Kerrisk 5ffadafd3b sigaction.2: Add details for signals sent by POSIX message queue notifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:21:59 +02:00
Michael Kerrisk 80752fa5f3 sigaction.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:09:46 +02:00
Michael Kerrisk affc8cc071 sigaction.2: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 06:08:18 +02:00
Michael Kerrisk c2261e74ca sigaction.2: Add some details for SIGTRAP and si_trapno
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 05:54:21 +02:00
Michael Kerrisk 39efed936a sigaction.2: Add TRAP_BRANCH and TRAP_HWBKPT to si_code values for SIGTRAP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 05:36:01 +02:00
Michael Kerrisk 4176590caf sigaction.2: Rearrange text describing fields set by sigqueue(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 05:23:18 +02:00
Jan Kara 1eeddf2527 quotactl.2: Major updates
Update the page to consolidate information from the
outdated man-pages quotactl.2 page and the quotactl.2
page in the "quota-tools" pachage. The page in "quota-tools"
has now been dropped by Jan Kara, so that there is just one
canonical quotactl.2 page (in pan-pages).

Various other pieces added to the page by mtk.

Reported-by: Petr Gajdos <pgajdos@suse.cz>
Reported-by: Jan Blunck <jblunck@novell.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 04:51:36 +02:00
Michael Kerrisk 245dec52ca open.2, sync_file_range.2, umount.2: Global fix: s/filesystem/file system/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 05:16:42 +02:00
Ivana Hutarova Varekova d71593a99b swapon.2: Note effect of iCONFIG_MEMORY_FAILURE on MAX_SWAPFILES
From 2.6.32, MAX_SWAPFILES is decreased by 1 if the kernel is
built with CONFIG_MEMORY_FAILURE.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 03:49:25 +02:00
Andr Goddard Rosa 3821a5957f vfork.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 03:33:53 +02:00
Andr Goddard Rosa 09d3f6940c posix_fadvise.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-15 03:27:10 +02:00
Michael Kerrisk 9791cc7060 posix_fadvise.2: Add sync_file_rane(2) under SEE ALSO
Reported-by: Manfred Schwarb <manfred99@gmx.ch>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:42:27 +02:00
Michael Kerrisk efe08656e6 open.2: Remove ambiguity in text on NFS and O_EXCL.
Reported-by: David Sommerseth <davids@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:38:26 +02:00
Michael Kerrisk 14f1e036e1 getrusage.2: Replace text describing unused fields
An earlier patch attempted to describe how the unused rusage
fields are used on other systems. But, Mark Hills notes that
that is likely to cause confusion. So, replace that text with
a general statement about why the unused fields are present.

Reported-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:30:17 +02:00
Michael Kerrisk 87f8e275ae getrusage.2: srcfix wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:10:11 +02:00
Michael Kerrisk 503a80c703 getrusage.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 04:09:19 +02:00
Francesco Cosoleto 6e0bcabee7 getpriority.2, nice.2: Move renice from section 8 to section 1
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 03:01:00 +02:00
Francesco Cosoleto 81a8f8e796 msgctl.2, semctl.2, shmctl.2: Move ipcs from section 8 to section 1
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-14 03:00:31 +02:00
Michael Kerrisk b8b3976603 fstatvfs.3: New link to page relocated to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:55:06 +02:00
Michael Kerrisk 3954c907b1 statvfs.2: New link to page relocated to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:54:03 +02:00
Michael Kerrisk 7c19417eca fstatvfs.2: Adjust link to point to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:53:26 +02:00
Michael Kerrisk 33a93cdf66 statvfs.2: Move this page to section 3 (since it's a library call)
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:51:45 +02:00
Michael Kerrisk 1e7351d41f statfs.2: Bring statfs struct type declarations closer to glibc reality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:45:16 +02:00
Michael Kerrisk 2ff07a1e5f statfs.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:30:04 +02:00
Michael Kerrisk b7b46bf606 statfs.2: Document f_frsize field.
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:29:29 +02:00
Michael Kerrisk 402ffae30d udp.7: Add FIONREAD warning.
Warn that FIONREAD can't can't distinguish case of a zero-length
datagram from the case where no datagrams are available.

Reported-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:00:58 +02:00
Jan Engelhardt be62f42148 log.3, log10.3, log2.3: Add cross-references to other-base logarithmic functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:40:35 +02:00
Michael Kerrisk e2ec4f17cd socket.7: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:31:58 +02:00
Michael Kerrisk fa574567cc socket.7: Use consistent language to describe read-only socket options
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:26:57 +02:00
Jan Engelhardt dd2127e08c socket.7: Document SO_DOMAIN and SO_PROTOCOL
These read-only socket options were new in Linux 2.6.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:21:37 +02:00
Michael Kerrisk 8b3f5f5989 openpty.3: Explicitly note that these functions are not in POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:47:33 +02:00
Michael Kerrisk 49c32f8f9c openpty.3: Note glibc version that added "const" to function arguments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:45:46 +02:00
Michael Kerrisk ba65815c96 openpty.3: srcfix: remove redundant comment from source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:43:44 +02:00
Eric Blake 671c2ab44b openpty.3: Use const as appropriate
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:40:51 +02:00
Michael Kerrisk 70bf963fb5 getline.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:07:51 +02:00
Robert Wohlrab 7a4a822133 getline.3: Remove unneeded check before free()
The manpage of getline shows an example with an extra NULL pointer check
before it calls free. This is unneeded according to free(3):

     If ptr is NULL, no operation is performed.

This patch removes the "if" check.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572508

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:05:02 +02:00
Michael Kerrisk 9f864ad204 getline.3: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:00:57 +02:00
Michael Kerrisk 9b50d25153 getline.3: wsfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:59:07 +02:00
Michael Kerrisk 7edfdaca06 signal.7: Make a clearer statement about nonportable aspect of signal(2)
Make a clearer statement that signal(2) is less portable for
establishing a signal handler.

Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:53:29 +02:00
Michael Kerrisk 8d4eb5f87e signal.7: Minor wording tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:49:24 +02:00
Michael Kerrisk 13a36929ad recv.2: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:42:50 +02:00
Yuri Kozlov 687b7c838d pread.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:35:03 +02:00
Andi Kleen f01470e6e3 migrate_pages.2: New page documenting migrate_pages(2).
Andi's text based on the move_pages.2 page; additional edits by mtk.
migrate_pages(2) was new in Linux 2.6.16.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:27:49 +02:00
Michael Kerrisk b8c599cba0 poll.2: Fix discussion of ppoll() timeout argument
1. Rename ppoll)(_ argument to "timeout_ts" to distinguish it
   from the poll() argument in the text.
2. More accurately describe the poll() call that is equivalent
   to ppoll().

Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:15:00 +02:00
Andi Kleen ed31c5727f prctl.2: Document the hwpoison prctls in 2.6.32
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:47:27 +02:00
Michael Kerrisk c7fb034b88 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:37:20 +02:00
Michael Kerrisk ed71412616 proc.5: Document CONFIG_MEMORY_FAILURE
This config option is needed to make memory_failure_early_kill
and memory_failure_recovery available.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:36:27 +02:00
Michael Kerrisk 3dd0750093 proc.5: Document /proc/sys/vm/memory_failure_recovery
New in Linux 2.6.32.  Description based on the text in
Documentation/sysctl/vm.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:33:03 +02:00
Michael Kerrisk 3477f9f628 proc.5: Document /proc/sys/vm/memory_failure_early_kill
New in 2.6.32. Description based on the text in
Documentation/sysctl/vm.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:29:37 +02:00
Michael Kerrisk 4f6c65333e proc.5: Minor fix: put /proc/sys/vm/swappiness in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:14:27 +02:00