Commit Graph

11459 Commits

Author SHA1 Message Date
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
Michael Kerrisk 4b3beb4932 setreuid.2: Add EAGAIN error for hitting RLIMIT_NPROC limit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk 7a42bf02f7 setuid.2: Correct the description of the EAGAIN error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk c5e8af4dc2 setresuid.2: Correct the description of the EAGAIN error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk a36b2bb0ec seteuid.2: seteuid() and setegid() are implemented as library functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk bf2633795c credentials.7: Minor layout fixes to make list format more consistent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:05:43 +02:00
Michael Kerrisk 956088f4af locale.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:01:33 +02:00
Michael Kerrisk 4b27f13b94 locale.5: Drop a garbled sentence
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 17:00:40 +02:00
Michael Kerrisk ee565781fe locale.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 16:58:49 +02:00
Marko Myllynen 756f4b9742 locale.5: Document glibc conventions regarding days and week
Based on existing practice and glibc community wiki page at
https://sourceware.org/glibc/wiki/Locales

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 16:58:49 +02:00
Michael Kerrisk bf1debcce1 Changes.old: tfix in 3.68 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 16:37:08 +02:00
Michael Kerrisk 40e47508a7 Changes.old: Fix to 3.68 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 16:21:00 +02:00