diff options
author | Peter Collingbourne <pcc@google.com> | 2021-04-22 12:13:40 -0700 |
---|---|---|
committer | Vinay Verma <vvinay@codeaurora.org> | 2021-04-23 11:41:10 +0530 |
commit | 35f2c0e19e08da46d4c8fa3c499e7aa83856b765 (patch) | |
tree | 33668c4e47bbde28f2e3bff7d4d8475549236752 /libc/kernel/tools/clean_header.py | |
parent | ccbd28c177f9869a448b6d387545e8cf90f4df6c (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/kernel/tools/clean_header.py')
0 files changed, 0 insertions, 0 deletions