summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2021-04-22 12:13:40 -0700
committerVinay Verma <vvinay@codeaurora.org>2021-04-23 11:41:10 +0530
commit35f2c0e19e08da46d4c8fa3c499e7aa83856b765 (patch)
tree33668c4e47bbde28f2e3bff7d4d8475549236752 /libc/malloc_hooks/malloc_hooks.cpp
parentccbd28c177f9869a448b6d387545e8cf90f4df6c (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 CRs-Fixed: 2918473 (cherry picked from commit dcbacd676f302e94f2d8e571f195d0492c686457) Change-Id: I9905b963df01c9007d9fb4527273062ea87a5075
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions