diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2018-11-27 11:26:26 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2018-11-27 11:26:26 +0800 |
commit | 509a1f2bced571f870e694b592366831f28bb5f4 (patch) | |
tree | a77db49fb6f8401354f1c9d674ca002bb085f34e | |
parent | da9a97c7289bc45d6edbfb1f570d05ee0f2019dd (diff) | |
download | poplar-509a1f2bced571f870e694b592366831f28bb5f4.tar.gz |
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 <shawn.guo@linaro.org>
-rw-r--r-- | sepolicy/untrusted_app.te | 3 |
1 files changed, 1 insertions, 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 |