commit | 37b574130114211a3fcf4d91e79dd0c19e772224 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Fri Aug 06 15:40:33 2021 -0700 |
committer | Bart Van Assche <bvanassche@google.com> | Tue Aug 17 15:23:23 2021 -0700 |
tree | 2ad63a33d3ea77f22769abe00e7672e861d55466 | |
parent | 7e581b9a7b7feb1d8184d6229e1965c180cd788f [diff] |
Add the 'bdev_type' attribute to all block device types The following patch introduces code that iterates over all block devices: https://android-review.googlesource.com/c/platform/system/core/+/1783847/9 The following patch grants 'init' and 'apexd' permission to iterate over all block devices: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1783947 The above SELinux policy change requires to add the 'bdev_type' attribute to all block devices. Hence this patch. Bug: 194450129 Bug: 196982345 Test: Built Android images that include this change and verified that neither init nor apexd triggers any SELinux access denied errors. Change-Id: I6ce1127f199c5b33812f15fe280d86594d7d7ebf Signed-off-by: Bart Van Assche <bvanassche@google.com>