Commit Graph

2765 Commits

Author SHA1 Message Date
Michael Kerrisk 72bbde85be epoll_wait.2: Clarify that epoll_pwait() blocks calling *thread*
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 284976f891 epoll_wait.2: Minor change: add explicit reference to epoll(7) at start of DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk fde633deb6 epoll_create.2: Rework discussion of 'size' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 6b6f540407 epoll_create.2: Add .SS for description of epoll_create1()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 5f4e9d5acd epoll_create.2: Minor change: add explicit reference to epoll(7) at start of DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 78d1cbdec8 epoll_ctl.2: Minor change: add explicit reference to epoll(7) at start of DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk f1e90ec441 gettimeofday.2: Note that compiler issues warnings if 'tv' is NULL
Reported-by: Felix <fkater@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-12 13:16:49 +12:00
Michael Kerrisk d5c4e19747 gettimeofday.2: Reorganize content
The main change is to move the historical information about
the 'tz_dsttime' to NOTES.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-12 13:10:57 +12:00
Michael Kerrisk dff6bb1919 sigaction.2: Clarify that the use of SI_SIGIO is for Linux 2.2 only
See also http://sourceware.org/bugzilla/show_bug.cgi?id=6745

Reported-by: Andreas Jaeger <aj@suse.com>
Reported-by: <who@connect.carleton.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-12 11:47:43 +12:00
Michael Kerrisk d53de2a707 select.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-12 05:44:52 +12:00
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 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 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 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 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
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
Bjarni Ingi Gislason a92d3bb413 keyctl.2: Strip trailing tabs from source line
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664688

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-21 06:54:30 +13:00
Michael Kerrisk a17e05c5e0 ptrace.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-20 07:45:58 +13:00
Denys Vlasenko f098951d39 ptrace.2: Various fixes to recent updates of this page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-20 07:45:53 +13:00
David Prévot 381ee84e1a fallocate.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-20 07:44:29 +13:00
Michael Kerrisk 01b844cc10 rt_sigqueueinfo.2, iswctype.3, longjmp.3: Minor fix: add Section number to page xref
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:58:10 +13:00
Michael Kerrisk 02cb2646e0 rt_sigqueueinfo.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:46:10 +13:00
Michael Kerrisk c90561d7bb rt_sigqueueinfo.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:45:27 +13:00
Michael Kerrisk 3ba9126c04 rt_sigqueueinfo.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:44:55 +13:00
Michael Kerrisk 6030f2d859 add_key.2, keyctl.2, request_key.2, offsetof.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_cleanup_push_defer_np.3, pthread_equal.3, pthread_exit.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_self.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_testcancel.3: Global formatting fix: balance .nf/.fi pairs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:37:22 +13:00
Michael Kerrisk c9f2ff9d7e _exit.2, chmod.2, abs.3, cbrt.3, mkdtemp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:22:05 +13:00
Michael Kerrisk 2bfa8272f0 intro.2, btowc.3, intro.3, pthread_sigqueue.3: Correct order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 03:58:56 +13:00
Michael Kerrisk 7a5b06940e vfork.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 03:50:13 +13:00
Michael Kerrisk f23cc1df32 ptrace.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-10 06:30:59 +13:00
Michael Kerrisk 66d90115ca utimensat.2, wait.2, end.3: srcfix: remove duplicate words in comments
Reported-by: Justin T Pryzby <justinp@norchemlab.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-09 04:26:06 +13:00
Michael Kerrisk d6e37473a1 Removed trailing white space at end of lines 2012-03-06 08:54:38 +13:00
Michael Kerrisk b8d02d5633 ptrace.2: Further improvements after review by Denys Vlasenko
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00
Michael Kerrisk a42c0c5a19 ptrace.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00
Michael Kerrisk dc85ba7ce5 ptrace.2: Integrated changes after further review from Denys Vlasenko
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00
Michael Kerrisk 8898a252ad ptrace.2: Integrated changes after review from Denys Vlasenko
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00
Michael Kerrisk 181f997f23 ptrace.2: Global clean-up of page
* Wording and formatting fixes to existing text and
  Denys Vlasenko's new text.
* Various technical amendments and improvements to
  Denys Vlasenko's new text.
* Added FIXME for various problems with the current text.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00
Michael Kerrisk 8b20acd1aa ptrace.2: srcfix: Wrap lines at sentence boundaries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00