Commit 17aa7e7f authored by Alex Klyubin's avatar Alex Klyubin
Browse files

Assert that /dev/random and urandom are world-readable/writable.

This CL adds tests into CTS to assert that the Linux RNG character
devices /dev/random and /dev/urandom are world-readable and
world-writable. This is needed mainly to ensure that apps can use
/dev/urandom (and /dev/random) as sources of randomness.

Some of the existing CTS tests are already implicitly checking that
/dev/urandom is world-readable. However, it is time to stregthen the
contract and assert the world-readability/writability explicitly.

Bug: 10394220

(cherry picked from commit 85c3cbc1)

Change-Id: I86beb388b2f84a9523c0264cb9b59f36a6dd7fb4
parent 37f5e88d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment