gs101: Allow BootControl to access sysfs blow_ar am: f276625942
am: 1745c41b8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/18740593 Change-Id: I9427a0841bf86a3cd26769a13b053133ff6e5c5a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
9f9b4d7adc
3 changed files with 7 additions and 0 deletions
3
whitechapel/vendor/google/file.te
vendored
3
whitechapel/vendor/google/file.te
vendored
|
@ -209,3 +209,6 @@ userdebug_or_eng(`
|
||||||
|
|
||||||
# Trusty
|
# Trusty
|
||||||
type sysfs_trusty, sysfs_type, fs_type;
|
type sysfs_trusty, sysfs_type, fs_type;
|
||||||
|
|
||||||
|
# BootControl
|
||||||
|
type sysfs_bootctl, sysfs_type, fs_type;
|
||||||
|
|
3
whitechapel/vendor/google/genfs_contexts
vendored
3
whitechapel/vendor/google/genfs_contexts
vendored
|
@ -541,3 +541,6 @@ genfscon sysfs /devices/platform/25c40000.etm u:object_r:sysfs_devices_cs_etm
|
||||||
genfscon sysfs /devices/platform/25d40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
genfscon sysfs /devices/platform/25d40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
||||||
genfscon sysfs /devices/platform/25e40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
genfscon sysfs /devices/platform/25e40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
||||||
genfscon sysfs /devices/platform/25f40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
genfscon sysfs /devices/platform/25f40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
||||||
|
|
||||||
|
# BootControl
|
||||||
|
genfscon sysfs /kernel/boot_control/blow_ar u:object_r:sysfs_bootctl:s0
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
allow hal_bootctl_default sda_block_device:blk_file rw_file_perms;
|
allow hal_bootctl_default sda_block_device:blk_file rw_file_perms;
|
||||||
allow hal_bootctl_default devinfo_block_device:blk_file rw_file_perms;
|
allow hal_bootctl_default devinfo_block_device:blk_file rw_file_perms;
|
||||||
allow hal_bootctl_default sysfs_ota:file rw_file_perms;
|
allow hal_bootctl_default sysfs_ota:file rw_file_perms;
|
||||||
|
allow hal_bootctl_default sysfs_bootctl:file rw_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue