Michael Kerrisk
5ddb62b287
reboot.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-22 10:02:47 +01:00
Wang Long
90e072b633
reboot.2: Note errors for invalid commands inside a PID namespace
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-11-22 09:53:14 +01:00
Michael Kerrisk
e9477548b0
timerfd_create.2: Document TFD_TIMER_CANCEL_ON_SET
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
510625764c
timerfd_create.2: Rework discussion on relative and absolute timers
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
4c7471193b
timerfd_create.2: Document CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM, and CLOCK_BOOTTIME_ALARM
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
1bf5cb75dd
timer_create.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
4b76fffb6a
timerfd_create.2: Rework description of clocks as a hanging list
...
Done in part as preparation for following patches.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:22 +01:00
Michael Kerrisk
cc83f4d1bb
clock_getres.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:59:43 +01:00
Michael Kerrisk
0bbe872f38
clock_getres.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:57:04 +01:00
Michael Kerrisk
8b047fe272
timer_create.2: Document CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:53:44 +01:00
Michael Kerrisk
39c97bde31
timer_create.2: Document CLOCK_BOOTTIME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:41:59 +01:00
Michael Kerrisk
5fe5d581c6
signalfd.2: Document ssi_addr_lsb field of signalfd_siginfo
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:31:06 +01:00
Michael Kerrisk
17be9ac5ad
signalfd.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:29:11 +01:00
Michael Kerrisk
176b1a7665
mmap.2: Add (much) more detail on MAP_GROWSDOWN
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:06:41 +01:00
Michael Kerrisk
86f12eb091
mmap.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:06:35 +01:00
Michael Kerrisk
3a06e3f7a8
mprotect.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:01:46 +01:00
Michael Kerrisk
93d210fd5a
mprotect.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:01:46 +01:00
Michael Kerrisk
d88d01c6b8
mprotect.2: Various fixes to Eugene Syromyatnikov's text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:01:46 +01:00
Michael Kerrisk
be232513a2
mprotect.2: srcfix: rewrap source lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 10:58:57 +01:00
Eugene Syromyatnikov
a9799e8a86
mprotect.2: Document PROT_SEM, PROT_SAO, PROT_GROWSUP, and PROT_GROWSDOWN
2016-11-21 10:58:11 +01:00
Michael Kerrisk
50efeef8ca
mmap.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 10:54:55 +01:00
Michael Kerrisk
0805a3dd37
close.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 10:54:55 +01:00
Michael Kerrisk
41a926bfa6
prctl.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 19:02:23 +01:00
Michael Kerrisk
ffb0dafce7
prctl.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 18:28:02 +01:00
Michael Kerrisk
07d6076e59
prctl.2: Tweaks after comments from Eugene Syromyatnikov
...
Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 18:25:34 +01:00
Michael Kerrisk
fb90e0c7ca
prctl.2: Remove numeric definitions of PR_FP_MODE_FR and PR_FP_MODE_FRE bits
...
There's no obvious reason to supply the numeric values
for these bit-mask constants.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 12:25:12 +01:00
Michael Kerrisk
8950730593
prctl.2: Minor wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 12:21:56 +01:00
Michael Kerrisk
b3073df8f9
prctl.2: srcfix: rewrap lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 11:32:37 +01:00
Eugene Syromyatnikov
64a53a6768
prctl.2: Document PR_SET_FP_MODE and PR_GET_FP_MODE
...
Based on description provided in commit 9791554b and information in
https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
2016-11-20 11:24:04 +01:00
Michael Kerrisk
ebfe2108cc
accept.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 10:25:27 +01:00
Michael Kerrisk
9d66d927da
accept.2: Minor wording fix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 10:24:26 +01:00
Michael Kerrisk
065f9d8a77
accept.2: Remove editorializing comments about 'socklen_t'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 10:22:40 +01:00
Michael Kerrisk
ff20e9ca6b
ptrace.2: Tweaks to Keno Fischer's patches
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-17 08:21:01 +01:00
Keno Fischer
5419141e28
ptrace.2: Expand documentation PTRACE_EVENT_SECCOMP traps
...
In Linux 4.8 (through a series of commits, 93e35efb8de45393c
being the actual reordering on x86), the order of
PTRACE_EVENT_SECCOMP and syscall-entry-stops was reversed.
Document both behaviors and their interaction with the
various forms of restart.
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
2016-11-17 08:07:37 +01:00
Keno Fischer
131bcd7aaa
ptrace.2: Document the behavior of PTRACE_SYSEMU stops
...
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
2016-11-17 08:02:48 +01:00
Andrew Clayton
c1bda2c87d
getgroups.2: FTM requirements fix for setgroups(2)
...
This fixes commit 51c612f
(... Update FTM requirements
(_DEFAULT_SOURCE))
This commit updated numerous pages for the _SVID_SOURCE and
_BSD_SOURCE deprecations and the new use of _DEFAULT_SOURCE.
However during this conversion for setgroups(2), _BSD_SOURCE got
replaced by _SVID_SOURCE under the 'Glibc 2.19 and earlier:'
heading.
Put it back to _BSD_SOURCE. This was confirmed by building under
a Glibc 2.17 system and using _SVID_SOURCE resulted in a
warning: implicit declaration of function ‘setgroups’
[-Wimplicit-function-declaration]
message. Using _BSD_SOURCE gives a clean compile.
Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
2016-11-15 21:35:57 +01:00
Michael Kerrisk
5991f44e6a
remap_file_pages.2, statfs.2, sync.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 21:50:30 +01:00
Michael Kerrisk
dce6b79650
getrandom.2, random.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
9eaf75006c
getrandom.2: Remove material incorporated into random(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
9609814712
getrandom.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
e196d31917
getrandom.2: Clarify that getrandom() is not "reading" from /dev/{random,urandom}
...
The existing text is a little confusing, since it somewhat
suggests that getrandom() "reads" from the /dev/random and
/dev/urandom devices. Rather, it is drawing from the same
pools as those devices. Reword the text to clarify that.
Plus a few other wording improvements.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
b4a9630f4b
getrandom.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
724d21bbb8
random.4: Minor wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
311edc011a
getrandom.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
c35966b125
getrandom.2: Note advantages of fact that getrandom() doesn't use file descriptors
...
Inspired by Nikos Mavrogiannopoulos's post at
http://nmav.gnutls.org/2016/10/random-generator-linux.html
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
2e1f8bfa17
getrandom.2, random.4: Consolidate and improve discussion on usage of randomness
...
Currently, recommendations on how to consume randomness are
spread across both getrandom(2) and random(4) and the general
opinion seems to be that the text in getrandom(2) does a
somewhat better job. Consolidate the discussion to a single
page (getrandom(2)) and address some of the concerns
expressed about the existing text in random(4).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
b50a708ba6
wait.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:20:27 +01:00
Michael Kerrisk
68246229ba
send.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:09:30 +01:00
Michael Kerrisk
fcc4f4f456
perf_event_open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:08:56 +01:00
Michael Kerrisk
3f06ade3af
mmap.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:08:31 +01:00