]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
10 years agoseteuid.2, setresuid.2, setreuid.2, setuid.2: spfix
Michael Kerrisk [Mon, 9 Jun 2014 19:41:32 +0000 (21:41 +0200)] 
seteuid.2, setresuid.2, setreuid.2, setuid.2: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Add notes on F_SETLKW deadlock detection and its limitations
Michael Kerrisk [Tue, 20 May 2014 13:36:28 +0000 (15:36 +0200)] 
fcntl.2: Add notes on F_SETLKW deadlock detection and its limitations

Reported-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: wfix
Michael Kerrisk [Mon, 19 May 2014 13:15:53 +0000 (15:15 +0200)] 
fcntl.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: The kernel does not perform deadlock detection for OFD locks
Michael Kerrisk [Mon, 19 May 2014 13:11:02 +0000 (15:11 +0200)] 
fcntl.2: The kernel does not perform deadlock detection for OFD locks

See kernel commit 57b65325fe34ec4c917bc4e555144b4a94d9e1f7
And this mail thread:

    http://thread.gmane.org/gmane.linux.file-systems/81318/focus=81327
    From: Jeff Layton <jlayton <at> redhat.com>
    Subject: [PATCH v5 13/14] locks: skip deadlock detection on FL_FILE_PVT locks
    Date: 2014-01-09 14:19:46 GMT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoopen.2: Rework and extend the discussion of open file descriptions
Michael Kerrisk [Thu, 1 May 2014 05:28:52 +0000 (07:28 +0200)] 
open.2: Rework and extend the discussion of open file descriptions

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolseek.2: Add reference to open(2) for discussion of file descriptors and OFDs
Michael Kerrisk [Thu, 1 May 2014 05:19:37 +0000 (07:19 +0200)] 
lseek.2: Add reference to open(2) for discussion of file descriptors and OFDs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Under OFD locks add a reference to open(2) for explanation of OFDs
Michael Kerrisk [Thu, 1 May 2014 04:47:24 +0000 (06:47 +0200)] 
fcntl.2: Under OFD locks add a reference to open(2) for explanation of OFDs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofork.2: Add notes on inheritance of flock() and OFD locks across fork()
Michael Kerrisk [Thu, 1 May 2014 04:42:50 +0000 (06:42 +0200)] 
fork.2: Add notes on inheritance of flock() and OFD locks across fork()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Explain POSIX background to EACCES/EAGAIN error for F_GETLK
Michael Kerrisk [Wed, 30 Apr 2014 14:37:29 +0000 (16:37 +0200)] 
fcntl.2: Explain POSIX background to EACCES/EAGAIN error for F_GETLK

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: F_OFD_GETLK fails with EAGAIN when there is a lock conflict
Michael Kerrisk [Wed, 30 Apr 2014 14:31:06 +0000 (16:31 +0200)] 
fcntl.2: F_OFD_GETLK fails with EAGAIN when there is a lock conflict

For F_GETLK, POSIX allows EACCES or EAGAIN because different
implementations of traditional record locks returned one of
these errors, and portable applications had to handle either
possibility. However, that argument doesn't apply for OFD
locks, since Linux is the only implementation and it returns
EAGAIN.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Describe how to check whether the kernel supports a particular command
Michael Kerrisk [Wed, 30 Apr 2014 14:26:59 +0000 (16:26 +0200)] 
fcntl.2: Describe how to check whether the kernel supports a particular command

Reported-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: ERRORS: add EINVAL for invalid 'cmd'
Michael Kerrisk [Wed, 30 Apr 2014 14:19:01 +0000 (16:19 +0200)] 
fcntl.2: ERRORS: add EINVAL for invalid 'cmd'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Minor wording improvement
Michael Kerrisk [Wed, 30 Apr 2014 14:18:18 +0000 (16:18 +0200)] 
fcntl.2: Minor wording improvement

