Bug 15341

Summary: busybox - 1.36.x - miscutils/seedrng.c: fix <sys/random.h> include error on glibc < 2.25
Product: Busybox Reporter: Thomas Devoogdt <thomas.devoogdt>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: 0001-miscutils-seedrng.c-fix-sys-random.h-include-error-o.patch

Description Thomas Devoogdt 2023-02-16 11:00:26 UTC
Created attachment 9511 [details]
0001-miscutils-seedrng.c-fix-sys-random.h-include-error-o.patch

getrandom() was introduced in version 3.17 of the Linux kernel.
       Support was added to glibc in version 2.25.

https://man7.org/linux/man-pages/man2/getrandom.2.html

Since commit: https://git.busybox.net/busybox/commit/?id=4b407bacd4c1628782d24c3e044e43780bb057a4