sm7250-common: sepolicy: Allow power hal to write to f2fs nodes

Change-Id: I988b8b148d2b01523207d705e95c555db6d3c22d
This commit is contained in:
SahilSonar 2022-05-10 17:19:10 +02:00 committed by xSylla
parent 39eb7dbc12
commit 7ef5f67a7c

View File

@ -2,6 +2,10 @@
allow hal_power_default input_device:dir r_dir_perms;
allow hal_power_default input_device:chr_file rw_file_perms;
# Allow hal_power_default to write to f2fs nodes
allow hal_power_default sysfs_fs_f2fs:dir r_dir_perms;
allow hal_power_default sysfs_fs_f2fs:file rw_file_perms;
r_dir_file(hal_power_default, input_device)
allow hal_power_default {