summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2023-07-28 14:58:00 -0700
committer Colin Cross <ccross@android.com> 2023-07-28 15:04:44 -0700
commit8a609d4b62a710c2f43921f8b4de435d58f64556 (patch)
treed2f66895434eab4abeb77da7a7fd59245f32f391 /libs/androidfw/ObbFile.cpp
parente502678bd1723847d623d757259847742db48e60 (diff)
Disable ptrace debugging by default on userdebug
I2fb1aa0aea81400f573b8c2e2fa309b7942d9446 re-enabled ptrace on all apps by default on userdebug after I6fff6f1a683893244bc2d40f930044747befb2ce had disabled it along with JDWP. The same reasoning that applied to JDWP also applies to ptrace, it could be trivially used for root detection. Return to defaulting it to off again, with an additional persist.debug.ptrace.enabled property to turn it back on. Bug: 292818059 Bug: 291332760 Bug: 290832806 Test: CtsMemunreachableTestCases Change-Id: I0b8c07da661b7bf45c32b304aaa72cf9837dabd5
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions