Remove redundant cgroup type/labelings.

am: d918c8df78

Change-Id: I16b713d3bcebea922685677b44ba8ae3e18f3f08
This commit is contained in:
Tri Vo 2018-11-16 17:45:13 -08:00 committed by android-build-merger
commit 5b235aed58
5 changed files with 1 additions and 6 deletions

View file

@ -2,6 +2,7 @@
(type audio_seq_device)
(type audio_timer_device)
(type commontime_management_service)
(type cpuctl_device)
(type fingerprint_vendor_data_file)
(type full_device)
(type i2c_device)

View file

@ -83,8 +83,6 @@
/dev/block/zram[0-9]* u:object_r:ram_device:s0
/dev/bus/usb(.*)? u:object_r:usb_device:s0
/dev/console u:object_r:console_device:s0
/dev/cpuctl(/.*)? u:object_r:cpuctl_device:s0
/dev/memcg(/.*)? u:object_r:cgroup:s0
/dev/device-mapper u:object_r:dm_device:s0
/dev/eac u:object_r:audio_device:s0
/dev/event-log-tags u:object_r:runtime_event_log_tags_file:s0

View file

@ -18,7 +18,6 @@ type ram_device, dev_type;
type rtc_device, dev_type;
type vold_device, dev_type;
type console_device, dev_type;
type cpuctl_device, dev_type;
type fscklogs, dev_type;
# GPU (used by most UI apps)
type gpu_device, dev_type, mlstrustedobject;

View file

@ -94,7 +94,6 @@ allow init tmpfs:dir create_dir_perms;
allow init tmpfs:dir mounton;
allow init cgroup:dir create_dir_perms;
allow init cgroup:file rw_file_perms;
allow init cpuctl_device:dir { create mounton };
# /config
allow init configfs:dir mounton;

View file

@ -55,5 +55,3 @@ allow postinstall_dexopt postinstall:process sigchld;
# Allow otapreopt to use file descriptors from otapreopt_chroot.
# TODO: Probably we can actually close file descriptors...
allow postinstall_dexopt otapreopt_chroot:fd use;
allow postinstall_dexopt cpuctl_device:dir search;