diff options
author | Vishal Mahaveer <vishalm@ti.com> | 2018-06-15 04:26:12 +0000 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2018-06-15 13:04:24 -0500 |
commit | 69b07402c7c0e68d5dc199640c5c7a6edbfff2ab (patch) | |
tree | f90c1e5892e41e0ea2202fa67ff52e24e58c51cf | |
parent | 0788464eeca580583e1bf6cf34146dc4ea9b3d4b (diff) | |
download | am57xevm-69b07402c7c0e68d5dc199640c5c7a6edbfff2ab.tar.gz |
am57xevm: sepolicy: allow init to hold wake lock
On am57xevm we hold a dummy wake lock via init*.rc.
Add sepolicy rule to cover this.
Change-Id: Ibc7117daede874edd7b9e959fdfacd7815a21842
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[praneeth@ti.com: cherry-pick to device/ti/am57xevm and minor
commitmsg update]
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r-- | sepolicy/init.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te index cbc70ae..6522f8e 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -1,3 +1,5 @@ +#For holding a wake_lock in init.rc +wakelock_use(init) #For loading modules via init.rc (wifi,cmem) allow init self:capability sys_module; #Create symlinks for storage |