Commit Graph

9214 Commits

Author SHA1 Message Date
Michael Kerrisk d806bc0518 clock_nanosleep.2, futex.2, nanosleep.2, poll.2, sigaction.2, sigreturn.2, signal.7: SEE ALSO: add restart_syscall(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-30 05:21:20 +02:00
Michael Kerrisk 92f30072c8 restart_syscall.2: New page for restart_syscall(2) system call
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-30 05:08:16 +02:00
Benjamin Poirier 47bf54b247 udp.7: Add missing #include directive
Using the UDP_CORK socket option documented in udp.7 requires
including <netinet/udp.h>.

Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-27 12:17:36 +02:00
Vince Weaver 98f3e7ccfa perf_event_open.2: Fix indentation of the MMAP layout section
The indentation of the MMAP layout section wasn't quite right.
I think this improves things but I admit I'm not an expert at the
low-level indentation directives.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-27 12:15:20 +02:00
David Prévot bc4fc8e0d5 perf_event_open.2: cfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-27 12:14:31 +02:00
Michael Kerrisk 3c4e1fb27a man-pages.7: DESCRIPTION should note versions for new interface features or behavior
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-24 04:33:49 +02:00
Peng Haitao 343a2c3bda floor.3: ATTRIBUTES: Note functions that are thread-safe
The functions floor(), floorf() and floorl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:27:35 +02:00
Peng Haitao 3cdc8f5719 flockfile.3: ATTRIBUTES: Note functions that are thread-safe
The functions flockfile(), ftrylockfile() and funlockfile() are
thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:26:59 +02:00
David Prévot 460e3d7a3e perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:25:15 +02:00
Simon Paillard ea01d88618 argz_add.3: ffix, actually revert of 5049da5b
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 20:51:05 +02:00
Michael Kerrisk ef74d4ad5e ld.so.8: Minor changes in LD_ASSUME_KERNEL text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 20:25:37 +02:00
Peng Haitao 5ad225a328 finite.3: Minor wording improvement
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 19:13:22 +02:00
Michael Kerrisk 4d553950e7 clog2.3: Note that these functions are still not present in glibc 2.17
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 19:07:11 +02:00
Peng Haitao 77aa3ddceb finite.3: ATTRIBUTES: Note functions that are thread-safe
The functions finite(), finitef(), finitel(), isinf(), isinff(),
isinfl(), isnan(), isnanf() and isnanl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:58:06 +02:00
Peng Haitao 1e88bbc083 encrypt.3: wfix phrasing
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:46:34 +02:00
Peter Schiffer 13a082cb40 open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:44:48 +02:00
Michael Kerrisk 122a101a27 bootparam.7: wfix
Reported-by: Chris Heath <chris@heathens.co.nz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 00:14:10 +02:00
Michael Kerrisk 107375cfae inotify.7: Clarify description of IN_MOVED_FROM and IN_MOVED_TO
Reported-by: Felix_Schulte@McAfee.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-21 00:26:42 +02:00
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