summaryrefslogtreecommitdiff
path: root/debuggerd/debuggerd.cpp
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2017-06-30 14:04:20 -0700
committerLuis Hector Chavez <lhchavez@google.com>2017-06-30 14:42:46 -0700
commitf5965519d183ff188273689d151bfc2cb20ece2a (patch)
treea99dcca812f7eae2fde9c7bd148ab5cd32ba3c82 /debuggerd/debuggerd.cpp
parentc997cd64dc98334127df6fda9425959e817ae2bc (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