diff options
author | Ruslan Trofymenko <ruslan.trofymenko@linaro.org> | 2018-08-10 23:27:27 +0000 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2018-08-10 15:05:41 -0500 |
commit | bf91211c7be8f0f2c4548749aaf7cc1e55dc9aab (patch) | |
tree | b2f8c4df65c28ceb9b6f4155371215fb1d5a60ba | |
parent | be3a3518a03cf1d025443b378534ec4c4a4281e5 (diff) | |
download | am57xevm-bf91211c7be8f0f2c4548749aaf7cc1e55dc9aab.tar.gz |
am57xevm: sepolicy: Mark vendor libs as SPHAL
This patch allows selinux enforced board to boot up. For this some
vendor libs are marked as Same-Process HAL.
Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org>
-rw-r--r-- | sepolicy/file_contexts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 317d252..1e90e01 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -43,3 +43,13 @@ /dev/block/platform/44000000.ocp/480b4000.mmc/by-name/misc u:object_r:misc_block_device:s0 /proc/cpu/alignment u:object_r:proc_cpu_alignment:s0 + +/vendor/lib/libIMGegl.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libsrv_um.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libusc.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libpvrANDROID_WSEGL.so u:object_r:same_process_hal_file:s0 +/vendor/lib/hw/gralloc.am57x.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libpvr2d.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libdrm_omap.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libdrm.so u:object_r:same_process_hal_file:s0 +/vendor/lib/libglslcompiler.so u:object_r:same_process_hal_file:s0 |