summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2016-09-20 12:20:05 -0500
committerPraneeth Bajjuri2017-01-17 17:37:49 -0600
commitbead3be9be0c9562a14d223591e29c03fd7ffe9a (patch)
tree4672392725debceb294fd7dd42baf9d7a4f6dc2b
parent816911c321939144bb5de3c25732966517a0823f (diff)
downloaddevice-ti-am57xevm-bead3be9be0c9562a14d223591e29c03fd7ffe9a.tar.gz
device-ti-am57xevm-bead3be9be0c9562a14d223591e29c03fd7ffe9a.tar.xz
device-ti-am57xevm-bead3be9be0c9562a14d223591e29c03fd7ffe9a.zip
jacinto6evm: sepolicy: update pvr module_load permission
Latest AOSP sepolicy places restriction on where the kernel module file can be loaded from [1]. Adapt pvr sepolicy to this change. There is a change needed in pvr um to move from init_module to finit_module. [1] https://android-review.googlesource.com/#/c/214021/3 Change-Id: I77c938e2772243c559e5e3e5edfc91f17db816d8 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--sepolicy/pvr.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/pvr.te b/sepolicy/pvr.te
index fe4bf37..1e9cfa8 100644
--- a/sepolicy/pvr.te
+++ b/sepolicy/pvr.te
@@ -9,3 +9,4 @@ allow pvr gpu_device:chr_file rw_file_perms;
9 9
10# allow graphics driver initialization 10# allow graphics driver initialization
11allow pvr self:capability sys_module; 11allow pvr self:capability sys_module;
12allow pvr system_file:system module_load;