summaryrefslogtreecommitdiff
path: root/debugpolicy
AgeCommit message (Collapse)Author
2021-10-15Revert "Add the 'bdev_type' attribute to all block device types"Bart Van Assche
Revert commit f55e1932fe5f ("Add the 'bdev_type' attribute to all block device types") because the bdev_type SELinux attribute is being removed. Bug: 202520796 Test: Treehugger. Ignore-AOSP-First: The modified file does not exist in AOSP. Change-Id: I234e945fd66049d54963f70577be7eba242849bc Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-08-16Add the 'bdev_type' attribute to all block device typesBart Van Assche
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 Test: Built Android images and installed these on a test device. Change-Id: Ie76b00aa51e696508b9471dbd34f96dad5aa3240 Signed-off-by: Bart Van Assche <bvanassche@google.com>
2021-08-03pixel-sepolicy:debugpolicy: initial versionOleg Matcovschi
Bug: 194730972 Signed-off-by: Oleg Matcovschi <omatcovschi@google.com> Change-Id: Iec80b0b9e0a99875dcae478a5e63d94caae86767