platform_system_sepolicy/private/compat
Primiano Tucci cd452300a7 Allow tracing service to access kallsyms on userdebug
This CL allows the traced_probes service to temporarily
lower kptr_restrict and read /proc/kallsyms.
This is allowed only on userdebug/eng builds.
The lowering of kptr_restrict is done via an init
property because the kernel checks that the kptr_restrict
writer is CAP_SYS_ADMIN, regardless of the /proc file ACLs [1].

[1] 4cbffc461e/kernel/sysctl.c (L2254)

Bug: 136133013
Design doc: go/perfetto-kallsyms
Test: perfetto_integrationtests --gtest_filter=PerfettoTest.KernelAddressSymbolization in r.android.com/1454882

Change-Id: Ic06e7a9a74c0f3e42fa63f7f41decc385c9fea2c
2020-10-23 14:03:08 +01:00
..
26.0 Remove exported3_default_prop 2020-07-21 04:16:04 +00:00
27.0 Add ro.bootimage.* property contexts 2020-10-07 11:55:20 -07:00
28.0 sepolicy: Remove offload HAL sepolicy rules 2020-05-08 11:17:12 +09:00
29.0 Merge "sepolicy: label vendor_service_contexts as vendor_service_contexts_file" am: bc8ed95f69 am: 23068f2625 2020-06-16 09:37:41 +00:00
30.0 Allow tracing service to access kallsyms on userdebug 2020-10-23 14:03:08 +01:00