diff options
author | Elliott Hughes <enh@google.com> | 2017-09-27 16:33:35 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-09-29 05:31:35 +0000 |
commit | 8465e968a8a92c77d57360837a9e725972a745e6 (patch) | |
tree | f8bd05e55680224a407ac55afaef58b668868b05 /libc/include/android/api-level.h | |
parent | 96510935697c2934427f0c14d0b153244e8cfb2b (diff) |
Add <sys/random.h>.
iOS 10 has <sys/random.h> with getentropy, glibc >= 2.25 has
<sys/random.h> with getentropy and getrandom. (glibc also pollutes
<unistd.h>, but that seems like a bad idea.)
Also, all supported devices now have kernels with the getrandom system
call.
We've had these available internally for a while, but it seems like the
time is ripe to expose them.
Bug: http://b/67014255
Test: ran tests
Change-Id: I76dde1e3a2d0bc82777eea437ac193f96964f138
Diffstat (limited to 'libc/include/android/api-level.h')
0 files changed, 0 insertions, 0 deletions