summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2016-09-20 13:20:05 -0400
committerPraneeth Bajjuri <praneeth@ti.com>2016-11-09 11:12:24 -0600
commite4f89550d6c594c954d29b8a4f78293395df5ac3 (patch)
tree6c8de7d41be3adacdccf2411be9df112fcc2b8df
parent9eadaff39e98d33a94108b31bc360546960bc612 (diff)
downloadam57xevm-e4f89550d6c594c954d29b8a4f78293395df5ac3.tar.gz
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;
# allow graphics driver initialization
allow pvr self:capability sys_module;
+allow pvr system_file:system module_load;