diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2017-06-30 14:04:20 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2017-06-30 14:42:46 -0700 |
commit | f5965519d183ff188273689d151bfc2cb20ece2a (patch) | |
tree | a99dcca812f7eae2fde9c7bd148ab5cd32ba3c82 /debuggerd/debuggerd.cpp | |
parent | c997cd64dc98334127df6fda9425959e817ae2bc (diff) |
init: Read previous state of securebits before modifying
When Android is running in a container, some of the securebits might be
locked, which makes prctl(PR_SET_SECUREBITS) fail.
This change gets the previous state of the process' securebits and adds
the desired bits.
Bug: 62388055
Test: aosp_bullhead-eng boots
Test: If init has non-zero securebits, it can also boot
Change-Id: Ie03bf2538f9dca40955bc58314d269246f5731bd
Diffstat (limited to 'debuggerd/debuggerd.cpp')
0 files changed, 0 insertions, 0 deletions