Allow vendor_init to read gesture_prop.
Logs:
07-15 04:04:39.052 1 1 I auditd : type=1107 audit(0.0:4): uid=0
auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { read
} for property=persist.sys.tap_gesture pid=0 uid=0 gid=0
scontext=u:r:vendor_init:s0 tcontext=u:object_r:gesture_prop:s0
tclass=file permissive=0'
07-15 04:04:39.087 1 1 E init :
/vendor/etc/init/hw/init.tangorpro.rc: 48: ParseTriggers() failed:
unexported property trigger found: persist.sys.tap_gesture
Test: check Treehugger build for sepolicy.
Bug: 201610482
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I2072ce786bf9f3590487b1807672e993764cc6f0
This commit is contained in:
1
vendor/vendor_init.te
vendored
Normal file
1
vendor/vendor_init.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
get_prop(vendor_init, gesture_prop)
|
||||
Reference in New Issue
Block a user