sepolicy/init: fix adb in some cases
logs: 02-06 17:28:44.560 1 1 I auditd : type=1400 audit(0.0:11): avc: denied { read } for comm="init" name="adbd" dev="mmcblk0p31" ino=11 scontext=u:r:init:s0 tcontext=u:object_r:adbd_exec:s0 tclass=lnk_file permissive=0 thanks HamiDo for hotfix
This commit is contained in:
parent
19d8a296fa
commit
d6aed01c48
@ -8,3 +8,6 @@ allow init userdata_block_device:lnk_file relabelto;
|
||||
allow vendor_init vendor_init:capability { sys_module };
|
||||
|
||||
allow init system_file:lnk_file create_file_perms;
|
||||
|
||||
#fix adb in some cases
|
||||
allow init adbd_exec:lnk_file read;
|
||||
|
Loading…
Reference in New Issue
Block a user