Merge "bootstat: Fix the SELinux policy after removing domain_deprecated." am: ae29dea8b7

am: c119fab939

* commit 'c119fab9392cc8a7d95d88417ff8a1c2a521566f':
  bootstat: Fix the SELinux policy after removing domain_deprecated.
This commit is contained in:
James Hawkins 2016-01-26 21:54:59 +00:00 committed by android-build-merger
commit 327da659be
2 changed files with 4 additions and 0 deletions

View file

@ -7,3 +7,6 @@ init_daemon_domain(bootstat)
# Allow persistent storage in /data/misc/bootstat.
allow bootstat bootstat_data_file:dir rw_dir_perms;
allow bootstat bootstat_data_file:file create_file_perms;
# Read access to pseudo filesystems (for /proc/uptime).
r_dir_file(bootstat, proc)

View file

@ -154,6 +154,7 @@
/system/bin/sh -- u:object_r:shell_exec:s0
/system/bin/run-as -- u:object_r:runas_exec:s0
/system/bin/bootanimation u:object_r:bootanim_exec:s0
/system/bin/bootstat u:object_r:bootstat_exec:s0
/system/bin/app_process32 u:object_r:zygote_exec:s0
/system/bin/app_process64 u:object_r:zygote_exec:s0
/system/bin/servicemanager u:object_r:servicemanager_exec:s0