Merge "prng_seeder is a bootstrap process in microdroid"

This commit is contained in:
Jiyong Park 2022-12-23 03:31:18 +00:00 committed by Gerrit Code Review
commit bce697f3c5

View file

@ -8,6 +8,9 @@ type prng_seeder, domain, coredomain;
type prng_seeder_exec, system_file_type, exec_type, file_type;
init_daemon_domain(prng_seeder)
# prng_seeder is using bootstrap bionic
use_bootstrap_libs(prng_seeder)
# Socket open and listen are performed by init.
allow prng_seeder prng_seeder:unix_stream_socket { read write getattr accept };
allow prng_seeder hw_random_device:chr_file { read open };