freebsd-nq/sys/compat/ndis
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
..
cfg_var.h
hal_var.h
kern_ndis.c
kern_windrv.c [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 2019-01-22 03:53:42 +00:00
ndis_var.h Fix compilation with 'option NDISAPI + device ndis' and 2019-01-30 11:40:12 +00:00
ntoskrnl_var.h
pe_var.h [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 2019-01-22 03:53:42 +00:00
resource_var.h
subr_hal.c
subr_ndis.c Fix build of ndis with base gcc on i386 2018-06-17 19:24:40 +00:00
subr_ntoskrnl.c random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
subr_pe.c
subr_usbd.c
usbd_var.h
winx32_wrap.S
winx64_wrap.S