From 509a1f2bced571f870e694b592366831f28bb5f4 Mon Sep 17 00:00:00 2001 From: Shawn Guo Date: Tue, 27 Nov 2018 11:26:26 +0800 Subject: Drop cpuctl_device type from sepolicy Commit d918c8df783e ("Remove redundant cgroup type/labelings.") in project system/sepolicy/ removes cpuctl_device type and causes SELinux compilation on Poplar. device/linaro/poplar/sepolicy/untrusted_app.te:21:ERROR 'unknown type cpuctl_device' at token ';' on line 48537: tombstone_data_file }:dir { getattr read search }; usb_device checkpolicy: error(s) encountered while parsing configuration Let's drop cpuctl_device type from Poplar sepolicy to fix the error. Change-Id: Ia74b4a36ce10fef823d2b39f81db613f03753e90 Signed-off-by: Shawn Guo --- sepolicy/untrusted_app.te | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sepolicy/untrusted_app.te b/sepolicy/untrusted_app.te index 13c5409..ffb9336 100644 --- a/sepolicy/untrusted_app.te +++ b/sepolicy/untrusted_app.te @@ -3,8 +3,7 @@ allow untrusted_app { hi_tde_device hi_gfx2d_device }:chr_file rw_file_perms; -allow untrusted_app { cpuctl_device - audio_device +allow untrusted_app { audio_device graphics_device input_device block_device -- cgit v1.2.3