Reported-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Add an explicit note that mandatory locking is not in POSIX
Michael Kerrisk [Wed, 30 Apr 2014 10:23:41 +0000 (12:23 +0200)] 
fcntl.2: Add an explicit note that mandatory locking is not in POSIX

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Make the warning that mandatory locks are unreliable more prominent
Michael Kerrisk [Wed, 30 Apr 2014 10:21:45 +0000 (12:21 +0200)] 
fcntl.2: Make the warning that mandatory locks are unreliable more prominent

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: wfix
Michael Kerrisk [Wed, 30 Apr 2014 10:18:41 +0000 (12:18 +0200)] 
fcntl.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Rewrite introductory paragraphs on mandatory locking
Michael Kerrisk [Wed, 30 Apr 2014 10:17:53 +0000 (12:17 +0200)] 
fcntl.2: Rewrite introductory paragraphs on mandatory locking

Make the structure more logical, and also explicitly mention
OFD locks.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Add EINVAL error for OFD locks where 'l_pid' is not 0
Michael Kerrisk [Wed, 30 Apr 2014 10:33:09 +0000 (12:33 +0200)] 
fcntl.2: Add EINVAL error for OFD locks where 'l_pid' is not 0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: CONFORMING TO: note that OFD locks are Linux-specific
Michael Kerrisk [Wed, 30 Apr 2014 10:28:34 +0000 (12:28 +0200)] 
fcntl.2: CONFORMING TO: note that OFD locks are Linux-specific

But they make their way into the next POSIX release

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Describe semantics for compatible and conflicting OFD locks
Michael Kerrisk [Wed, 30 Apr 2014 09:56:15 +0000 (11:56 +0200)] 
fcntl.2: Describe semantics for compatible and conflicting OFD locks

And describe how threads can use OFD locks to ensure
exclusive access to a file.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Detail the limitations of traditional (process-associated) locks
Michael Kerrisk [Wed, 30 Apr 2014 09:24:42 +0000 (11:24 +0200)] 
fcntl.2: Detail the limitations of traditional (process-associated) locks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Minor fixes to introductory par on OFD locks
Michael Kerrisk [Wed, 30 Apr 2014 10:04:57 +0000 (12:04 +0200)] 
fcntl.2: Minor fixes to introductory par on OFD locks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: OFD locks are Linux-specific and available since Linux 3.15
Michael Kerrisk [Wed, 30 Apr 2014 09:06:46 +0000 (11:06 +0200)] 
fcntl.2: OFD locks are Linux-specific and available since Linux 3.15

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Tweaks and rewrites of pieces of Jeff Layton's patch
Michael Kerrisk [Wed, 30 Apr 2014 09:04:39 +0000 (11:04 +0200)] 
fcntl.2: Tweaks and rewrites of pieces of Jeff Layton's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Document open file description locks
Jeff Layton [Tue, 29 Apr 2014 18:51:14 +0000 (14:51 -0400)] 
fcntl.2: Document open file description locks

As provided by the fcntl() operations F_OFD_SETLK,
F_OFD_SETLKW, and F_OFD_GETLK

Signed-off-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Add para introducing advisory locks and noting existence of OFD locks
Michael Kerrisk [Wed, 30 Apr 2014 06:57:13 +0000 (08:57 +0200)] 
fcntl.2: Add para introducing advisory locks and noting existence of OFD locks

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Minor change: move some NOTES text on record locking
Michael Kerrisk [Tue, 29 Apr 2014 10:04:46 +0000 (12:04 +0200)] 
fcntl.2: Minor change: move some NOTES text on record locking

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: wfix + ffix: fine-tuning on NFSv4 client locking text
Michael Kerrisk [Tue, 29 Apr 2014 10:06:20 +0000 (12:06 +0200)] 
fcntl.2: wfix + ffix: fine-tuning on NFSv4 client locking text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Add NOTES subhead for record locking and NFS
Michael Kerrisk [Tue, 29 Apr 2014 10:03:54 +0000 (12:03 +0200)] 
fcntl.2: Add NOTES subhead for record locking and NFS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: nfsv4leasetime controls the "contact lost" interval for NFSv4
Michael Kerrisk [Tue, 29 Apr 2014 10:00:44 +0000 (12:00 +0200)] 
fcntl.2: nfsv4leasetime controls the "contact lost" interval for NFSv4

