Commit Graph

9188 Commits

Author SHA1 Message Date
Michael Kerrisk 758420d194 Changes: Ready for 3.54
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-17 08:27:30 +02:00
Michael Kerrisk f0afb16a2e inotify.7: SEE ALSO: add inotifywait(1) and inotifywatch(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-16 14:45:49 +02:00
Michael Kerrisk 404b6a03ac FIXME_list.sh, add_parens_for_own_funcs.sh, find_dots_no_parens.sh, find_repeated_words.sh, find_slashes_no_parens.sh, remove_COLOPHON.sh, unformat_parens.sh: Add copyright and license
Reported-by: Felix Janda <felix.janda@posteo.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-16 05:03:49 +02:00
Michael Kerrisk 87b8bb4eef FIXME_list.sh: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-16 04:42:20 +02:00
Michael Kerrisk d60ee8836f find_repeated_words.sh: Add filename in comments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-16 04:41:47 +02:00
Peng Haitao 69e8f02f23 wctomb.3: ATTRIBUTES: Note function that is not thread-safe
The function wctomb() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:29 +02:00
Peng Haitao 8cb0cd8252 drand48_r.3: ATTRIBUTES: Note functions that are thread-safe
The functions drand48_r(), erand48_r(), lrand48_r(),
nrand48_r(), mrand48_r(), jrand48_r(), srand48_r(), seed48_r(),
and lcong48_r() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:29 +02:00
Peng Haitao bbb97a015c seekdir.3: ATTRIBUTES: Note function that is thread-safe
The function seekdir() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:28 +02:00
Michael Kerrisk 4047bc6cfb perf_event_open.2: Reorder text describing fields of 'perf_event_header' structure
Place the fields with the shorter descriptions first, to make the
information easier to read.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:20 +02:00
Michael Kerrisk 2b538c3e53 perf_event_open.2: Minor formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:01:14 +02:00
Michael Kerrisk 33d6e2c74a perf_event_open.2: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 06:39:45 +02:00
Vince Weaver e3c9782b1a perf_event_open.2: PERF_SAMPLE_BRANCH_STACK updates
This started out as just adding the new perf_event_open features
from Linux 3.11 (which was the addition of transactional memory
defines for PERF_SAMPLE_BRANCH_STACK samples) but turned into a
general cleanup of the PERF_SAMPLE_BRANCH_STACK documentation.

The main clarification is that at least one of the non-privilege values
must be set or else perf_event_open will return an EINVAL error.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 06:33:02 +02:00
Simon Paillard 50b25c38db clock_getres.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 06:32:08 +02:00
Simon Paillard 18fc67ba19 dir_colors.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 06:31:47 +02:00
Simon Paillard 28955f1570 cpuset.7, initrd.7, pipe.7, symlink.2: wfix: make "filesystem" one word
More s/file system/filesystem/ but multiline (see 9ee4a2b6)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 06:31:29 +02:00
J. Bruce Fields 1a7d4eb74c access.2: Fix outdated NFS information
Note that NFS versions since version 3 support an "access" call
so that the client doesn't have to guess permissions or ID
mapping on its own.

(See RFC 1813 sections 1.7 and 3.3.4.)

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 06:29:06 +02:00
Michael Kerrisk 464e572e99 pthread_sigqueue.3: tfix in SYNOPSIS
Reported-by: Andrew Hunter <andrewhhunter@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 05:48:14 +02:00
Zsbán Ambrus 237565c981 ioctl_list.2: Document FAT_IOCTL_GET_ATTRIBUTES
The attached patch adds four ioctls from linux/msdos_fs.h to the
ioctl_list(2) manpage.

The ioctl FAT_IOCTL_GET_ATTRIBUTES reads FAT attributes of a
file a mounted vfat file system.  I tested this on Linux
2.6.33, an example script can be found at
http://www.perlmonks.com/?node_id=832623

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-08 07:57:45 +02:00
Michael Kerrisk 70caf370f5 standards.7: Add mention of SUSv4-TC1 (POSIX.1-2013)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-06 05:59:29 +02:00
Simon Paillard 5c977011c1 ptrace.2, setns.2, glob.7, ld.so.8: ffix: hyphen-used-as-minus-sign
See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-05 13:09:41 +02:00
Michael Kerrisk 78638aae30 clock_getres.2: Note circumstances in which "SMP" note applies.
Reported-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-05 12:55:47 +02:00
Michael Kerrisk 783d6cb454 clock_getres.2: Add kernel version for CLOCK_*_CPUTIME_ID
CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID
appeared in 2.6.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 16:45:44 +02:00
Michael Kerrisk f042d149dd proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 16:27:15 +02:00
Michael Kerrisk 817b5ec178 proc.5: Note block size used by /proc/partitions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666972

Reported-by: A. Costa <agcosta@gis.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 15:35:07 +02:00
Michael Kerrisk d8b13fb4d9 wait.2: Add details on the fifth argument provided by raw waitid() system call
See https://bugzilla.kernel.org/show_bug.cgi?id=60744

Reported-by: Hannes Landeholm <hannes@jumpstarter.io>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 15:06:22 +02:00
Michael Kerrisk fb854b1378 wavelan.4: This driver disappeared in 2.56.35
Reported-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 14:34:51 +02:00
Michael Kerrisk e272bb60c6 clock_getres.2: Add VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 14:27:59 +02:00
Michael Kerrisk 072c0d379e sigwaitinfo.2: Clarify wording of 'timeout' as a "minimum" interval
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 0d9101c438 poll.2: Clarify wording of 'timeout' as a "minimum" interval
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 82a6092b03 futex.2: The 'timeout' can be rounded upwards by clock granularity and also overrun
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 2785cd6cee epoll_wait.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 073f0240a4 select.2: Clarify wording of 'timeout' as a "minimum" interval
Reported-by: G.raud <graud@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 7ab222df40 proc.5: /proc/sys/fs/inode-max went away in Linux 2.4
Also, the 'preshrink' field in /proc/sys/fs/inode-state became
a dummy value in Linux 2.4.

See https://bugzilla.kernel.org/show_bug.cgi?id=60836

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:00:05 +02:00
Michael Kerrisk ac8727b68c proc.5: Minor wording changes in introductory paragraph
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:41:52 +02:00
Michael Kerrisk 533b9c5cb3 printf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:27:34 +02:00
Christopher Hall abbcef30df printf.3: Correctly describe the meaning of a negative precision
The printf(3) manpage says that a negative precision is taken to
be zero, whereas printf(3p) says that a negative precision is
taken as if the precision were omitted.  glibc agrees with the
latter (POSIX) specification.

Test code:

    printf("%f\n",42.0);      // "42.000000"
    printf("%.*f\n",0,42.0);  // "42"
    printf("%.*f\n",-1,42.0); // "42.000000"

This patch corrects the explanation to match what actually happens.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:26:28 +02:00
Michael Kerrisk 7d0ec5b670 gethostbyname.3: gai_strerror() is the modern replacement for herror() and hstrerror()
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:18:39 +02:00
Michael Kerrisk 930c9b6d23 gethostbyname.3: Add feature test macro requirements for errno
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:16:45 +02:00
Michael Kerrisk 85832c0a4d gethostbyname.3: Update feature test macro requirements for herror() and hstrerror()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:46:28 +02:00
David Prévot 7290621523 ptrace.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:18:07 +02:00
David Prévot c576d0b3f2 ptrace.2: pfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:17:56 +02:00
Michael Kerrisk e49b8d6737 mmap2.2: wfix
Reported-by: Magnus Reftel <magnus.reftel@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:16:24 +02:00
Andreas Wiese 1ea76c666a strdup.3: tfix in feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:14:33 +02:00
David Prévot 699893d8f9 perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:12:56 +02:00
Michael Kerrisk 21a1f5bd50 posix_memalign.3: 'errno" is indeterminate after a call to posix_memalign()
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 07:58:45 +02:00
Michael Kerrisk 558f02dff0 posix_memalign.3: Clarify wording on "return value" when size==0
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 09:06:39 +02:00
D. Barbier 61a9bcb381 linkat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:50:45 +02:00
Doug Goldstein ef4901931a open.2: Add EINVAL to errors list
EINVAL can be returned by open(2) when the underlying filesystem
doesn't support O_DIRECT. It is documented in the NOTES section
but this patch adds it to the list of possible errors.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:49:45 +02:00
Peng Haitao f7dbb1ea62 telldir.3: ATTRIBUTES: Note function that is thread-safe
The function telldir() is thread safe.

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

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:18 +02:00