sepolicy: basic: non_plat: Allow {vendor_}init to write to sysfs_devices_block
* Init adjusts discard_max_bytes. Change-Id: I00b80a62aad8fe201d501f42127812158158b1fa Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
parent
63f03be658
commit
526d1f2d0e
@ -147,3 +147,6 @@ allow init sysfs_mtk_core_ctl:dir r_dir_perms;
|
||||
allow init sysfs_mtk_core_ctl:file rw_file_perms;
|
||||
|
||||
allow init xcap_socket:sock_file create_file_perms;
|
||||
|
||||
# Allow init to write to sysfs_devices_block
|
||||
allow init sysfs_devices_block:file w_file_perms;
|
||||
|
@ -166,3 +166,6 @@ set_prop(vendor_init, vendor_mtk_xfrm_support_prop)
|
||||
|
||||
# Power
|
||||
set_prop(vendor_init, vendor_power_prop)
|
||||
|
||||
# Allow vendor_init to write to sysfs_devices_block
|
||||
allow vendor_init sysfs_devices_block:file w_file_perms;
|
||||
|
Loading…
x
Reference in New Issue
Block a user