Jeff Layton:
   The difference here is subtle. The gracetime is how long after a reboot
   should knfsd allow clients to reclaim state (and deny the creation of
   new locks and opens). The leasetime is how long the NFSv4 lease period
   is. There is a relationship between the two that's illustrated in the
   comments above write_gracetime:

     /**
      * write_gracetime - Set or report current NFSv4 grace period time
      *
      * As above, but sets the time of the NFSv4 grace period.
      *
      * Note this should never be set to less than the *previous*
      * lease-period time, but we don't try to enforce this.  (In the common
      * case (a new boot), we don't know what the previous lease time was
      * anyway.)
      */

   The value you're interested in here is the nfsv4leasetime. If the
   client doesn't renew its lease within that period, then it's subject to
   the server giving up on it and dropping any state that it holds on that
   clients' behalf.

   Note that this is not a firm timeout. The server runs a job
   periodically to clean out expired stateful objects, and it's likely
   that there is some time (maybe even up to another whole lease period)
   between when the timeout expires and the job actually runs. If the
   client gets a RENEW in there within that window, its lease will be
   renewed and its state preserved.

Reported-by: Jeff Layton <jlayton@poochiereds.net>
Cowritten-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Refine discussion of locks when NFSv4 client loses contact with server
Michael Kerrisk [Tue, 29 Apr 2014 09:53:44 +0000 (11:53 +0200)] 
fcntl.2: Refine discussion of locks when NFSv4 client loses contact with server

Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Note treatment of locks when an NFS client loses contact with the server
Michael Kerrisk [Tue, 29 Apr 2014 09:05:06 +0000 (11:05 +0200)] 
fcntl.2: Note treatment of locks when an NFS client loses contact with the server

Based on text sent by Neil Brown.

Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Minor rewording
Michael Kerrisk [Tue, 29 Apr 2014 08:25:59 +0000 (10:25 +0200)] 
fcntl.2: Minor rewording

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: srcfix
Michael Kerrisk [Tue, 29 Apr 2014 08:21:54 +0000 (10:21 +0200)] 
fcntl.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofcntl.2: Reword discussion of mandatory lock bug a litte
Michael Kerrisk [Tue, 29 Apr 2014 05:20:04 +0000 (07:20 +0200)] 
fcntl.2: Reword discussion of mandatory lock bug a litte

Jeff Layton confirmed that the bug remains even in modern kernels.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoflock.2: In some modern BSDs, fcntl() and flock() locks do interact
Michael Kerrisk [Sun, 27 Apr 2014 08:14:15 +0000 (10:14 +0200)] 
flock.2: In some modern BSDs, fcntl() and flock() locks do interact

So, reword and extend the discussion of this topic in NOTES.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoflock.2: Move NOTES text describing implementation of flock()
Michael Kerrisk [Sun, 27 Apr 2014 08:09:50 +0000 (10:09 +0200)] 
flock.2: Move NOTES text describing implementation of flock()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoflock.2: Add more details on NFS, including Linux 2.6.37 changes
Michael Kerrisk [Sun, 27 Apr 2014 08:03:41 +0000 (10:03 +0200)] 
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>
10 years agomkdtemp.3: ATTRIBUTES: Note function that is thread-safe
Peng Haitao [Mon, 9 Jun 2014 02:03:23 +0000 (10:03 +0800)] 
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>
10 years agobasename.3: ATTRIBUTES: Note functions that are thread-safe
Peng Haitao [Mon, 9 Jun 2014 10:32:26 +0000 (18:32 +0800)] 
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>
10 years agosystem.3: ATTRIBUTES: Note function that is thread-safe
Peng Haitao [Mon, 9 Jun 2014 05:29:58 +0000 (13:29 +0800)] 
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>
10 years agocatgets.3: wfix
Michael Kerrisk [Mon, 9 Jun 2014 17:59:53 +0000 (19:59 +0200)] 
catgets.3: wfix

