Bug 15341 - busybox - 1.36.x - miscutils/seedrng.c: fix <sys/random.h> include error on glibc < 2.25
Summary: busybox - 1.36.x - miscutils/seedrng.c: fix <sys/random.h> include error on ...
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 11:00 UTC by Thomas Devoogdt
Modified: 2023-02-16 11:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
0001-miscutils-seedrng.c-fix-sys-random.h-include-error-o.patch (1.11 KB, patch)
2023-02-16 11:00 UTC, Thomas Devoogdt
Details

Note You need to log in before you can comment on or make changes to this bug.
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