diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-08-19 07:15:12 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-08-19 07:15:12 +0800 |
commit | a32145c5acdf0ab4264ceeab204125af439aa56f (patch) | |
tree | 46a6a5b0ac2eb2d3f501268f9dd88079331eebca | |
parent | 946db3883cbe1fc2dd833fd9d20874f2a780590f (diff) |
surfaceflinger.te: give surfaceflinger permission to set debug_prop:property_service
for following avc warnings:
avc: denied { set } for property=debug.atrace.tags.enableflags scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:debug_prop:s0 tclass=property_service 497.466
init: sys_prop: permission denied uid:1000 name:debug.atrace.tags.enableflags
Change-Id: I0276114e6af575b5de2fbc6d15a4d8fc7d5fb42e
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | sepolicy/surfaceflinger.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/surfaceflinger.te b/sepolicy/surfaceflinger.te index 4c35469..1d54ead 100644 --- a/sepolicy/surfaceflinger.te +++ b/sepolicy/surfaceflinger.te @@ -1,2 +1,3 @@ allow surfaceflinger self:process execmem; +allow surfaceflinger debug_prop:property_service set; allow surfaceflinger ashmem_device:chr_file execute; |