Commit Graph

10401 Commits

Author SHA1 Message Date
Michael Kerrisk 079928f31c perf_event_open.2: Minor wording fixes for EACCES error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:38:34 +02:00
Peng Haitao 738e78b2c9 pthread_attr_setguardsize.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setguardsize() and
pthread_attr_getguardsize() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:40 +02:00
Peng Haitao 681f627eee pthread_attr_setdetachstate.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setdetachstate() and
pthread_attr_getdetachstate() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:35 +02:00
Peng Haitao 7eea6fc323 ffs.3: ATTRIBUTES: Note functions that are thread-safe
The functions ffs(), ffsl() and ffsll() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:30 +02:00
Peng Haitao ec3f0bf778 sigsetops.3: ATTRIBUTES: Note functions that are thread-safe
The functions sigemptyset(), sigfillset(), sigaddset(),
sigdelset(), sigismember(), sigisemptyset(), sigorset() and
sigandset() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:23 +02:00
Peng Haitao e3de721c1a makecontext.3: ATTRIBUTES: Note functions that are thread-safe
The functions makecontext() and swapcontext() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:16 +02:00
David Prévot f360dbe83d locale.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:25:18 +02:00
David Prévot 8a9849f29e toupper.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:24:30 +02:00
Michael Kerrisk 5589160a7e locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:23:06 +02:00
Yuri Kozlov 49b3d95508 locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:21:34 +02:00
Michael Kerrisk 7c5ca6668f malloc.3: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 06:54:27 +02:00
Michael Kerrisk 76e0451c7d proc.5: Document /proc/[pid]/clear_refs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 11:37:14 +02:00
Michael Kerrisk e618d945d2 proc.5: /proc/PID/smaps is present only if CONFIG_PROC_PAGE_MONITOR
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:20:30 +02:00
Michael Kerrisk 1f0add2855 proc.5: Minor tweaks to Petr Gajdos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 09:05:44 +02:00
Petr Gajdos 95fe794d41 proc.5: Improve /proc/[pid]/smaps entries description
Glued together from:

https://www.kernel.org/doc/Documentation/filesystems/proc.txt
https://lkml.org/lkml/2008/9/23/362
https://lkml.org/lkml/2010/8/18/46

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-12 08:04:35 +02:00
Michael Kerrisk a61dba3485 perf_event_open.2: Minor clarification to close-on-exec text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:54:25 +02:00
Michael Kerrisk accec05152 perf_event_open.2: Minor clean-ups after Vince Weaver's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:50:15 +02:00
Vince Weaver d8b7d950dd perf_event_open.2 -- expand ERRORS section
Expand the perf_event_open.2 ERRORS section to be more comprehensive.

These were determined both by code inspection and by writing a large
number of test programs.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:24:25 +02:00
Peng Haitao 9ac2ef8325 getcontext.3: ATTRIBUTES: Note functions that are thread-safe
The functions getcontext() and setcontext() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:19:10 +02:00
Peng Haitao b727421c8c getauxval.3: ATTRIBUTES: Note function that is thread-safe
The function getauxval() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:18:52 +02:00
Peng Haitao e511c66a5b getutmp.3: ATTRIBUTES: Note functions that are thread-safe
The functions getutmp() and getutmpx() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:18:27 +02:00
Peng Haitao 631f7a0962 getsubopt.3: ATTRIBUTES: Note function that is thread-safe
The function getsubopt() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:18:16 +02:00
Peng Haitao 7998494a13 byteorder.3: ATTRIBUTES: Note functions that are thread-safe
The functions htonl(), htons(), ntohl() and ntohs() are thread
safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:17:48 +02:00
Simon Paillard a03c016c7d isalpha.3, stat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:15:37 +02:00
Simon Paillard 5ee5df69ac isalpha.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:14:52 +02:00
Michael Kerrisk 6549664445 open.2: Remove crufty text stating that O_DIRECTORY is Linux-specific
Reported-by: Matthew Dempsky <mdempsky@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:11:50 +02:00
David Prévot 509a10ef17 man3/mbstowcs.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:00:09 +02:00
David Prévot 2654d1a86f duplocale.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 20:59:32 +02:00
Michael Kerrisk cde2074a45 open.2: Note which filesystems support O_TMPFILE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 06:30:24 +02:00
Michael Kerrisk 67aac6fbce proc.5: Document /proc/[pid]/stack
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-09 17:19:02 +02:00
Michael Kerrisk e8a700f9ae capabilities.7: SEE ALSO: add capsh(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-09 15:27:32 +02:00
Michael Kerrisk aae0d23ff9 Changes.old: Fix for 3.64 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 11:59:29 +02:00
Michael Kerrisk 7d0370e4a0 Changes.old: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 11:58:57 +02:00
Michael Kerrisk 823c9b6723 Changes.old: Minor fir to 3.64 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 11:55:49 +02:00
Michael Kerrisk d0d5dfd311 Start of man-pages-3.65: updating Changes and Changes.old 2014-04-06 09:08:21 +02:00
Michael Kerrisk 2b888c410e Start of man-pages-3.65: updating .Announce and .lsm files 2014-04-06 09:08:21 +02:00
Michael Kerrisk f528cce81e Start of man-pages-3.65: renaming .Announce and .lsm files 2014-04-06 09:08:21 +02:00
Michael Kerrisk 7c4a9780ae Ready for 3.64 2014-04-06 08:48:02 +02:00
Michael Kerrisk fa1d49a63c Removed trailing white space at end of lines 2014-04-06 08:47:56 +02:00
Michael Kerrisk 479173952e Changes: Expanded tabs 2014-04-06 08:47:55 +02:00
Michael Kerrisk b8dbf73de8 bdflush.2, fsync.2, mmap.2, open.2, perf_event_open.2, sync.2, syscall.2, fmemopen.3, getaddrinfo.3, getline.3, mq_notify.3, offsetof.3, aio.7, symlink.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:47:35 +02:00
Michael Kerrisk 567572a7d7 Changes: Ready for 3.64
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:43:00 +02:00
Michael Kerrisk f8f8b9c1f6 termios.3: Add descriptive titles to noncanonical read() cases
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:51 +02:00
Michael Kerrisk a9f0126fa6 termios.3: Clarify termination conditions for MIN > 0, TIME > 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:51 +02:00
Michael Kerrisk e764d1b79d termios.3: Clarify behavior if data is available before noncanonical read()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:51 +02:00
Michael Kerrisk 5ee2d3c5d6 termios.3: Add a note on interaction of O_NONBLOCK with noncanonical MIN/TIME
POSIX leaves the behavior open.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:50 +02:00
Michael Kerrisk 4b985dd60a termios.3: Fix error in discussion of MIN > 0, TIME == 0 noncanonical mode
As reported by Peter Hurley, for the MIN > 0, TIME == 0 case:

    read() may unblock when MIN bytes are available but return
    up to the 'count' parameter if more input arrives in between
    waking and copying into the user buffer.
    ...
    read() may also _not_ return until MIN bytes have been
    received, even if 'count' bytes have been received.

MTK: verified the above by experiment.

Reported-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:50 +02:00
Michael Kerrisk 959c4b2519 termios.3: ffix: reformat MIN/TIME list to use .TP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:50 +02:00
Michael Kerrisk e449e5f15a inotify.7: Inotify does not report events for mmap(2) and msync(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:18:58 +02:00
Michael Kerrisk e226bed757 inotify.7: Inotify doesn't work for remote and pseudo filesystems
Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:18:58 +02:00