diff options
author | Josh Horwich <jhorwich@google.com> | 2022-06-23 16:40:09 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-12 20:56:19 +0000 |
commit | 35f4cb027230e03af30a6206cbea8e638d9dd0d0 (patch) | |
tree | 5279c68276a0260f21d5609904896d68171626fb /tests | |
parent | 61f16fca1def81c486c1283f8c0b1325fbdad7bc (diff) | |
download | vboot-35f4cb027230e03af30a6206cbea8e638d9dd0d0.tar.gz |
signer: Preserve capabilities on Android system image
Since crrev.com/c/2511121 we no longer use xattrs when using
unsquashfs on the Android system image. A side-effect of this change
is the loss of capabilities for a handful of Android binaries such as
/system/bin/run-as.
This change records the capabilities on the system image and applies
them manually to the output system image.
BUG=b:179170462
BRANCH=None
TEST=unittests
TEST=Locally sign hatch (ARC R) and kevin (ARC P) base images and
verify signed base image's system.raw.img contents
Signed-off-by: Josh Horwich <jhorwich@chromium.org>
Change-Id: Ied824d5ebf7a5139e71341abca810b14e67623e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3723017
Reviewed-by: Allen Webb <allenwebb@google.com>
Tested-by: Josh Horwich <jhorwich@chromium.org>
Reviewed-by: Prameet Shah <phshah@chromium.org>
Commit-Queue: Josh Horwich <jhorwich@chromium.org>
Reviewed-by: Yury Khmel <khmel@google.com>
Reviewed-by: Yury Khmel <khmel@chromium.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions