freebsd-skq/sys/compat
Conrad Meyer f3bae413e9 random(9): Deprecate random(9), remove meaningless srandom(9)
srandom(9) is meaningless on SMP systems or any system with, say,
interrupts.  One could never rely on random(9) to produce a reproducible
sequence of outputs on the basis of a specific srandom() seed because the
global state was shared by all kernel contexts.  As such, removing it is
literally indistinguishable to random(9) consumers (as compared with
retaining it).

Mark random(9) as deprecated and slated for quick removal.  This is not to
say we intend to remove all fast, non-cryptographic PRNG(s) in the kernel.
It/they just won't be random(9), as it exists today, in either name or
implementation.

Before random(9) is removed, a replacement will be provided and in-tree
consumers will be converted.

Note that despite the name, the random(9) interface does not bear any
resemblance to random(3).  Instead, it is the same crummy 1988 Park-Miller
LCG used in libc rand(3).
2019-12-26 19:41:09 +00:00
..
cloudabi Fix the last few cases that grab without busy or valid. The grab functions must 2019-12-02 22:38:25 +00:00
cloudabi32 sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
cloudabi64 sysent: Reduce duplication and improve readability. 2019-12-06 23:59:23 +00:00
freebsd32 Copy out aux args after the argument and environment vectors. 2019-12-09 19:17:28 +00:00
ia32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
lindebugfs LinuxKPI: Finalize move of lindebugfs from ports to base. 2019-05-19 15:44:21 +00:00
linprocfs linprocfs: Make sure to report -1 as tty when we have no controlling tty. 2019-11-11 00:21:05 +00:00
linsysfs Create a "drm" subdirectory for drm devices in linsysfs. Recent versions of 2019-09-23 12:27:55 +00:00
linux Add a hack to make ^T work for Linux binaries, enabled with 2019-12-16 20:15:44 +00:00
linuxkpi/common Make page busy state deterministic on free. Pages must be xbusy when 2019-12-22 06:56:44 +00:00
ndis random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
netbsd
x86bios x86bios: use M_NOWAIT with mallocs 2018-09-13 07:04:00 +00:00