Skip to content
Commit 13db9ee2 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

stdlib: Fix __getrandom_nocancel type and arc4random usage (BZ #29638)



Using an unsigned type prevents the fallback to be used if kernel
does not support getrandom syscall.

Checked on x86_64-linux-gnu.

Reviewed-by: default avatarWilco Dijkstra <Wilco.Dijkstra@arm.com>
parent 8b10727a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment