sepolicy: basic: non_plat: Allow vendor_init to adjust dirty_writeback_centisecs
Change-Id: I46b3f5c61c9f85c0774d1ded05aaf77114139fce Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
parent
d73d1700e3
commit
63f03be658
@ -43,6 +43,7 @@ type proc_gpu_memory, fs_type, proc_type;
|
|||||||
type proc_mtk_es_reg_dump, fs_type, proc_type;
|
type proc_mtk_es_reg_dump, fs_type, proc_type;
|
||||||
type proc_ccci_dump, fs_type, proc_type;
|
type proc_ccci_dump, fs_type, proc_type;
|
||||||
type proc_log_much, fs_type, proc_type;
|
type proc_log_much, fs_type, proc_type;
|
||||||
|
type proc_vm_dirty, fs_type, proc_type;
|
||||||
|
|
||||||
#For icusb
|
#For icusb
|
||||||
type proc_icusb, fs_type, proc_type;
|
type proc_icusb, fs_type, proc_type;
|
||||||
|
@ -44,6 +44,7 @@ genfscon proc /mtk_cmdq_debug/status u:object_r:proc_cmdq_debug:s0
|
|||||||
genfscon proc /mtk_cmdq_debug/record u:object_r:proc_cmdq_debug:s0
|
genfscon proc /mtk_cmdq_debug/record u:object_r:proc_cmdq_debug:s0
|
||||||
genfscon proc /cpuhvfs/dbg_repo u:object_r:proc_dbg_repo:s0
|
genfscon proc /cpuhvfs/dbg_repo u:object_r:proc_dbg_repo:s0
|
||||||
genfscon proc /sys/kernel/panic_on_rcu_stall u:object_r:proc_panic_on_rcu_stall:s0
|
genfscon proc /sys/kernel/panic_on_rcu_stall u:object_r:proc_panic_on_rcu_stall:s0
|
||||||
|
genfscon proc /sys/vm/dirty_writeback_centisecs u:object_r:proc_vm_dirty:s0
|
||||||
|
|
||||||
# Purpose dump not exit file
|
# Purpose dump not exit file
|
||||||
genfscon proc /isp_p2/isp_p2_dump u:object_r:proc_isp_p2_dump:s0
|
genfscon proc /isp_p2/isp_p2_dump u:object_r:proc_isp_p2_dump:s0
|
||||||
|
@ -15,6 +15,7 @@ allow vendor_init proc_cpufreq:file w_file_perms;
|
|||||||
allow vendor_init proc_bootprof:file w_file_perms;
|
allow vendor_init proc_bootprof:file w_file_perms;
|
||||||
allow vendor_init proc_pl_lk:file w_file_perms;
|
allow vendor_init proc_pl_lk:file w_file_perms;
|
||||||
allow vendor_init proc_mtprintk:file w_file_perms;
|
allow vendor_init proc_mtprintk:file w_file_perms;
|
||||||
|
allow vendor_init proc_vm_dirty:file w_file_perms;
|
||||||
allow vendor_init rootfs:dir create_dir_perms;
|
allow vendor_init rootfs:dir create_dir_perms;
|
||||||
allow vendor_init self:capability sys_module;
|
allow vendor_init self:capability sys_module;
|
||||||
allow vendor_init tmpfs:dir create_dir_perms;
|
allow vendor_init tmpfs:dir create_dir_perms;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user