History log of /src/lib/libc/tests/gen/arc4random_test.c (Results 1 – 9 of 9)
Revision Date Author Comments
# 1730b5c7 18-Nov-2024 Robert Clausecker <fuz@FreeBSD.org>

lib/libc/tests: add unit test for arc4random_uniform()

The new unit test validates that the range reduction works correctly.
We do not currently validate that there is no bias as that would take
too

lib/libc/tests: add unit test for arc4random_uniform()

The new unit test validates that the range reduction works correctly.
We do not currently validate that there is no bias as that would take
too much time and memory for a unit test.

Reviewed by: cem
Approved by: emaste
Differential Revision: https://reviews.freebsd.org/D47659

show more ...


# 559a218c 01-Nov-2023 Warner Losh <imp@FreeBSD.org>

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Kee

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 1730b5c7 18-Nov-2024 Robert Clausecker <fuz@FreeBSD.org>

lib/libc/tests: add unit test for arc4random_uniform()

The new unit test validates that the range reduction works correctly.
We do not currently validate that there is no bias as that would take
too

lib/libc/tests: add unit test for arc4random_uniform()

The new unit test validates that the range reduction works correctly.
We do not currently validate that there is no bias as that would take
too much time and memory for a unit test.

Reviewed by: cem
Approved by: emaste
Differential Revision: https://reviews.freebsd.org/D47659

show more ...


# 559a218c 01-Nov-2023 Warner Losh <imp@FreeBSD.org>

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Kee

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 233193f1 09-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Fix some TAP -> ATF conversion errors

- Remove a leftover printf from when this was a TAP based testcase
- Catch mmap failures properly

MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division


# 37074d96 16-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase and
rename as lib/libc/gen/arc4random_test

Sponsored by: EMC / Isilon Storage Division


# 35ee51e2 15-Nov-2011 David Schultz <das@FreeBSD.org>

A regression test to ensure that arc4random returns different sequences
in parent and child processes after a fork.