Commit Graph

2736 Commits

Author SHA1 Message Date
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
Denys Vlasenko 4d12a715f2 ptrace.2: add extended description of various ptrace quirks
Changes include:

s/parent/tracer/g, s/child/tracee/g - ptrace interface now
is sufficiently cleaned up to not treat tracing process
as parent.

Deleted several outright false statements:
- pid 1 can be traced
- tracer is not shown as parent in ps output
- PTRACE_ATTACH is not "the same behavior as if tracee had done
  a PTRACE_TRACEME": PTRACE_ATTACH delivers a SIGSTOP.
- SIGSTOP _can_ be injected.
- Removed mentions of SunOS and Solaris as irrelevant.
- Added a few more known bugs.

Added a large block of text in DESCRIPTION which doesn't focus
on mechanical description of each flag and operation, but rather
tries to describe a bigger picture. The targeted audience is
a person which is reasonably knowledgeable in Unix but did not
spend years working with ptrace, and thus may be unaware of its
quirks. This text went through several iterations of review by
Oleg Nesterov and Tejun Heo.
This block of text intentionally uses as little markup as possible,
otherwise future modifications to it will be very hard to make.

Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-06 08:45:57 +13:00
Michael Kerrisk 18a97acf29 syscalls.2: Note that nfsservctl(2) was removed in Linux 3.1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-05 13:15:52 +13:00
Michael Kerrisk 70a3e2734f syscalls.2: Note that bdflush(2) is deprecated
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-05 13:15:25 +13:00
Michael Kerrisk dcee880f07 nfsservctl.2: Note that this system call was removed in Linux 3.1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-05 13:14:10 +13:00
Michael Kerrisk 966ba49822 bdflush.2: Note that bdflush() is deprecated, and does nothing
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-05 13:14:10 +13:00
Michael Kerrisk b9145b2cab clone.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-03 06:54:00 +13:00
Michael Kerrisk 706b0ab140 Removed trailing white space at end of lines 2012-02-27 14:14:12 +13:00
Michael Kerrisk 1901002c4a fallocate.2, fork.2, open.2, send.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 14:12:16 +13:00
Michael Kerrisk ba9830cfc9 fsync.2: Note that some systems require a writable file descriptor
An edited version of Guillem Jover's comments:
[While the file descriptor does not need to be writable on Linux]
that's not a safe portable assumption to make on POSIX in general
as that behavior is not specified and as such is
implementation-specific. Some Unix systems do actually fail on
read-only file descriptors, for example [HP-UX and AIX].

Reported-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:50:55 +13:00
Michael Kerrisk ad4760331e fsync.2: Minor clean-ups of Christoph's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:50:55 +13:00
Christoph Hellwig 71ae2f4a3f fsync.2: Various improvements
- explain the situation with disk caches better
- remove the duplicate fdatasync() explanation in the NOTES
  section
- remove an incorrect note about fsync() generally requiring two
  writes
- remove an obsolete ext2 example note
- fsync() works on any file descriptor (doesn't need to be
  writable); correct the EBADF error code explanation

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:49:25 +13:00
Michael Kerrisk c0c3d0195d fallocate.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk 7eb92881ee fallocate.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk 54d25ecaec fallocate.2: ERRORS: Add EPERM error case for FALLOC_FL_PUNCH_HOLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk f52e0be8bb fallocate.2: Substantial restructuring of DESCRIPTION
The addition of a second class of operation ("hole punching")
to the man page made it clear that some significant restructuring
is required. So I substantially reworked the page, including the
preexisting material on the default "file allocation" operation.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk 96575bbc0e fallocate.2: Add further details for FALLOC_FL_PUNCH_HOLE
Reported-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Lucian Adrian Grijincu 1c7857e9dd fallocate.2: Document FALLOC_FL_PUNCH_HOLE
FALLOC_FL_PUNCH_HOLE was added in Linux 2.6.38,
for punching holes in the allocated space in a file.

Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk 74819bb2b8 request_key.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk be464b55a0 add_key.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk 174428192d sendmmsg.2: minor changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:11:48 +13:00
Michael Kerrisk 969d3d9e76 sendmmsg.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:10:11 +13:00
Michael Kerrisk 53aeb9c2da send.2: Add mention of sendmmsg(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:10:11 +13:00
Michael Kerrisk 82c182484a sendmmsg.2: New page for sendmmsg(2)
Some pieces inspired by an initial attempt by Stephan Mueller.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:10:11 +13:00
Michael Kerrisk d5563c9427 dup.2: SYNOPSIS: Add "#include <fntl.h>" for O_* constants
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-14 10:19:54 +13:00
Michael Kerrisk 509b5e8b73 pipe.2: SYNOPSIS: Add "#include <fntl.h>" for O_* constants
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659750

Reported-by: Salvo Tomaselli <tiposchi@tiscali.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-14 10:16:21 +13:00
Jessica McKellar 0deb3ce930 open.2: Fix grammar in O_DIRECT description
Some small grammar fixes to the O_DIRECT description.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-13 10:22:05 +13:00
Michael Kerrisk 2b2e0ce503 mremap.2: spfix
Reported-by: Vijay Rao <vijay@portuosus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 22:53:31 +13:00
Michael Kerrisk c799ca6250 sync.2: PROTOTYPE: Fix return type of syncfs()
Reported-by: Simone Piccardi <piccardi@truelite.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 06:01:35 +13:00
Michael Kerrisk f49ee36532 vfork.2: CONFORMING TO: Note that POSIX.1-2001 marked vfork() obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 12:05:46 +13:00