mirror of
https://github.com/oplus-giulia-dev/android_hardware_oplus
synced 2025-11-04 05:45:34 +08:00
sepolicy: qti: Allow touchDeamon to stop itself
As seen on devices without OplusTouch support:
[ 14.155867] init: Unable to set property 'ctl.stop' from uid:0 gid:0 pid:1991: Invalid permissions to perform 'stop' on 'touchDaemon'
[ 14.155902] type=1107 audit(1758323930.135:13): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ctl.stop$touchDaemon pid=1991 uid=0 gid=0 scontext=u:r:oplus_touchdaemon:s0 tcontext=u:object_r:ctl_stop_prop:s0 tclass=property_service permissive=0'
Change-Id: Iacc073b0b74713c268966c69480cf02d543d395a
This commit is contained in:
committed by
madmax7896
parent
8a9394f1d3
commit
cc47583788
1
sepolicy/qti/vendor/oplus_touchdaemon.te
vendored
1
sepolicy/qti/vendor/oplus_touchdaemon.te
vendored
@@ -29,5 +29,6 @@ rw_dir_file(oplus_touchdaemon, proc_horae)
|
||||
rw_dir_file(oplus_touchdaemon, vendor_data_file)
|
||||
rw_dir_file(oplus_touchdaemon, vendor_proc_display)
|
||||
|
||||
set_prop(oplus_touchdaemon, ctl_stop_prop)
|
||||
set_prop(oplus_touchdaemon, system_oplus_touch_prop)
|
||||
set_prop(oplus_touchdaemon, vendor_oplus_touch_prop)
|
||||
|
||||
Reference in New Issue
Block a user