klte-common: Grant rmt_storage proper unix perms
Do not grant DAC override permission which would allow this daemon unix permissions to everything. avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0 Add wakelock group to access: /sys/power/wake_lock -rw-rw---- 1 radio wakelock 4096 2017-06-28 00:37 wake_unlock Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
This commit is contained in:
parent
48083594ee
commit
0dd0f42631
2 changed files with 1 additions and 2 deletions
|
@ -907,7 +907,7 @@ service rfs_access /system/bin/rfs_access
|
|||
service rmt_storage /system/bin/rmt_storage
|
||||
class core
|
||||
user root
|
||||
group system
|
||||
group system wakelock
|
||||
|
||||
service qmuxd /system/bin/qmuxd
|
||||
class core
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
allow rmt_storage self:capability dac_override;
|
Loading…
Reference in a new issue