commit | 4374a1fd83bb0b174dbc859c662388a135bad8aa | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Fri Oct 08 09:30:42 2021 -0700 |
committer | Bart Van Assche <bvanassche@google.com> | Fri Oct 29 15:22:09 2021 -0700 |
tree | a497425d22340a12bbf2219b7412084b783b97ae | |
parent | 69a7983d31ecfbf40e5d30eaa4e4a690b20cd59b [diff] |
Stop using the bdev_type and sysfs_block_type SELinux attributes Stop using these SELinux attributes since the apexd and init SELinux policies no longer rely on these attributes. The difference between the previous versions of this patch and the current patch is that the current patch does not remove any SELinux attributes. See also https://android-review.googlesource.com/c/platform/system/sepolicy/+/1850656. See also https://android-review.googlesource.com/c/platform/system/sepolicy/+/1862919. This patch includes a revert of commit 8b2b951349c4 ("Restore permission for shell to list /sys/class/block"). That commit is no longer necessary since it was a bug fix for the introduction of the sysfs_block type. Bug: 202520796 Test: source build/envsetup.sh && lunch aosp_x86_64 && m && launch_cvd Change-Id: I73e1133af8146c154af95d4b96132e49dbec730c Signed-off-by: Bart Van Assche <bvanassche@google.com>