rild: allow rild to ptrace
06-20 18:47:41.940000 8708 8708 I auditd : type=1400 audit(0.0:7): avc: denied { ptrace } for comm="libmemunreachab" scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process permissive=0
06-20 18:47:41.940000 8708 8708 W libmemunreachab: type=1400 audit(0.0:7): avc: denied { ptrace } for scontext=u:r:rild:s0 tcontext=u:r:rild:s0 tclass=process permissive=0
Bug: 263757077
Test: manual
Change-Id: I35ad31e6cc4e2942c671e51720f28a9abce3dcca
This commit is contained in:
5
whitechapel/vendor/google/rild.te
vendored
5
whitechapel/vendor/google/rild.te
vendored
@@ -35,3 +35,8 @@ add_hwservice(rild, hal_exynos_rild_hwservice)
|
||||
allow rild modem_img_file:dir r_dir_perms;
|
||||
allow rild modem_img_file:file r_file_perms;
|
||||
allow rild modem_img_file:lnk_file r_file_perms;
|
||||
|
||||
# Allow rild to ptrace for memory leak detection
|
||||
userdebug_or_eng(`
|
||||
allow rild self:process ptrace;
|
||||
')
|
||||
|
||||
Reference in New Issue
Block a user