Commit graph

2 commits

Author SHA1 Message Date
Paul Crowley
17885691e7 Don't set /dev/hwrng to O_NONBLOCK
Reads on `tokio::fs::File` are expected to block, and are performed
inside a `spawn_blocking` call so that they don't block the reactor.

Bug: 268075535
Test: read from /dev/socket/prng_seeder 256 times
Change-Id: I009d1fb11b540412e705cc2be0ebc7e2f09d2c0c
2023-03-09 17:51:58 +00:00
Paul Crowley
0faf1f9fd9 Add OWNERS file
Test: N/A
Change-Id: I7fc63b385ea866ca13b04b4bccbc6e851340da49
2022-09-29 17:18:20 +00:00