Commit Graph

7586 Commits

Author SHA1 Message Date
Michael Kerrisk ed9821bba0 fcntl.2: Change type of arg from "long" to "int"
Various fcntl(2) commands require an integral 'arg'.
The man page said it must be "long" in all such cases.
However, for the cases covered by POSIX, there is an
explicit requirement that these arguments be "int".
Update the man page to reflect. Probably, all of the
other "long" cases (not specified in POSIX) should
be "int", and this patch makes them so. Based on a
note fromEric Blake, relating to F_DUPFD_CLOEXEC.

Reported-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-30 07:36:20 +13:00
Michael Kerrisk d39a9b9833 ptrace.2: Minor edits to Denys Vlasenko's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-30 06:59:50 +13:00
Denys Vlasenko b16ecdae13 ptrace.2: Various fixes
For some reason, the PTRACE_TRACEME paragraph talks about some
general aspects of ptraced process behavior. It repeats the
"tracee stops on every signal" information even though that was
already explained just a few paragraphs before. Then it describes
legacy SIGTRAP on execve().

This patch deletes the first part, and moves the second part up,
into the general ptrace description. It also adds
"If PTRACE_O_TRACEEXEC option is not in effect" to the description
of the legacy SIGTRAP on execve().

The patch also amends the part which says "For requests other
than PTRACE_KILL, the tracee must be stopped." - PTRACE_ATTACH
also doesn't require that.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-30 06:59:50 +13:00
Michael Kerrisk 52fb468f4a rcmd.3: glibc eventually added a declaration of iruserok() in version 2.12
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-29 12:44:52 +13:00
Michael Kerrisk d2470c5d28 gettid.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-29 12:43:47 +13:00
Michael Kerrisk a4405ff934 clone.2, unshare.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-29 12:43:30 +13:00
Michael Kerrisk 9d5e98fc0e malloc.3: SEE ALSO: add malloc_usable_size(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 6978778cf0 malloc_usable_size.3: New man page for malloc_usable_size(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 54351422de malloc.3: srcfix: remove obsolete FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 16ecf30994 malloc.3, mallopt.3: SEE ALSO: Add malloc_trim(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk a15b0e60b2 malloc_trim.3: New man page for malloc_trim(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 4ca9c75294 Start of man-pages-3.39: updating Changes and Changes.old 2012-03-25 07:50:43 +13:00
Michael Kerrisk eb5e0c0332 Start of man-pages-3.39: updating .Announce and .lsm files 2012-03-25 07:50:43 +13:00
Michael Kerrisk 9eee74fa57 Start of man-pages-3.39: renaming .Announce and .lsm files 2012-03-25 07:50:42 +13:00
Michael Kerrisk fa54cf289d Ready for 3.38 2012-03-25 07:47:21 +13:00
Michael Kerrisk 2e0023cb0d Removed trailing white space at end of lines 2012-03-25 07:47:12 +13:00
Michael Kerrisk 05826f4c23 Changes: Ready for 3.38
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:39:16 +13:00
Michael Kerrisk b2d0b0dab2 packet.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:39:16 +13:00
Michael Kerrisk c86365595d symlinkat.2: PROTOTYPE: Correct header file
Reported-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk d9d62b8f8e copysign.3: DESCRIPTION: Add a couple of examples
Reported-by: Tolga Dalman <tolga.dalman@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk 91efc2b9d8 sigqueue.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk 3045389f28 utimensat.2: PROTOTYPE: Add <fcntl.h> for AT_* constants
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk 4075a06302 unlinkat.2: PROTOTYPE: Add <fcntl.h> for AT_* constants
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk a917d281e5 unlinkat.2: PROTOTYPE: Correct header file
Reported-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk 959c1dc498 symlinkat.2: PROTOTYPE: Correct header file
Reported-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk ba78c947f0 futimesat.2: PROTOTYPE: Correct header file and feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:19:45 +13:00
Michael Kerrisk ea4282fa86 fcntl.2: wfix: /proc/sys/fs/pipe-size-max ==> /proc/sys/fs/pipe-max-size
Reported-by: Matthew Gregan <kinetik@flim.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 06:51:50 +13:00
Michael Kerrisk 567e764a80 tzset.3: Add some clarifying remarks to discussion of Julian day formats
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 06:51:50 +13:00
Peter Schiffer 5a554f8e52 tzset.3: Correct description for Julian 'n' date format
The Julian 'n' date format counts atrting from 0, not 1.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 06:51:31 +13:00
Kirill Brilliantov 79fdc31353 rtnetlink.3: Fix example code, rta_len assignment should use RTA_LENGTH()
See also http://bugs.debian.org/655088

Reported-by: Sergei Zhirikov <sfzhi@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 13:09:01 +13:00
Michael Kerrisk be02e49f7c open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 13:05:14 +13:00
David Prévot a5c725cfd3 ptrace.2: ffix and tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 13:05:14 +13:00
Akihiro MOTOKI a9d8228059 elf.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Denis Barbier 7755958ab2 mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Beňas Petr f16b669665 get_nprocs.3: Link to new get_nprocs_conf.3 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Michael Kerrisk ebae66ebbc get_nprocs_conf.3: Some additions and improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Beňas Petr f9d28c3486 get_nprocs_conf.3: New page documenting get_nprocs_conf(3) and get_nprocs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Michael Kerrisk 8f318249c6 ptrace.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Denys Vlasenko b16d33ef72 ptrace.2: Document PTRACE_GETEVENTMSG for PTRACE_EVENT_EXEC
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Michael Kerrisk 0597933fb0 syscalls.2: Remove unimplemented system calls from main syscall list
The unimplemented system calls are in any case noted lower down
in the page. Also: rearrange the text describing the unimplemented
system calls.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>

syscalls.2: fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:58:59 +13:00
Michael Kerrisk 1d3dc33c72 syscalls.2: Add process_vm_readv(2) and process_vm_writev(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 14:20:26 +13:00
Michael Kerrisk 13f66890a4 syscalls.2: Note a few system calls that were removed in Linux 2.6
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 14:09:47 +13:00
Michael Kerrisk 8f804f14cb posix_memalign.3: Document aligned_alloc(3)
aligned_alloc() is new in C11.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:47:43 +13:00
Michael Kerrisk 8df050d258 aligned_alloc.3: New link to posix_memalign.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:36:15 +13:00
Michael Kerrisk 01657408e1 posix_memalign.3: Rename memalign() argument
Rename "boundary" to "alignment" for consistency
with posix_memalign().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:28:21 +13:00
Michael Kerrisk 5a789d8fff fopen.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:07:52 +13:00
Michael Kerrisk cdd5cd1668 pvalloc.3: New link to posix_memalign.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:39:36 +13:00
Michael Kerrisk 59b0228748 posix_memalign.3: Document pvalloc(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:39:19 +13:00
Michael Kerrisk c36b993251 posix_memalign.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:25:25 +13:00
Michael Kerrisk 287cdf88dc posix_memalign.3: Improve discussion of feature test macros and header files for valloc(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:20:12 +13:00