|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesfix_getrandom_tests (last revision 2015-12-23 00:49 UTC by crrodriguez at opensuse dot org)Pull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2015-12-23 15:59 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2015-12-23 15:59 UTC] ab@php.net
[2015-12-23 16:10 UTC] crrodriguez at opensuse dot org
-Status: Feedback
+Status: Open
[2015-12-23 16:10 UTC] crrodriguez at opensuse dot org
[2015-12-23 21:56 UTC] leigh@php.net
[2015-12-24 01:39 UTC] crrodriguez at opensuse dot org
[2017-01-09 05:46 UTC] krakjoe@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: leigh
[2017-01-09 05:46 UTC] krakjoe@php.net
[2017-01-22 04:22 UTC] php-bugs at lists dot php dot net
[2017-01-22 09:32 UTC] nikic@php.net
-Status: No Feedback
+Status: Closed
[2017-01-22 09:32 UTC] nikic@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
Description: ------------ getrandom() system call is not used on linux due to incorrect ifdef's. HAVE_DECL_GETRANDOM is always undefined as there is no declaration of getrandom on the C library or kernel headers and the code that follows does not use it, only the raw syscall interface. Test script: --------------- strace -egetrandom php -r 'random_bytes(1);' Expected result: ---------------- getrandom("\221", 1, 0) = 1 Actual result: -------------- (nothing, getrandom unused)