Skip to content
Snippets Groups Projects
Commit bb7f4b64 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Make /proc/sys/kernel/random available to everyone am: 9d9c370f

am: 93760664

Change-Id: Ib76e6e19c62bd37e09568993aec0e00be2ef18e0
parents f9108496 93760664
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,8 @@ allow { domain -servicemanager -vndservicemanager -isolated_app } hwbinder_devic
allow domain ptmx_device:chr_file rw_file_perms;
allow domain alarm_device:chr_file r_file_perms;
allow domain random_device:chr_file rw_file_perms;
allow domain proc_random:dir r_dir_perms;
allow domain proc_random:file r_file_perms;
allow domain properties_device:dir { search getattr };
allow domain properties_serial:file r_file_perms;
......
......@@ -38,9 +38,8 @@ allow update_engine_common shell_exec:file rx_file_perms;
# Allow update_engine_common to suspend, resume and kill the postinstall program.
allow update_engine_common postinstall:process { signal sigstop sigkill };
# access /proc/cmdline and /proc/sys/kernel/random/
# access /proc/cmdline
allow update_engine_common proc_cmdline:file r_file_perms;
r_dir_file(update_engine_common, proc_random)
# Read files in /sys/firmware/devicetree/base/firmware/android/
r_dir_file(update_engine_common, sysfs_dt_firmware_android)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment