Commit Graph

9032 Commits

Author SHA1 Message Date
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
Michael Kerrisk 4358c621b0 Changes.old: Fix for 3.52 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-05 11:38:53 +02:00
Michael Kerrisk f741925bf2 Start of man-pages-3.53: updating Changes and Changes.old 2013-07-04 13:15:40 +02:00
Michael Kerrisk 702db7139c Start of man-pages-3.53: updating .Announce and .lsm files 2013-07-04 13:15:40 +02:00
Michael Kerrisk dad26f6371 Start of man-pages-3.53: renaming .Announce and .lsm files 2013-07-04 13:15:40 +02:00
Michael Kerrisk 45c8420f6f Ready for 3.52 2013-07-04 12:53:57 +02:00
Michael Kerrisk 51700fd719 Removed trailing white space at end of lines 2013-07-04 12:53:51 +02:00
Michael Kerrisk 0a8f18a044 Changes: Ready for 3.52
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 12:50:45 +02:00
Michael Kerrisk ac9167ae16 execve.2, aio_error.3, aio_return.3, clock_getcpuclockid.3, ctermid.3, ecvt.3, ether_aton.3, rexec.3, signbit.3, timegm.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 10:36:51 +02:00
Peng Haitao 543840ca7b signbit.3: ATTRIBUTES: Note macro that is thread-safe
The macro signbit() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:57 +02:00
Peng Haitao 0a82339877 clock_getcpuclockid.3: ATTRIBUTES: Note function that is thread-safe
The function clock_getcpuclockid() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:48 +02:00
Vince Weaver d1007d147c perf_event_open.2: Update to match the Linux 3.10 release
This patch updates the perf_event_open() documentation to include
new interfaces added in the 3.10 kernel.

It also documents a few [To be documented] instances left over
from the 3.7 kernel.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:12:11 +02:00
Michael Kerrisk af6e5ad89b perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:08:29 +02:00
Vince Weaver 8cc8b90de8 perf_event_open.2 Add PERF_IOC_FLAG_GROUP documentation
The perf_event_open() ENABLE/DISABLE/RESET ioctls can take an
argument, PERF_IOC_FLAG_GROUP.  This wasn't documented at all
until about a year ago (despite the support being there from
the beginning) so I missed this when initially writing
the man page.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:05:48 +02:00
Michael Kerrisk 58c7d0c279 strftime.3: BUGS: 'errno' is not set if the result string would exceed 'max' bytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:24:10 +02:00