summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2020-10-09 13:59:41 +0100
committerPrimiano Tucci <primiano@google.com>2020-10-22 16:18:41 +0100
commit4b9f0984550c6f053727ab7507d943897396e1bc (patch)
treedbbdcdfcf0e0ae6f386bce786b341ca372318875 /trusty/coverage/coverage_test.cpp
parentc57722c97bd9f22dbc6404b096357778dba42435 (diff)
Introduce security.lower_kptr_restrict property
This is to allow the tracing service to temporarily lower kptr_restrict for the time it takes to build its internal symbolization map (~200ms), only on userdebug/eng builds. kptr_restrict unfortunately cannot be lowered by the tracing service itself. The main reason for that is the fact that the kernel enforces a CAP_SYS_ADMIN capability check at write() time, so the usual pattern of opening the file in init and passing the FD to the service won't work. For more details see the design doc go/perfetto-kallsyms. Bug: 136133013 Test: perfetto_integrationtests --gtest_filter=PerfettoTest.KernelAddressSymbolization in r.android.com/1454882 Change-Id: Ib2a8c69ed5348cc436223ff5e3eb8fd8df4ab860
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions