php-src/ext/random
David Carlier f1e5c63837
Checks getrandom availability on solaris.
To fix part of GH-15381.
gcc nor clang provides a constant to distinguish illumos and solaris
not the system provides a kernel version stamp like the BSD.
thus, we simply check the symbol and remaing purposely conservative in
the existing logic, using it only for solaris to avoid unexpected
breakages for other systems. would need a different fix for higher
branches.

Close GH-15390
2024-08-13 20:54:12 +01:00
..
tests Merge branch 'PHP-8.2' into PHP-8.3 2024-02-29 18:10:39 +01:00
config.m4 Checks getrandom availability on solaris. 2024-08-13 20:54:12 +01:00
config.w32
CREDITS
csprng.c Checks getrandom availability on solaris. 2024-08-13 20:54:12 +01:00
engine_combinedlcg.c
engine_mt19937.c Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
engine_pcgoneseq128xslrr64.c
engine_secure.c
engine_user.c
engine_xoshiro256starstar.c
gammasection.c random: Fix γ-section implementation for Randomizer::getFloat() (#12402) 2023-10-13 17:55:14 +02:00
php_random.h Remove includes 2023-04-04 22:48:26 +03:00
random_arginfo.h Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
random.c Merge branch 'PHP-8.2' into PHP-8.3 2024-03-13 20:14:42 +01:00
random.stub.php Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
randomizer.c