Commit 78a52f19 authored by Josh Gao's avatar Josh Gao
Browse files

Attempt to use arc4random where getauxval(AT_RANDOM) is used.

When arc4random can get entropy (which is true for basically everyone
but init on kernels that don't support getrandom), use it instead of
AT_RANDOM.

Bug: http://b/29622562
Change-Id: I6932803af2c477e65562ff531bd959f199fad1df
parent 5faef47e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment