glibc headers: arc4random* functions added in glibc 2.36
Here's the glibc v2.36 announcment noting the addition of arc4random,
arc4random_buf and arc4random_uniform:
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=8420a65cd06874ee09518366b8fba746a557212a;hb=6f4e0fcfa2d2b0915816a3a3a1d48b4763a7dee2
Tested with the testcase from the bug. I get a compile-time error when
building against older glibc (instead of a linker error), and no errors
(as before) when compiling against v2.36 or later. And the glibc_compat
regression tests pass.
Fix #20426
a31fe8aa3ePat Tullmann committed on 7/3/2024, 6:57:24 AM· committed by Andrew Kelleyparent5e3bad3