Michael Kerrisk
c9629ff8c0
dl_iterate_phdr.3: CONFORMING TO: note that this function appears on some other systems
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 17:35:43 +02:00
Michael Kerrisk
70476aa4c8
dl_iterate_phdr.3: Note that 'size' allows callback() to discover structure extensions
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 17:35:43 +02:00
Michael Kerrisk
ccc70c8135
seccomp.2: SEE ALSO: add scmp_sys_resolver(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 13:44:20 +02:00
Michael Kerrisk
ca6f43fc0e
seccomp.2: SEE ALSO: mention libseccomp pages
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 10:32:18 +02:00
Gleb Fotengauer-Malinovskiy
9b44ad2028
mktemp.3: Reference mkdtemp(3) in addition to mkstemp(3)
...
Mention mkdtemp(3) as another secure alternative to mktemp(3).
See also https://sourceware.org/bugzilla/show_bug.cgi?id=2898 .
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 10:08:09 +02:00
Gleb Fotengauer-Malinovskiy
f0d0f68dc8
unshare.2: tfix: fix unbalanced parentheses
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 10:06:57 +02:00
Gleb Fotengauer-Malinovskiy
d49841605a
sendfile.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 10:05:53 +02:00
Michael Kerrisk
872e754b01
nl_langinfo.3: NOTES: note undefined behavior for nl_langinfo_l()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:46:34 +02:00
Michael Kerrisk
75b3623dc4
nl_langinfo.3: POSIX specifies that the caller may not modify the returned string
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:43:40 +02:00
Michael Kerrisk
cc331dfc6c
nl_langinfo.3: Enhance RETURN VALUE description
...
Note some further cases where returned string may be
invalidated or overwritten.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:39:30 +02:00
Michael Kerrisk
7003ff6ad0
nl_langinfo.3: Explicitly describe the return value on success
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:30:45 +02:00
Michael Kerrisk
c607c3a695
nl_langinfo.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:24:03 +02:00
Michael Kerrisk
29f6f82cb3
nl_langinfo.3: Clarify details of nl_langinfo_l() return value
...
setlocale() does not come into play for nl_langinfo_l(),
as far as I can tell.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:22:17 +02:00
Michael Kerrisk
1f741719e4
nl_langinfo.3: Minor wording improvements
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:15:53 +02:00
Michael Kerrisk
83a366e0ec
nl_langinfo.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:04:24 +02:00
Michael Kerrisk
244802a58c
nl_langinfo_l.3: New link to nl_langinfo.3
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 13:00:00 +02:00
Sam Varshavchik
665d98c5fe
nl_langinfo.3: Add documentation for nl_langinfo_l(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 12:59:25 +02:00
Michael Kerrisk
aabe0499f3
bpf.2: Minor tweaks after comments from Daniel Borkmann
...
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 11:39:07 +02:00
Michael Kerrisk
57f8da4c64
socketpair.2: Clarify use of SOOCK_* flags in 'type' argument
...
See http://bugs.debian.org/794217
Reported-by: Goswin von Brederlow <goswin-v-b@web.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 11:20:57 +02:00
Heinrich Schuchardt
7d3c593b21
fanotify.7: Clarify effects of file moves
...
If files or directories are moved to other mounts, the inode is
deleted. Fanotify marks are lost.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 11:17:20 +02:00
Mike Frysinger
7d6bfe72a3
bpf(2): ffix: Fix formatting in function signature
...
Also add a missing period in the errno section.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-07 11:15:25 +02:00
Michael Kerrisk
d83d1e1cf9
__ppc_set_ppr_med.3: Various minor tweaks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 14:34:56 +02:00
Gabriel F. T. Gomes
457c4b3476
__ppc_set_ppr_med_low.3: New link to __ppc_set_ppr_med.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:34:56 +02:00
Gabriel F. T. Gomes
430f054d9b
__ppc_set_ppr_low.3: New link to __ppc_set_ppr_med.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:34:56 +02:00
Gabriel F. T. Gomes
fff0e08c75
__ppc_set_ppr_med.3: Document PPC functions providing access to PPR
...
GNU C Library 2.18 adds functions (__ppc_set_ppr_low(3),
__ppc_set_ppr_med(3), __ppc_set_ppr_med_low(3)) that provide
access to the Program Priority Register (PPR).
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:34:56 +02:00
Michael Kerrisk
2cd276f398
__ppc_yield.3: Minor tweaks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-06 14:34:56 +02:00
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