Commit Graph

9046 Commits

Author SHA1 Message Date
Michael Kerrisk ab5deaea0d fchownat.2, fstatat.2, linkat.2, capabilities.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:12:07 +02:00
Michael Kerrisk a3041a5894 open.2: Remove warning that O_DIRECTORY is only for use with opendir(3)
O_DIRECTORY can also be used with, for example, O_PATH.

Reorted-by: Geoffrey Thomas <gthomas@mokafive.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:03 +02:00
Michael Kerrisk 09f677a344 open.2: Note that fcntl(F_GETFL) can also be used on O_PATH descriptor
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:03 +02:00
Michael Kerrisk f22e7f8016 open.2: srcfix: remove FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:03 +02:00
Michael Kerrisk a537062ef5 capabilities.7: Add open_by_handle_at(2) under CAP_DAC_READ_SEARCH
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:02 +02:00
Michael Kerrisk 1135dbe188 open.2: Document O_PATH
See also https://bugzilla.redhat.com/show_bug.cgi?id=885740

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:02 +02:00
Michael Kerrisk fd53da3318 fchownat.2: Document AT_EMPTY_PATH
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:02 +02:00
Michael Kerrisk 3fd3e05413 fstatat.2: Document AT_EMPTY_PATH
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:02 +02:00
Michael Kerrisk 5ad04066f7 linkat.2: Document AT_EMPTY_PATH
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:02 +02:00
Michael Kerrisk 80b0c433c5 readlinkat.2: Document use of empty 'pathname' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 23:11:02 +02:00
Michael Kerrisk 260c8fcdc6 ld.so.8: Add reference to pthreads(7) in discussion of LD_ASSUME_KERNEL
Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 22:14:36 +02:00
Simon Paillard 01a900f06e console_ioctl.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 22:07:45 +02:00
David Prévot 22367af238 bootparam.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 22:07:05 +02:00
David Prévot 99e6c7cb38 bootparam.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 22:06:55 +02:00
Peter Schiffer 12c7179195 futex.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-20 22:05:40 +02:00
Andrey Vagin ff01b23214 ptrace.2: Place GETSIGINFO and SETSIGINFO near each other
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 03:13:13 +02:00
Simon Paillard e16a265405 resolv.conf.5: Explain how to set empty domain
See http://bugs.debian.org/463575

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Chuck Coffing c1de8e3e30 Fix possible race condition in readlink.2 example
I noticed that the example in the readlink.2 man pages does error
checking for a race condition that would cause the value of the
symbolic link to get larger.  However, it doesn't handle the
opposite case, in which the value gets shorter.  (The NULL
terminator is always set at the old, longer offset.)  This could
cause the program to operate on uninitialized data.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Michael Kerrisk 4b80b37c54 readlink.2: Change error check in example program from "< 0" to "== -1"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Simon Paillard e6c6110c13 getmntent.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Vince Weaver e30dc77f5c perf_event_open.2: Improve sysfs files documentation
This improves the documentation of the various
perf_event_open()-related sysfs files.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Vince Weaver dbc01ecdff perf_event_open.2: Update PERF_IOC_FLAG_GROUP info
It turns out PERF_IOC_FLAG_GROUP was broken from 75f937f24bd9
(in Linux 2.6.31, the initial perf_event release) until
724b6daa1 (Linux 3.4).

I've done some extensive kernel source code digging plus
running tests of various kernels and I hope the info
presented is accurate now.

(Patch edited somewhat by mtk.)

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Simon Paillard 6a387d0ecb qecvt.3: wfix phrasing
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Simon Paillard d2dca89de0 getpwnam.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao 676420f26c fflush.3: ATTRIBUTES: Note function that is thread-safe
The function fflush() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao be9883929d fdim.3: ATTRIBUTES: Note functions that are thread-safe
The functions fdim(), fdimf() and fdiml() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk 3f2f2461b2 ld.so.8: Describe $PLATFORM rpath token
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk 909df276e9 ld.so.8: Describe $LIB rpath token
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk eeb25d4700 ld.so.8: Rework rpath token expansion text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk 2216fac709 ld.so.8: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk 70e26d29dc ld.so.8: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk d4284a6088 ld.so.8: Document LD_BIND_NOT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Denys Vlasenko 29f9b8fb31 ptrace.2: If SEIZE was used, initial auto-attach stop is EVENT_STOP
For every PTRACE_O_TRACEfoo option, mention that old-style SIGSTOP
is replaced by PTRACE_EVENT_STOP if PTRACE_SEIZE attach was used.

Mention the same thing again in the description of
PTRACE_EVENT_STOP.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Michael Kerrisk ad84c54302 ptrace.2: Minor fixes to patches from Denys Vlasenko
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Denys Vlasenko 8da59274b4 ptrace.2: Clarify PTRACE_INTERRUPT, PTRACE_LISTEN, and group-stop behavior
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Denys Vlasenko 78686915ae ptrace.2: Mention that PTRACE_PEEK* libc API and kernel API are different
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao 0d9df44eaa fabs.3: ffix
"The fabs() functions" should be replaced with "These functions".

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao 594e3173f7 fabs.3: ATTRIBUTES: Note functions that are thread-safe
The functions fabs(), fabsf() and fabsl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 444f1c6c8e _syscall.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 945e9d50f7 strcoll.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 9c1b6f337f console_ioctl.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 4db45694f4 bootparam.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 1322e836d3 bootparam: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 21e79503ab bootparam.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Vince Weaver 6061d29f3d perf_event_open.2: tfix
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Michael Kerrisk baf7029bac perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Vince Weaver 045bf4d3db perf_event_open.2: Improve PERF_SAMPLE_BRANCH_STACK documentation
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:25 +02:00
Peng Haitao a877cf9226 div.3: ATTRIBUTES: Note functions that are thread-safe
The functions div(), ldiv(), lldiv() and imaxdiv() are thread
safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:24:30 +02:00
Peng Haitao 70d8c4cbcf dirfd.3: ATTRIBUTES: Note function that is thread-safe
The function dirfd() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:23:37 +02:00
Michael Kerrisk 07bfe93f85 setpgid.2: s/SIGTSTP/SIGTTIN/ when discussing reads from terminal
See https://bugzilla.kernel.org/show_bug.cgi?id=60504

Reported-by: graud@gmx.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:20:12 +02:00