Michael Kerrisk
4b081d8d9d
sched_setattr.2: SYNOPSIS: remove 'const' from 'attr' sched_getattr() argument
...
Reported-by: Christophe Blaess <Christophe@blaess.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
60569afd98
getnameinfo.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
c49a8e2a02
getutent.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
723560ba1c
mlock.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
cd6e402be4
pciconfig_read.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
44da0e2405
random.4: Note maximum number of bytes returned by read(2) on /dev/random
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
866fa68185
random.4: Since Linux 3.16, reads from /dev/urandom return at most 32 MB
...
See https://bugs.debian.org/775328 and
https://bugzilla.kernel.org/show_bug.cgi?id=80981#c9
Reported-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
792bb5ad59
random.4: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michal Hocko
17ad768d41
fork.2: EAGAIN is not reported when task allocation fails
...
I am not sure why we have:
"EAGAIN fork() cannot allocate sufficient memory to copy
the parent's page tables and allocate a task structure
or the child."
The text seems to be there from the time when man-pages
were moved to git so there is no history for it.
And it doesn't reflect reality: the kernel reports both
dup_task_struct and dup_mm failures as ENOMEM to the
userspace. This seems to be the case from early 2.x times
so let's simply remove this part.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
2702dc2175
proc.5: (Briefly) document /proc/PID/attr/socketcreate
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
666db07e1a
proc.5: (Briefly) document /proc/PID/attr/keycreate
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
b7a425679b
proc.5: Document /proc/PID/attr/{current,exec,fscreate,prev}
...
Heavily based on Stephen Smalley's text in
https://lwn.net/Articles/28222/
From: Stephen Smalley <sds@epoch.ncsc.mil>
To: LKML and others
Subject: [RFC][PATCH] Process Attribute API for Security Modules
Date: 08 Apr 2003 16:17:52 -0400
Cowritten-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
c261b0e5a5
proc.5: Document /proc/sys/kernel/auto_msgmni
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
12618ce888
intro.5: Remove words "and protocols"
...
There are no protocol descriptions in Section 5. Protocols are
in Section 7.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
98f792f704
semop.2: Note defaults for SEMOPM and warn against increasing > 1000
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
8a3e6dc72f
semget.2: Note default value for SEMMNI and SEMMSL
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk
a75f73c22a
msgget.2: Add details of MSGMNI default value
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
faeaa68cca
msgop.2: Clarify wording of MSGMAX and MSGMNB limits
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
4b139190f9
signal.7: srcfix: note commit hash for futex() restart behavior change
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
f2aa4dcc8e
proc.5: Note that CAP_SYS_ADMIN is required to list /proc/PID/map_files
...
This might however change in the future; see the Jan 2015 LKML thread:
Re: [RFC][PATCH v2] procfs: Always expose /proc/<pid>/map_files/
and make it readable
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
2f2a53b56e
setxattr.2: ERRORS: add ENOTSUP for invalid namespace prefix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
5e73ab4bc4
setxattr.2: Remove redundant text under ENOTSUP error
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
9398702ca2
setxattr.2: Rework text describing 'flags' argument
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
60da5b89a7
setxattr.2: Note that zero-length attribute values are permitted
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
736703bde2
setxattr.2: Minor rewordings
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
5232e869b2
setxattr.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
220b2331ef
removexattr.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
495420ae2c
removexattr.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
a4526c2f11
listxattr.2: Reword discussion of size==0 case
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
fae9230bda
getxattr.2: Various rewordings plus one or two details clarified
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
f1ec5ad108
listxattr.2: Remove mention of which filesystems implement ACLs
...
Such a list will only become outdated (as it already was).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
2d10343d11
listxattr.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
ee6627733a
fcntl.2: Clarify cases of conflict between traditional record and OFD locks
...
Verified by experiment on Linux 3.15 and 3.19rc4.
Acked-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
e81e6a4721
proc.5: Add reference to prctl(2) in discussion of /proc/sys/fs/suid_dumpable
...
And note that /proc/sys/fs/suid_dumpable defines the
value assigned to the process "dumpable" flag in certain
circumstances.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
2d7fc98dfe
prctl.2: Greatly expand discussion of "dumpable" flag
...
In particular, detail the interactions with
/proc/sys/fs/suid_dumpable.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
6e2bb1c2f7
prctl.2: Reorder paragraphs describing PR_SET_DUMPABLE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
0de51ed1fc
prctl.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
8aad30d779
prctl.2: Mention SUID_DUMP_DISABLE and SUID_DUMP_USER under PR_SET_DUMPABLE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
840a2b86c7
prctl.2: Executing a file with capabilities also resets the parent death signal
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:27 +01:00
Michael Kerrisk
4a3713a498
prctl.2: Minor restructuring of text for PR_SET_DUMPABLE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:26 +01:00
Michael Kerrisk
13f296bcc4
prctl.2: Mention file capabilities in discussion of PR_SET_DUMPABLE
...
Reported-by: Bill McConnaughey <mcconnau@biochem.wustl.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:24 +01:00
Michael Kerrisk
60a119dd2a
core.5: Executing a file that has capabilities also prevents core dumps
...
Reported-by: Bill McConnaughey <mcconnau@biochem.wustl.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-15 16:44:23 +01:00
Michael Kerrisk
e04ae86d7b
core.5: Document "%i" and "%I" core_pattern specifiers
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-15 16:44:23 +01:00
Michael Kerrisk
f55912a99f
getcpu.2: tfix
...
Reported-by: Zbigniew Brzeziński <zbigniew.brzezinski@student.put.poznan.pl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-04 20:26:19 +01:00
Heinrich Schuchardt
35800487b6
getrandom.2: tfix
...
Let's assume Michael's email address did not change.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-03 08:16:32 +01:00
Michael Kerrisk
39aad179ab
Changes.old: tfix in 3.79 changelog
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-02 09:58:34 +01:00
Michael Kerrisk
a288791dc7
tzset.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-02 07:37:31 +01:00
J William Piggott
09e421f1aa
tzset.3: ffix
...
Fix tzset.3 regression, dst is optional.
$ date
Sun Feb 1 15:14:33 EST 2015
$ TZ=NZST-12 date
Mon Feb 2 08:14:38 NZST 2015
$ TZ=EST5 date
Sun Feb 1 15:15:02 EST 2015
Signed-off-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-02 07:32:59 +01:00
Michael Kerrisk
6d16d1b830
Start of man-pages-3.80: updating Changes and Changes.old
2015-02-01 17:18:34 +01:00
Michael Kerrisk
57dd3e9b25
Start of man-pages-3.80: updating .Announce and .lsm files
2015-02-01 17:18:34 +01:00