diff options
author | Randall Huang <huangrandall@google.com> | 2023-02-13 17:33:12 +0800 |
---|---|---|
committer | Randall Huang <huangrandall@google.com> | 2023-02-14 02:46:13 +0000 |
commit | e20414a2d6f7e1fe2df9bc98265c323d878aff78 (patch) | |
tree | 7d24e75f7d72c9c60359e11db6b4efd695f325ca /storage | |
parent | a91df91853aa769d6da92da1a67a282addc05171 (diff) |
Storage: fix hal_health_storage_default selinux error
Bug: 264490032
Test: atest VtsHalHealthStorageTargetTest
Change-Id: I953e9425f890863d2cdd10aed1efbdc1e31845c9
Signed-off-by: Randall Huang <huangrandall@google.com>
Diffstat (limited to 'storage')
-rw-r--r-- | storage/sepolicy/hal_health_storage_default.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/sepolicy/hal_health_storage_default.te b/storage/sepolicy/hal_health_storage_default.te new file mode 100644 index 0000000..af6593a --- /dev/null +++ b/storage/sepolicy/hal_health_storage_default.te @@ -0,0 +1,3 @@ +# Access to /sys/devices/platform/*ufs/* +allow hal_health_storage_default sysfs_scsi_devices_0000:dir r_dir_perms; +allow hal_health_storage_default sysfs_scsi_devices_0000:file rw_file_perms; |