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
Michael Kerrisk
81fff50bbf
move_pages.2: minor tweaks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 14:26:36 +02:00
Michael Kerrisk
ebbb5118f0
mremap.2: Clarify existence of fifth argument.
...
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 08:07:47 +02:00
Michael Kerrisk
1fd0fa4338
move_pages.2: minor tweak to Andi's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Andi Kleen
cb8fbbcd47
Clarify includes/libraries in move_pages page
...
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Michael Kerrisk
665f1e69cf
sigaction.2: Improve description of various siginfo_t fields
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Andi Kleen
f402032c67
sigaction.2: Document hwpoison signal extensions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk
ca90d3f8b6
cproj.3: Note fix for C99 conformance in glibc 2.12.
...
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk
743e7eb306
ftw.3: Note that if 'fn' changes CWD, the results are undefined
...
Reported-by: Pierre Habouzit <madcoder@madism.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk
bdf1175377
filesystems.5: tfix
...
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Michael Kerrisk
84112433e2
fmemopen.3: Bug fix in example program
...
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Denis Barbier
bb464ec15e
core.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Michael Kerrisk
b2b49ccb2d
select_tut.2: Fix bug in example program
...
Reported-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:10 +02:00
Michael Kerrisk
e409862f64
ftw.3: Clarify description of fpath argument
...
As reported by Pierre Habouzit, 'fpath' is not relative
to 'dirpath'. It is either relative to the calling process's
current working directory (if 'dirpath' was relative), or it
is absolute (if 'dirpath' was absolute).
Reported-by: Pierre Habouzit <madcoder@madism.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 16:33:23 +02:00
Michael Kerrisk
77a2c39741
fopencookie.3: tfix
...
Reported-by: Martin (Joey) Schulze <joey@infodrom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 15:18:03 +02:00
Fang Wenqi
a30508988b
statfs.2: Add definition EXT4_SUPER_MAGIC = 0xEF53
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 15:05:59 +02:00
Jeff Barry
85c716cb9f
filesystems.5: Add discussion of ntfs and ext4
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 14:48:17 +02:00
Yuri Kozlov
84492c365b
setsid.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 14:43:43 +02:00
Michael Kerrisk
57440a987d
getrusage.2: Enhanced description of various fields
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 05:21:17 +02:00
Michael Kerrisk
e3f4bf3ee4
getrusage.2: srcfix: Update change history to note Mark Hills' updates
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 05:21:05 +02:00
Mark Hills
c90ccb4e1b
getrusage.2: Add ru_maxrss
...
See kernel commit 1f10206.
Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:27:40 +02:00
Mark Hills
d1cd1e055a
getrusage.2: Description of maintained fields
...
These descriptions are taken from NetBSD 5.0's getrusage(2).
Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:27:28 +02:00
Petr Baudis
2419294d22
crypt.3: Correct note on key portion significance
...
As Marcel Moreaux notes:
The Linux manpage for crypt()[1] contains the following
statement as the last sentence of the NOTES section:
In the SHA implementation the entire key is significant
(instead of only the first 8 bytes in MD5).
It should probably say "DES" where it says "MD5" (and maybe
"MD5/SHA" where it says "SHA"), because in MD5 password hashing,
the entire key is significant, not just the first 8 bytes.
This patch fixes the wording.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:15:28 +02:00
Petr Baudis
682b505435
opendir.3: Specify feature test macro requirements for fdopendir(3)
...
Currently, there is no note on the fact that fdopendir() is
POSIX.2008-only.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:06:30 +02:00
Michael Kerrisk
3a7c32f47e
timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, getline.3: Add 'L' to constants in feature test macro specifications
...
Be consistent with POSIX, which uses constants such as 200809L.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 03:58:26 +02:00
Michael Kerrisk
b182a7e530
msgop.2: tfix: s/msg_bytes/msg_qbytes/
...
Reported-by: Mihai Paraschivescu <paraschivescu_mihail@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-23 03:19:34 +02:00
Bo Borgerson
179343f9a3
sem_overview.7: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:49:46 +02:00
Yuri Kozlov
904ef0636f
services.5: Remove crufty reference to nonexistent BUGS section
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:46:15 +02:00
Yuri Kozlov
250dc2f0f8
rpc.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:38:49 +02:00
Petr Uzel
2dc48048f4
mount.2: Fix incorrect path
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:32:46 +02:00
Yuri Kozlov
b97deb971e
proc.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:29:25 +02:00
Ivana Hutarova Varekova
7d0db56ed2
sysconf.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:27:11 +02:00
Michael Kerrisk
9b936e9eec
futex.2: Various fixes in SEE ALSO
...
Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-22 05:23:14 +02:00
Michael Kerrisk
028cb0809b
prctl.2: Correct PR_SET_KEEPCAPS description
...
The "keep capabilities" flag only affects the treatment of
permitted capabilities, not effective capabilities.
Also: other improvements to make the PR_SET_KEEPCAPS text clearer.
Reported-by: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-13 06:16:25 +02:00
Michael Kerrisk
623ba005ca
prctl.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-10 05:30:56 +02:00
Michael Kerrisk
12062404f9
mmap.2: Document MAP_UNINITIALIZED flag
...
New in Linux 2.6.33.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-03-13 08:08:06 +01:00