mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Remove unnecessary permissions.
Remove sysfs file permissions and use the generic type for directories. Bug:74213358 Test: Flash OTA. Change-Id: I27a27972f01a273b4eb65d72dd8f2827c1a374af
This commit is contained in:
5
sepolicy/vendor/hal_bootctl.te
vendored
5
sepolicy/vendor/hal_bootctl.te
vendored
@@ -22,13 +22,10 @@ allow hal_bootctl tmpfs:lnk_file r_file_perms;
|
||||
|
||||
# Read the sysfs to lookup what /dev/sgN device
|
||||
# corresponds to the XBL partitions.
|
||||
allow hal_bootctl sysfs:dir r_dir_perms;
|
||||
allow hal_bootctl sysfs_type:dir r_dir_perms;
|
||||
|
||||
# Write to the XBL devices.
|
||||
allow hal_bootctl xbl_block_device:blk_file rw_file_perms;
|
||||
|
||||
# Expose a socket for brokered boot message access for hal_oemlock.
|
||||
allow hal_bootctl hal_bootctl_socket:sock_file create_file_perms;
|
||||
|
||||
allow hal_bootctl sysfs_scsi_devices_other:dir r_dir_perms;
|
||||
allow hal_bootctl sysfs_scsi_devices_other:file r_file_perms;
|
||||
|
||||
Reference in New Issue
Block a user