mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
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: I4720650488eca100372d148313e04d6d8950ead5
This commit is contained in:
@@ -37,3 +37,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