summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2021-04-22 12:13:40 -0700
committerPeter Collingbourne <pcc@google.com>2021-04-22 12:17:01 -0700
commitdcbacd676f302e94f2d8e571f195d0492c686457 (patch)
tree9508b4b0d735fed76adb303a1f52891494fc57ea /libc/malloc_debug/malloc_debug.cpp
parent9cf8871dd98bf69fe46bba056fa05c3c6bf2222d (diff)
Avoid prctl(PR_PAC_RESET_KEYS) on devices without PAC support.
Processes loaded from vendor partitions may have their own sandboxes that would reject the prctl. Because no devices launched with PAC enabled before S, we can avoid issues on upgrading devices by checking for PAC support before issuing the prctl. Bug: 186117046 Change-Id: I9905b963df01c9007d9fb4527273062ea87a5075
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions