sm7250-common: sepolicy: Allow power hal to write to f2fs nodes
Change-Id: I988b8b148d2b01523207d705e95c555db6d3c22d
This commit is contained in:
parent
39eb7dbc12
commit
7ef5f67a7c
4
sepolicy/vendor/hal_power_default.te
vendored
4
sepolicy/vendor/hal_power_default.te
vendored
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user