commit | 5a3d421d8a0ac95e1669faae77bfde4b32478957 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Fri Aug 06 15:40:33 2021 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Aug 19 02:35:29 2021 +0000 |
tree | 2ad63a33d3ea77f22769abe00e7672e861d55466 | |
parent | 5c72f84ae4999a702b1bf21e59cc1362414afbe4 [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> (cherry picked from commit 37b574130114211a3fcf4d91e79dd0c19e772224)