]>
git.ipfire.org Git - thirdparty/man-pages.git/log
Michael Kerrisk [Sun, 27 Nov 2016 15:36:03 +0000 (16:36 +0100)]
nice.2: add reference to sched(7) for further details on the nice value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 15:32:56 +0000 (16:32 +0100)]
sched.7: Add more precise details on CFS's treatment of the nice value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 15:26:27 +0000 (16:26 +0100)]
getpriority.2, sched.7: Move nice value details from getpriority(2) to sched(7)
Centralizing these details in sched(7) is more logical.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 15:09:34 +0000 (16:09 +0100)]
getpriority.2: Minor wording change
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 15:07:54 +0000 (16:07 +0100)]
getpriority.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 15:02:51 +0000 (16:02 +0100)]
nice.2: Add "C library/kernel differences" subsection heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 15:00:43 +0000 (16:00 +0100)]
nice.2: Clarify the range of the nice value, and note that it is clamped
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:55:51 +0000 (15:55 +0100)]
getpriority.2: The nice value supplied to setpriority() is clamped
Note that the nice value supplied to setpriority() is clamped
to the permitted range.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:47:11 +0000 (15:47 +0100)]
sched.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:45:17 +0000 (15:45 +0100)]
sched.7: Make it clearer that SCHED_OTHER is always scheduled below real-time
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:26:15 +0000 (15:26 +0100)]
sched.7: Add introductory sentence mentioning CFS scheduler
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:19:05 +0000 (15:19 +0100)]
sched.7: Minor wording improvement in text introducing system calls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:10:46 +0000 (15:10 +0100)]
sched.7: Remove mention of individual kernel developer names
It's not the norm to name developers of particular features
in each man page. No need for an exception here.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 14:02:53 +0000 (15:02 +0100)]
sched.7: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 13:57:30 +0000 (14:57 +0100)]
sched.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 13:44:24 +0000 (14:44 +0100)]
cgroups.7: Add details on 'cpu' CFS bandwidth control
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 11:06:34 +0000 (12:06 +0100)]
elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 11:05:32 +0000 (12:05 +0100)]
elf.5: srcfix: rewrap some long source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 10:56:25 +0000 (11:56 +0100)]
elf.5: A few tweaks to Mike Frysinger's text (Mike to check)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 10:22:52 +0000 (11:22 +0100)]
elf.5: Minor fixes to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Mike Frysinger [Sun, 27 Nov 2016 03:31:37 +0000 (22:31 -0500)]
elf(5): document notes
Document the Elf{32,64}_Nhdr structure, the sections/segments that
contain notes, and how to interpret them. I've been lazy and only
included the GNU extensions here, especially as others are not
defined in the elf.h header file as shipped by glibc.
I've mostly used binutils, glibc, breakpad, and the GABI ELF spec
as sources of data for these fields.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 27 Nov 2016 09:56:34 +0000 (10:56 +0100)]
setsid.2: Improve wording of text on calling setsid() after fork()+_exit()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 14:02:56 +0000 (15:02 +0100)]
random.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 09:03:52 +0000 (10:03 +0100)]
random.7: Remove recommendation against consuming large amounts of randomness
From the email discussion:
> > Usage recommendations
> > The kernel random-number generator relies on entropy gathered
> > from device drivers and other sources of environmental noise.
> > It is designed to produce a small amount of high-quality seed
> > material to seed a cryptographically secure pseudorandom number
> > generator (CSPRNG). It is designed for security, not speed,
> > and is poorly suited to generating large amounts of crypto‐
> > graphic random data. Users should be economical in the amount
> > of seed material that they consume via getrandom(2), /dev/uran‐
> > dom, and /dev/random.
> >
> > ┌─────────────────────────────────────────────────────┐
> > │FIXME │
> > ├─────────────────────────────────────────────────────┤
> > │Is it really necessary to avoid consuming large │
> > │amounts from /dev/urandom? Various sources linked to │
> > │by https://bugzilla.kernel.org/show_bug.cgi?id=71211 │
> > │suggest it is not. │
> > │ │
> > │And: has the answer to the previous question changed │
> > │across kernel versions? │
> > └─────────────────────────────────────────────────────┘
> > Consuming unnecessarily large quantities of data via these
> > interfaces will have a negative impact on other consumers of
> > randomness.
[Ted T'so:]
> So "poorly suited" is definitely true. Also true is that urandom is
> not engineered for use for non-cryptographic uses. It's always going
> to be faster to use random(3) for those purposes.
>
> As far as whether or not it has a negative impact, it depends on how
> much you trust the underlying cryptographic algorithms. If the CSPRNG
> is seeded correctly with at least 256 bits of entropy that can't be
> guessed by the attacker, and if the underlying cryptographic
> primitives are secure, then it won't matter. But *if* there is an
> unknown vulnerability in the underlying primitive, and *if* large
> amounts of data generated by the CSPRNG would help exploit that
> vulnerability, and *if* that bulk amount of CSPRNG output is made
> available to an attacker with the capability to break the underlying
> cryptographic vulnerability, then there would be a problem.
>
> Obviously, no one knows of such a vulnerability, and I'm fairly
> confident that there won't be such a vulnerability across the
> different ways we've used to generate the urandom source --- but some
> people are professional paranoids, and would argue that we shouldn't
> make bulk output of the CSPRNG available for no good reason, just in
> case.
[Nikos Mavrogiannopoulos:]
The above is certainly accurate, however, I think that such a
discussion or text, when reflected to a man-page is going to
cause problems. The audience of a man-page are not crypto people,
and seeing such text would create confusion rather than clarify
how these devices/apis should be used. The *if* part is not put
into a perspective, suggesting that such an *if* is possible.
However, if one clarifies, i.e., in that case, your TLS or SSH
connection is most likely broken as well, and not because of any
attack on /dev/urandom, then one can see that we are heading
towards a theoretical discussion.
My suggestion, on that particular text would be to remove it,
but make it explicit somewhere in the text that all the
assurances for the devices depend on the crypto primitives,
rather than describing risks that may arise on particular
usage patterns *if* primitives are broken.
Reviewed-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Reported-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Darrick J. Wong [Wed, 23 Nov 2016 04:48:16 +0000 (20:48 -0800)]
fideduperange.2: Fix the discussion of maximum sizes
Fix the discussion of the limitations on the dest_count and
src_length parameters to the fideduperange ioctl() to reflect
what's actually in the kernel.
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Michael Kerrisk [Sat, 26 Nov 2016 13:15:59 +0000 (14:15 +0100)]
mbsnrtowcs.3: Note behavior of mbsnrtowcs() for an incomplete character
Note the behavior of mbsnrtowcs() when an incomplete character
is found at end of the input buffer.
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 26 Nov 2016 13:06:12 +0000 (14:06 +0100)]
mbsnrtowcs.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 13:43:45 +0000 (14:43 +0100)]
sched.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 12:53:24 +0000 (13:53 +0100)]
proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 12:42:49 +0000 (13:42 +0100)]
sched.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 12:21:32 +0000 (13:21 +0100)]
sched.7: Give the page a more generic NAME
The page isn't just about APIs.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 12:19:20 +0000 (13:19 +0100)]
sched.7: NOTES: mention cgroups CPU controller
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 22 Nov 2016 09:02:47 +0000 (10:02 +0100)]
reboot.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Wang Long [Tue, 22 Nov 2016 08:39:17 +0000 (16:39 +0800)]
reboot.2: Note errors for invalid commands inside a PID namespace
Signed-off-by: Wang Long <long.wanglong@huawei.com>
Michael Kerrisk [Mon, 21 Nov 2016 15:13:29 +0000 (16:13 +0100)]
timerfd_create.2: Document TFD_TIMER_CANCEL_ON_SET
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 14:46:52 +0000 (15:46 +0100)]
timerfd_create.2: Rework discussion on relative and absolute timers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 14:11:32 +0000 (15:11 +0100)]
timerfd_create.2: Document CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM, and CLOCK_BOOTTIME_ALARM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 14:04:55 +0000 (15:04 +0100)]
timer_create.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 14:02:46 +0000 (15:02 +0100)]
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>
Michael Kerrisk [Mon, 21 Nov 2016 13:59:43 +0000 (14:59 +0100)]
clock_getres.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 13:57:04 +0000 (14:57 +0100)]
clock_getres.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 13:53:44 +0000 (14:53 +0100)]
timer_create.2: Document CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 13:41:59 +0000 (14:41 +0100)]
timer_create.2: Document CLOCK_BOOTTIME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 13:31:06 +0000 (14:31 +0100)]
signalfd.2: Document ssi_addr_lsb field of signalfd_siginfo
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 13:29:11 +0000 (14:29 +0100)]
signalfd.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 12:20:29 +0000 (13:20 +0100)]
isalpha.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 10:33:56 +0000 (11:33 +0100)]
mbstowcs.3: Add missing include to example program
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845172
Reported-by: Igor Liferenko <igor.liferenko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 10:06:41 +0000 (11:06 +0100)]
mmap.2: Add (much) more detail on MAP_GROWSDOWN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 10:06:35 +0000 (11:06 +0100)]
mmap.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 07:41:41 +0000 (08:41 +0100)]
mprotect.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 07:27:10 +0000 (08:27 +0100)]
mprotect.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 20:43:44 +0000 (21:43 +0100)]
mprotect.2: Various fixes to Eugene Syromyatnikov's text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 20:05:26 +0000 (21:05 +0100)]
mprotect.2: srcfix: rewrap source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Eugene Syromyatnikov [Sun, 20 Nov 2016 01:16:03 +0000 (04:16 +0300)]
mprotect.2: Document PROT_SEM, PROT_SAO, PROT_GROWSUP, and PROT_GROWSDOWN
Michael Kerrisk [Mon, 21 Nov 2016 08:35:05 +0000 (09:35 +0100)]
mmap.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 07:43:06 +0000 (08:43 +0100)]
bootparam.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 07:42:13 +0000 (08:42 +0100)]
close.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 21 Nov 2016 07:26:56 +0000 (08:26 +0100)]
proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 18:02:23 +0000 (19:02 +0100)]
prctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 17:28:02 +0000 (18:28 +0100)]
prctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 17:25:34 +0000 (18:25 +0100)]
prctl.2: Tweaks after comments from Eugene Syromyatnikov
Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 10:55:37 +0000 (11:55 +0100)]
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>
Michael Kerrisk [Sun, 20 Nov 2016 10:39:25 +0000 (11:39 +0100)]
prctl.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 20 Nov 2016 10:32:37 +0000 (11:32 +0100)]
prctl.2: srcfix: rewrap lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Eugene Syromyatnikov [Sun, 20 Nov 2016 00:55:11 +0000 (03:55 +0300)]
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
Michael Kerrisk [Sat, 19 Nov 2016 10:26:10 +0000 (11:26 +0100)]
random.7: wfix
Reported-by: Jeremy Harris <jgh@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 19 Nov 2016 09:24:41 +0000 (10:24 +0100)]
remainder.3: Note fix to remainder(nan(""), 0) handling
The bug https://www.sourceware.org/bugzilla/show_bug.cgi?id=6779
has been fixed in glibc 2.15.
Michael Kerrisk [Sat, 19 Nov 2016 08:48:06 +0000 (09:48 +0100)]
remainder.3: Document fixes for EDOM handling for range errors
The bug http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
was fixed in glibc 2.15.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 18 Nov 2016 19:16:23 +0000 (20:16 +0100)]
tgamma.3: Document fixes to give ERANGE for underflow range error
The bug https://www.sourceware.org/bugzilla/show_bug.cgi?id=6810
was fixed in glibc 2.19.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 18 Nov 2016 09:41:26 +0000 (10:41 +0100)]
inotify.7: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 18 Nov 2016 09:39:10 +0000 (10:39 +0100)]
inotify.7: Note a subtlety of event generation when monitoring a directory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 18 Nov 2016 09:25:27 +0000 (10:25 +0100)]
accept.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 18 Nov 2016 09:24:26 +0000 (10:24 +0100)]
accept.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 18 Nov 2016 09:22:40 +0000 (10:22 +0100)]
accept.2: Remove editorializing comments about 'socklen_t'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 17 Nov 2016 20:51:05 +0000 (21:51 +0100)]
isalpha.3: Note circumstances where 'c' must be cast to 'unsigned char'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 17 Nov 2016 20:49:37 +0000 (21:49 +0100)]
toupper.3: Note circumstances where 'c' must be cast to 'unsigned char'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 17 Nov 2016 15:41:36 +0000 (16:41 +0100)]
elf.5: Minor tweaks to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Mike Frysinger [Thu, 17 Nov 2016 14:34:27 +0000 (09:34 -0500)]
elf(5): Add subsection headers at major points
The current pages dumps all the content into one big DESCRIPTION
with no real visual break up between logically independent
sections. Add some subsection headers to make it easier to
read and scan.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Michael Kerrisk [Thu, 17 Nov 2016 07:21:01 +0000 (08:21 +0100)]
ptrace.2: Tweaks to Keno Fischer's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Keno Fischer [Wed, 16 Nov 2016 05:52:27 +0000 (00:52 -0500)]
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>
Keno Fischer [Wed, 16 Nov 2016 05:51:59 +0000 (00:51 -0500)]
ptrace.2: Document the behavior of PTRACE_SYSEMU stops
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Michael Kerrisk [Tue, 15 Nov 2016 21:14:52 +0000 (22:14 +0100)]
random.7: wfix
Reported-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Andrew Clayton [Tue, 15 Nov 2016 18:55:54 +0000 (18:55 +0000)]
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>
Michael Kerrisk [Tue, 15 Nov 2016 06:48:59 +0000 (07:48 +0100)]
random.7: srcfix: tweak FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 15 Nov 2016 06:40:35 +0000 (07:40 +0100)]
random.7: Tewaks after review by Ted T'so
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 15 Nov 2016 06:18:08 +0000 (07:18 +0100)]
random.7: Fixes after review by Laurent Georget
Reviewed-by: Laurent Georget <laurent@lgeorget.eu>
Reported-by: Laurent Georget <laurent@lgeorget.eu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 15 Nov 2016 06:05:53 +0000 (07:05 +0100)]
random.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 15 Nov 2016 05:57:51 +0000 (06:57 +0100)]
random.7: wfix
Reported-by: Jeremy Harris <jgh@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 13 Nov 2016 06:34:18 +0000 (07:34 +0100)]
random.7: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 13 Nov 2016 06:26:51 +0000 (07:26 +0100)]
random.7: Note that simulations don't need cryptographically secure random numbers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 22:00:40 +0000 (23:00 +0100)]
random.7: wfix
Reported-by: Laurent Georget <laurent.georget@supelec.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 20:50:30 +0000 (21:50 +0100)]
remap_file_pages.2, statfs.2, sync.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 19:18:15 +0000 (20:18 +0100)]
random.7: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 12:19:10 +0000 (13:19 +0100)]
random.7: wfix
Further weaken any suggestion that the "random" source is
in some cases preferable.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 10:56:18 +0000 (11:56 +0100)]
random.4: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 10:51:22 +0000 (11:51 +0100)]
random.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 10:01:22 +0000 (11:01 +0100)]
random.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 12 Nov 2016 10:00:12 +0000 (11:00 +0100)]
random.4: wfix
The word "very" here is overkill, and inclines the reader to
think that /dev/urandom is inferior.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 11 Nov 2016 21:36:09 +0000 (22:36 +0100)]
getrandom.2, random.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 11 Nov 2016 21:27:05 +0000 (22:27 +0100)]
random.4: Add reference to new random(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>