Commit Graph

14493 Commits

Author SHA1 Message Date
Gabriel F. T. Gomes c79eb77b7a __ppc_mdoio.3: New link to __ppc_yield.3
Signed-off-by: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 14:15:53 +02:00
Gabriel F. T. Gomes 559088931c __ppc_mdoom.3: New link to __ppc_yield.3
Signed-off-by: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 14:15:53 +02:00
Gabriel F. T. Gomes 36b531052b __ppc_yield.3: Document PPC performance-hint functions
GNU C Library 2.18 adds functions __ppc_yield(3), __ppc_mdoio(3),
and __ppc_mdoom(3) that can be used provide a hint that
performance could be improved if shared resources are released
for use by other processors.

Signed-off-by: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 13:43:59 +02:00
Michael Kerrisk 8031e5299b vmsplice.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 12:56:25 +02:00
Michael Kerrisk 6b991f943e splice.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 12:45:37 +02:00
Michael Kerrisk 0bd7912958 tee.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 12:41:33 +02:00
Michael Kerrisk 5dec7b731b tee.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 12:20:31 +02:00
Michael Kerrisk cd579c3f1a bpf.2: Minor tweaks to Daniel Borkmann's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-05 22:07:09 +02:00
Daniel Borkmann 9a818dddcf bpf.2: Various updates/follow-ups to address some fixmes
A couple of follow-ups to the bpf(2) man-page, besides others:

 * Description of map data types
 * Explanation on eBPF tail calls and program arrays
 * Paragraph on tc holding ref of the eBPF program in the kernel
 * Updated ASCII image with tc ingress and egress invocations
 * __sync_fetch_and_add() and example usage mentioned on arrays
 * minor reword on the licensing and other minor fixups

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-05 21:28:44 +02:00
Nikola Forró 275e3c16d2 sched.7: Fix descriptions of sched_get_priority_max() / sched_get_priority_min()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-05 21:09:36 +02:00
Michael Kerrisk 85b6211af9 sched.7: wfix
Reported-by: Dilyan Palauzov <dilyan.palauzov@aegee.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-05 20:56:51 +02:00
Michael Kerrisk 06fd1bb629 stat.2: wfix
Reported-by: Yaarit <yaarit@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-05 20:48:32 +02:00
Michael Kerrisk 75c2bb6393 ld.so.8: Items in LD_LIBRARY_PATH can also be delimited by semicolons
See http://bgs.debian.org/794559.

Reported-by: Jonathan David Amery <jdamery@ysolde.ucam.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-05 20:45:12 +02:00
Michael Kerrisk 3824cf5bc1 mq_receive.3, mq_send.3: Clarify discussion of 'timeout'
In particular, remove the word 'ceiling', which falsely
suggests that the call might return prematurely.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-30 13:37:01 +02:00
Michael Kerrisk 0ebc88fca3 io_getevents.2: Note return value on interruption by a signal handler
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-30 13:26:40 +02:00
Michael Kerrisk 13ed138b67 io_getevents.2: Clarify details of return value for timeout-expired case
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-30 13:26:40 +02:00
Michael Kerrisk c5359783b2 io_getevents.2: Clarify and extend discussion of 'timeout' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-30 13:26:40 +02:00
Michael Kerrisk e50eaaf192 nptl.7: Note that i386 and x86-64 binaries can't share mutexes
Quoting Nicholas Miell:

    PTHREAD_PROCESS_SHARED says any thread with access to the
    memory containing the mutex can operate on the mutex and
    POSIX basically ignores the idea that different processes
    could be running completely incompatible executables or
    whatever.

    pthread_mutex_t has a bunch of #ifdefs in the middle of it
    that change the structure size and layout between i386 and
    x86_64.

    Most importantly, the positions of the __nusers and __kind
    fields are swapped (this looks to be an oversight dating
    back to 2003 when __nusers was first introduced and carefully
    preserved when the separate i386 and x86_64 versions of
    pthreadtypes.h were merged into the single x86 version),
    which means that when the lock and unlock functions attempt
    to figure out what kind of mutex it is
    (recursive/adaptive/whatever), they'll look at the wrong
    field if the mutex is from the wrong architecture and then
    things will break.

    And then there's the fact that the rest of the struct is a
    union in the 32-bit version and flat in the 64-bit version,
    but that could have been worked around if you put a flag in
    the __kind field that tells the 64-bit pthread library that
    it is looking at a 32-bit mutex.

Reported-by: Nicholas Miell <nmiell@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-26 22:27:20 +02:00
Michael Kerrisk 0fc33df73d bpf.2: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 11:07:51 +02:00
Michael Kerrisk 9470de3e46 nptl.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:55:21 +02:00
Michael Kerrisk db39a67945 printf.3: Describe dprintf() and vdprintf()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 72836d5146 wprintf.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk d5b31ab411 wmemset.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 4604841c06 wmemmove.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 9c0de892c8 wmemcpy.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk b84a22324c wmemcmp.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk d8b29663bc wmemchr.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk f01583a180 wctype.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 432ef7b205 wctrans.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk f6221652b6 wctomb.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 563a5c3f79 wctob.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 6d2e3caf7c wcstombs.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 789a49facc wcstok.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk bc9959895c wcstoimax.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk d2fc216e58 wcsstr.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 7706c03f6e wcsspn.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk 8e08c66a72 wcsrtombs.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk a2efcfde7e wcsrchr.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:15 +02:00
Michael Kerrisk abcb5d325a wcspbrk.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk 69b4132c4f wcsncpy.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk d6597cb0f7 wcsncmp.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk ea98095cc6 wcsncat.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk 02a0486fc3 wcslen.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk e4c0766a62 wcscspn.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk 7e30d30db2 wcscpy.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk eea7ea7a19 wcscmp.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk d8e94e530f wcschr.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk c31eef93ce wcscat.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk f639deaff9 wcrtomb.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00
Michael Kerrisk 088942c98a ungetwc.3: CONFORMING TO: add POSIX.1-2001 and POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-24 09:32:14 +02:00