Reported-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agocatgets.3: ATTRIBUTES: Note function that is thread-safe
Peng Haitao [Mon, 9 Jun 2014 03:46:37 +0000 (11:46 +0800)] 
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>
10 years agoenviron.7: SEE ALSO: add env(1), printenv(1), ld.so(8)
Michael Kerrisk [Mon, 9 Jun 2014 08:06:56 +0000 (10:06 +0200)] 
environ.7: SEE ALSO: add env(1), printenv(1), ld.so(8)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agofanotify_mark.2: tfix
Yuri Kozlov [Sun, 8 Jun 2014 14:47:51 +0000 (18:47 +0400)] 
fanotify_mark.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosend.2: tfix
Yuri Kozlov [Sun, 8 Jun 2014 14:37:31 +0000 (18:37 +0400)] 
send.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agocharsets.7: Drop unneeded text on UTF-8 for Biblical Hebrew
Michael Kerrisk [Fri, 6 Jun 2014 04:37:46 +0000 (06:37 +0200)] 
charsets.7: Drop unneeded text on UTF-8 for Biblical Hebrew

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocaledef.1: Align with recent charmap(5) / repertoiremap(5) changes
Marko Myllynen [Wed, 4 Jun 2014 05:58:53 +0000 (08:58 +0300)] 
localedef.1: Align with recent charmap(5) / repertoiremap(5) changes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agocharmap.5: Update to match current glibc
Marko Myllynen [Wed, 4 Jun 2014 05:53:18 +0000 (08:53 +0300)] 
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>
10 years agorepertoiremap.5: New page for repertoiremap(5)
Marko Myllynen [Wed, 4 Jun 2014 05:51:58 +0000 (08:51 +0300)] 
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>
10 years agocharsets.7: Minor tweaks
Michael Kerrisk [Thu, 5 Jun 2014 12:25:56 +0000 (14:25 +0200)] 
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>
10 years agocharsets.7: Update to reflect past developments
Marko Myllynen [Thu, 5 Jun 2014 09:00:14 +0000 (12:00 +0300)] 
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>
10 years agomq_send.3: ATTRIBUTES: Note functions that are thread-safe
Peng Haitao [Tue, 3 Jun 2014 09:12:08 +0000 (17:12 +0800)] 
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>
10 years agomq_receive.3: ATTRIBUTES: Note functions that are thread-safe
Peng Haitao [Tue, 3 Jun 2014 07:33:12 +0000 (15:33 +0800)] 
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>
10 years agomq_open.3: ATTRIBUTES: Note function that is thread-safe
Peng Haitao [Tue, 3 Jun 2014 05:24:51 +0000 (13:24 +0800)] 
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>
10 years agoposix_openpt.3: ATTRIBUTES: Note function that is thread-safe
Peng Haitao [Tue, 3 Jun 2014 03:22:21 +0000 (11:22 +0800)] 
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>
10 years agoposix_fallocate.3: ATTRIBUTES: Note function that is thread-safe
Peng Haitao [Tue, 3 Jun 2014 02:03:09 +0000 (10:03 +0800)] 
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>
10 years agolocale.5: Clarify AM/PM settings a bit
Marko Myllynen [Wed, 4 Jun 2014 06:01:42 +0000 (09:01 +0300)] 
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>
10 years agolocale.1: Add FILES section, add charmap(5) reference
Marko Myllynen [Mon, 2 Jun 2014 13:38:20 +0000 (16:38 +0300)] 
locale.1: Add FILES section, add charmap(5) reference

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocale.7: Add some SEE ALSO references
Marko Myllynen [Wed, 4 Jun 2014 06:02:34 +0000 (09:02 +0300)] 
locale.7: Add some SEE ALSO references

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agomalloc_get_state.3: SYNOPSIS: use correct header
Rasmus Villemoes [Wed, 4 Jun 2014 14:38:37 +0000 (16:38 +0200)] 
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>
10 years agosendmmsg.2: Add reference to feature_test_macros(7)
Rasmus Villemoes [Wed, 4 Jun 2014 16:33:28 +0000 (18:33 +0200)] 
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>
10 years agorecvmmsg.2: Add reference to feature_test_macros(7)
Rasmus Villemoes [Wed, 4 Jun 2014 16:33:27 +0000 (18:33 +0200)] 
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>
10 years agoopen_by_handle_at.2: Add reference to feature_test_macros(7)
Rasmus Villemoes [Wed, 4 Jun 2014 16:33:26 +0000 (18:33 +0200)] 
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>
10 years agogetdate.3: Use blank definition of _GNU_SOURCE
Rasmus Villemoes [Wed, 4 Jun 2014 16:33:25 +0000 (18:33 +0200)] 
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>
10 years agoproc.5: srcfix: Remove obsolete FIXMEs
Michael Kerrisk [Sat, 31 May 2014 04:34:58 +0000 (06:34 +0200)] 
proc.5: srcfix: Remove obsolete FIXMEs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoChanges.old: Fix to 3.41 changelog
Michael Kerrisk [Fri, 30 May 2014 06:40:38 +0000 (08:40 +0200)] 
Changes.old: Fix to 3.41 changelog

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agobootparam.7: Minor tweaks to Petr Gajdos's patch
Michael Kerrisk [Thu, 29 May 2014 06:17:06 +0000 (08:17 +0200)] 
bootparam.7: Minor tweaks to Petr Gajdos's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agobootparam.7: Describe 'rootflags' and 'rootdelay' kernel parameters
Petr Gajdos [Thu, 29 May 2014 06:00:22 +0000 (08:00 +0200)] 
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>
10 years agoman-pages.7: Note that .TH 'date' field is nowadays automatically updated by scripts
Michael Kerrisk [Wed, 28 May 2014 13:57:39 +0000 (15:57 +0200)] 
man-pages.7: Note that .TH 'date' field is nowadays automatically updated by scripts

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosignal.7: Clarify text describing EINTR semantics for socket interfaces
Michael Kerrisk [Tue, 27 May 2014 16:32:16 +0000 (18:32 +0200)] 
signal.7: Clarify text describing EINTR semantics for socket interfaces

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosignal.7: srcfix: Add FIXMEs
Michael Kerrisk [Tue, 27 May 2014 16:22:05 +0000 (18:22 +0200)] 
signal.7: srcfix: Add FIXMEs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosignal.7: Describe EINTR semantics for recvmmsg(2)
Michael Kerrisk [Tue, 27 May 2014 16:20:32 +0000 (18:20 +0200)] 
signal.7: Describe EINTR semantics for recvmmsg(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocale.5: Minor NOTES clarification
Marko Myllynen [Wed, 28 May 2014 15:15:24 +0000 (18:15 +0300)] 
locale.5: Minor NOTES clarification

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoexecve.2: RLIMIT_NPROC is checked only if preceded by set*uid()
Michael Kerrisk [Tue, 27 May 2014 04:51:02 +0000 (06:51 +0200)] 
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>
10 years agoexecve.2: Before kernel 2.6.0, RLIMIT_NPROC had no effect for set*uid()
Michael Kerrisk [Thu, 22 May 2014 13:24:55 +0000 (15:24 +0200)] 
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>
10 years agoexecve.2: Document EAGAIN error
Michael Kerrisk [Wed, 14 May 2014 14:05:34 +0000 (16:05 +0200)] 
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>
10 years agosetreuid.2: Error checking should always be performed, even when caller is UID 0
Michael Kerrisk [Wed, 14 May 2014 12:17:55 +0000 (14:17 +0200)] 
setreuid.2: Error checking should always be performed, even when caller is UID 0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetresuid.2: Error checking should always be performed, even when caller is UID 0
Michael Kerrisk [Wed, 14 May 2014 12:17:36 +0000 (14:17 +0200)] 
setresuid.2: Error checking should always be performed, even when caller is UID 0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoseteuid.2: Error checking should always be performed, even when caller is UID 0
Michael Kerrisk [Wed, 14 May 2014 12:17:05 +0000 (14:17 +0200)] 
seteuid.2: Error checking should always be performed, even when caller is UID 0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetuid.2: Error checking should always be performed, even when caller is UID 0
Michael Kerrisk [Wed, 14 May 2014 12:15:56 +0000 (14:15 +0200)] 
setuid.2: Error checking should always be performed, even when caller is UID 0

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
Michael Kerrisk [Wed, 14 May 2014 12:04:09 +0000 (14:04 +0200)] 
setuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetreuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
Michael Kerrisk [Wed, 14 May 2014 12:04:05 +0000 (14:04 +0200)] 
setreuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetresuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs
Michael Kerrisk [Wed, 14 May 2014 12:03:19 +0000 (14:03 +0200)] 
setresuid.2: Since Linux 3.1, the EAGAIN case for RLIMIT_NPROC no longer occurs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
Michael Kerrisk [Wed, 14 May 2014 11:11:39 +0000 (13:11 +0200)] 
setuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetreuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
Michael Kerrisk [Wed, 14 May 2014 11:11:33 +0000 (13:11 +0200)] 
setreuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetresuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure
Michael Kerrisk [Wed, 14 May 2014 11:10:53 +0000 (13:10 +0200)] 
setresuid.2: Document EAGAIN error that can occur after kernel alloc_uid() failure

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetreuid.2: Add EAGAIN error for hitting RLIMIT_NPROC limit
Michael Kerrisk [Wed, 14 May 2014 10:59:56 +0000 (12:59 +0200)] 
setreuid.2: Add EAGAIN error for hitting RLIMIT_NPROC limit

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetuid.2: Correct the description of the EAGAIN error
Michael Kerrisk [Wed, 14 May 2014 10:57:28 +0000 (12:57 +0200)] 
setuid.2: Correct the description of the EAGAIN error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agosetresuid.2: Correct the description of the EAGAIN error
Michael Kerrisk [Wed, 14 May 2014 10:55:53 +0000 (12:55 +0200)] 
setresuid.2: Correct the description of the EAGAIN error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoseteuid.2: seteuid() and setegid() are implemented as library functions
Michael Kerrisk [Wed, 14 May 2014 09:22:44 +0000 (11:22 +0200)] 
seteuid.2: seteuid() and setegid() are implemented as library functions

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agocredentials.7: Minor layout fixes to make list format more consistent
Michael Kerrisk [Wed, 14 May 2014 07:11:37 +0000 (09:11 +0200)] 
credentials.7: Minor layout fixes to make list format more consistent

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocale.5: ffix
Michael Kerrisk [Wed, 28 May 2014 15:01:33 +0000 (17:01 +0200)] 
locale.5: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocale.5: Drop a garbled sentence
Michael Kerrisk [Wed, 28 May 2014 15:00:40 +0000 (17:00 +0200)] 
locale.5: Drop a garbled sentence

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocale.5: srcfix
Michael Kerrisk [Wed, 28 May 2014 11:50:31 +0000 (13:50 +0200)] 
locale.5: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agolocale.5: Document glibc conventions regarding days and week
Marko Myllynen [Mon, 26 May 2014 05:51:06 +0000 (08:51 +0300)] 
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>
10 years agoChanges.old: tfix in 3.68 changelog
Michael Kerrisk [Wed, 28 May 2014 14:37:08 +0000 (16:37 +0200)] 
Changes.old: tfix in 3.68 changelog

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoChanges.old: Fix to 3.68 changelog
Michael Kerrisk [Wed, 28 May 2014 14:21:00 +0000 (16:21 +0200)] 
Changes.old: Fix to 3.68 changelog

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoChanges.old: Fixes to 3.68 changelog
Michael Kerrisk [Wed, 28 May 2014 14:08:05 +0000 (16:08 +0200)] 
Changes.old: Fixes to 3.68 changelog

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
10 years agoStart of man-pages-3.69: updating Changes and Changes.old
Michael Kerrisk [Wed, 28 May 2014 14:03:02 +0000 (16:03 +0200)] 
Start of man-pages-3.69: updating Changes and Changes.old