commit | 11bd126eba57c97627cb55b92658e9c14af0dc73 | [log] [tgz] |
---|---|---|
author | Shai Barack <shayba@google.com> | Fri Aug 30 21:55:44 2024 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Aug 30 21:55:44 2024 +0000 |
tree | 29e2d052619d0c763dc084b977d2b5f05201739e | |
parent | 34eacbbf0590eec300d156afd5eb82fd4b1a81bb [diff] |
Simplify POSIX capabilities to bitmask Remove unnecessary overhead and complexity of converting a list of bit offsets to an array of integers, iterating over it, validating the inputs (which are valid, otherwise the device doesn't boot), then doing the bit-shifting. Just do the bit-shifting. Flag: EXEMPT refactor (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b5d3ccd6bb47dbe984471bb7832304236110bba2) Merged-In: Ic5dc21657a997ed000104ff713a96a51b2c06d5f Change-Id: Ic5dc21657a997ed000104ff713a96a51b2c06d5f