All of the removed text is in sched_setscheduler(2) and
should have been trimmed from this page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Cowritten-by: Christoph Hellwig <hch@infradead.org>
Cowritten-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Andy Lutomirski pointed out that man-pages commit 7dee406bc4
described behavior that was implemented in kernel commit
bb2314b4799 (1 Aug 2013), but that commit was soon afterward
reverted (f0cc6ffb8ce896). So rework the pieces of man-pages
commit 7dee406bc4 that relate to the privilges change.
Reported-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Different system calls use different 'errno' values to diagnose
exhaustion of the ephemeral port range.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Quoting Ingo:
I just noticed that the stpcpy(3) manual contains a speculation
that appears to be untrue on closer investigation: That function
did not originate in MS DOS, but in Lattice C on AmigaDOS.
Here is a patch against the git master HEAD to fix that, and add
some more historical information. To provide some background and
allow you to more easily verify the correctness of the patch, i'm
appending my mail to <misc@openbsd.org>, where i'm giving some
more details about the history and pointing to some primary
sources. That mail also contains the (similar, but shorter)
patch i just committed to the OpenBSD manual page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
One needs to #include <signal.h> to get the definition of the
type (sigset_t) of the mask argument to ppoll().
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The nmask argument is const. The return type in numaif.h is long.
(Well, at least <numaif.h> says nmask is const. The current kernel
does not define it as a const argument, but sys_mbind() only
passes it to get_nodes(), which does treat it as const.)
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The first argument and the return value of syscall() has type long,
not int.
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
If one were to implement wrappers for [gs]et_robust_list() using the
given prototypes, one would also have to include sys/types.h to get
a definition of size_t.
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
The who argument has type id_t (which happens to be u32 on linux).
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>