Restore sysfs_devices_system_cpu to domain.te

am: 4e2d22451f

* commit '4e2d22451f9645f7ab39b94b1ec0f0f5a5c5b2e9':
  Restore sysfs_devices_system_cpu to domain.te
This commit is contained in:
Nick Kralevich 2015-12-10 11:21:11 -08:00 committed by android-build-merger
commit 66e4cf843c
2 changed files with 3 additions and 1 deletions

View file

@ -99,6 +99,9 @@ allow domain system_file:lnk_file read;
# libc references /data/misc/zoneinfo for timezone related information # libc references /data/misc/zoneinfo for timezone related information
r_dir_file(domain, zoneinfo_data_file) r_dir_file(domain, zoneinfo_data_file)
# Lots of processes access current CPU information
r_dir_file(domain, sysfs_devices_system_cpu)
# files under /data. # files under /data.
allow domain system_data_file:dir { search getattr }; allow domain system_data_file:dir { search getattr };
allow domain system_data_file:lnk_file read; allow domain system_data_file:lnk_file read;

View file

@ -63,7 +63,6 @@ allow domain_deprecated ion_device:chr_file rw_file_perms;
# Read access to pseudo filesystems. # Read access to pseudo filesystems.
r_dir_file(domain_deprecated, proc) r_dir_file(domain_deprecated, proc)
r_dir_file(domain_deprecated, sysfs) r_dir_file(domain_deprecated, sysfs)
r_dir_file(domain_deprecated, sysfs_devices_system_cpu)
r_dir_file(domain_deprecated, inotify) r_dir_file(domain_deprecated, inotify)
r_dir_file(domain_deprecated, cgroup) r_dir_file(domain_deprecated, cgroup)
r_dir_file(domain_deprecated, proc_net) r_dir_file(domain_deprecated, proc_net)