Commit Graph

11020 Commits

Author SHA1 Message Date
Michael Kerrisk e449654fdb flock.2: Add more details on NFS, including Linux 2.6.37 changes
Also: move NOTES text describing interaction of fcntl()
and flock() locks.

Reviewed-by: NeilBrown <neilb@suse.de>
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:30:37 +02:00
Peng Haitao fee98b6e5c mkdtemp.3: ATTRIBUTES: Note function that is thread-safe
The function mkdtemp() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao 61d995d649 basename.3: ATTRIBUTES: Note functions that are thread-safe
The functions basename() and dirname() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao 527c8d41b9 system.3: ATTRIBUTES: Note function that is thread-safe
The function system() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Michael Kerrisk f4dc1f56ee catgets.3: wfix
Reported-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao 8114fa1417 catgets.3: ATTRIBUTES: Note function that is thread-safe
The function catgets() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Michael Kerrisk 3f205b20d7 environ.7: SEE ALSO: add env(1), printenv(1), ld.so(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:38 +02:00
Yuri Kozlov f2f50fed25 fanotify_mark.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-08 21:16:39 +02:00
Yuri Kozlov d1c05d0b78 send.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-08 21:16:06 +02:00
Michael Kerrisk 79745892b6 charsets.7: Drop unneeded text on UTF-8 for Biblical Hebrew
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-06 06:37:46 +02:00
Marko Myllynen 03ba14f978 localedef.1: Align with recent charmap(5) / repertoiremap(5) changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-05 20:18:02 +02:00
Marko Myllynen 83d1d0dd86 charmap.5: Update to match current glibc
charmap(5) was outdated, bring it to closer to reality by fixing
syntax descriptions to match current glibc code and practices,
adding missing options, removing obsolete comments and references,
and removing now incorrect examples.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-05 20:18:02 +02:00
Marko Myllynen d98127cdea repertoiremap.5: New page for repertoiremap(5)
Rather obsolete feature but localedef(1) refers to repertoiremaps.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-05 20:18:02 +02:00
Michael Kerrisk 42d940faf8 charsets.7: Minor tweaks
And restore a piece about Biblical Hebrew that was
inadvertently deleted by Marko Myllynen's patch.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-05 20:18:02 +02:00
Marko Myllynen a8ed5f7430 charsets.7: Update to reflect past developments
Rewrite the introduction to make Unicode's prominence more obvious.
Reformulate parts of the text to reflect current Unicode world.
Minor clarification for ASCII/ISO sections, some other minor fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-05 13:46:36 +02:00
Peng Haitao dfc41d9cfb mq_send.3: ATTRIBUTES: Note functions that are thread-safe
The functions mq_send() and mq_timedsend() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:16:54 +02:00
Peng Haitao db17fccda4 mq_receive.3: ATTRIBUTES: Note functions that are thread-safe
The functions mq_receive() and mq_timedreceive() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:16:38 +02:00
Peng Haitao 73d140c732 mq_open.3: ATTRIBUTES: Note function that is thread-safe
The function mq_open() is thread safe.

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

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:15:55 +02:00
Peng Haitao 955269b430 posix_fallocate.3: ATTRIBUTES: Note function that is thread-safe
The function posix_fallocate() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:12:41 +02:00
Marko Myllynen 0c2dbad182 locale.5: Clarify AM/PM settings a bit
localedef(1) complains if really undefined, should be empty instead.
Also: add some SEE ALSO references.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:12:36 +02:00
Marko Myllynen 8a7f7e6635 locale.1: Add FILES section, add charmap(5) reference
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:59:48 +02:00
Marko Myllynen 66aa761533 locale.7: Add some SEE ALSO references
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:54:56 +02:00
Rasmus Villemoes ebae2ae3ce malloc_get_state.3: SYNOPSIS: use correct header
The nonstandard functions malloc_set_state() and
malloc_get_state() are provided by <malloc.h> not <stdlib.h>.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:54:53 +02:00
Rasmus Villemoes f41d7fb3de sendmmsg.2: Add reference to feature_test_macros(7)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:45:30 +02:00
Rasmus Villemoes 9c57aa4847 recvmmsg.2: Add reference to feature_test_macros(7)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:45:11 +02:00
Rasmus Villemoes cdcdcf71c3 open_by_handle_at.2: Add reference to feature_test_macros(7)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:44:39 +02:00
Rasmus Villemoes 21e2ed664a getdate.3: Use blank definition of _GNU_SOURCE
Only the definedness of _GNU_SOURCE matters, so eliminate a possible
source of confusion by not using a specific replacement text in the
example program.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:44:16 +02:00
Michael Kerrisk 000e10e84b proc.5: srcfix: Remove obsolete FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-31 06:34:58 +02:00
Michael Kerrisk 650d430901 Changes.old: Fix to 3.41 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-30 08:40:38 +02:00
Michael Kerrisk ffe8d0b14c bootparam.7: Minor tweaks to Petr Gajdos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-29 08:17:06 +02:00
Petr Gajdos 1c13782791 bootparam.7: Describe 'rootflags' and 'rootdelay' kernel parameters
Patch based on text from Documentation/kernel-parameters.txt

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-29 08:00:22 +02:00
Michael Kerrisk 1c4b22fb91 man-pages.7: Note that .TH 'date' field is nowadays automatically updated by scripts
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 21:22:47 +02:00
Michael Kerrisk 8efc0168ad signal.7: Clarify text describing EINTR semantics for socket interfaces
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 21:22:47 +02:00
Michael Kerrisk 9c0381af73 signal.7: srcfix: Add FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 21:22:47 +02:00
Michael Kerrisk 88fb4f09f4 signal.7: Describe EINTR semantics for recvmmsg(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 21:22:47 +02:00
Marko Myllynen 95c24117a7 locale.5: Minor NOTES clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:18:10 +02:00
Michael Kerrisk adab861a92 execve.2: RLIMIT_NPROC is checked only if preceded by set*uid()
Reported-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk 8349023145 execve.2: Before kernel 2.6.0, RLIMIT_NPROC had no effect for set*uid()
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk ebd381ba7b execve.2: Document EAGAIN error
See also https://bugzilla.kernel.org/show_bug.cgi?id=42704

Reviewed-by: Vasiliy Kulikov <segoon@openwall.com>
Reviewed-by: NeilBrown <neilb@suse.de>
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk 27cbe70472 setreuid.2: Error checking should always be performed, even when caller is UID 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk f673b78321 setresuid.2: Error checking should always be performed, even when caller is UID 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk b57db62bf0 seteuid.2: Error checking should always be performed, even when caller is UID 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk 7d8d165a4b setuid.2: Error checking should always be performed, even when caller is UID 0
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk c4fe0edf5c setuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk c2cb87b649 setreuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk 19d889b39a setresuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk 25b2ea5fd6 setuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:56 +02:00
Michael Kerrisk 27bb77b0c7 setreuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:51 +02:00
Michael Kerrisk 199f1e1572 setresuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:10:41 +02:00