Fix init error trying to access file.
am: cf391269ac
Change-Id: Iab83d529d497fb009968dce68739d7d3c8134545
This commit is contained in:
commit
ff8bf596a4
4 changed files with 4 additions and 0 deletions
|
@ -466,6 +466,7 @@
|
|||
proc_kmsg
|
||||
proc_loadavg
|
||||
proc_max_map_count
|
||||
proc_min_free_order_shift
|
||||
proc_mounts
|
||||
proc_page_cluster
|
||||
proc_pagetypeinfo
|
||||
|
|
|
@ -66,6 +66,7 @@ genfscon proc /sys/vm/mmap_rnd_compat_bits u:object_r:proc_security:s0
|
|||
genfscon proc /sys/vm/page-cluster u:object_r:proc_page_cluster:s0
|
||||
genfscon proc /sys/vm/drop_caches u:object_r:proc_drop_caches:s0
|
||||
genfscon proc /sys/vm/overcommit_memory u:object_r:proc_overcommit_memory:s0
|
||||
genfscon proc /sys/vm/min_free_order_shift u:object_r:proc_min_free_order_shift:s0
|
||||
genfscon proc /timer_list u:object_r:proc_timer:s0
|
||||
genfscon proc /timer_stats u:object_r:proc_timer:s0
|
||||
genfscon proc /tty/drivers u:object_r:proc_tty_drivers:s0
|
||||
|
|
|
@ -8,6 +8,7 @@ type proc, fs_type;
|
|||
type proc_security, fs_type;
|
||||
type proc_drop_caches, fs_type;
|
||||
type proc_overcommit_memory, fs_type;
|
||||
type proc_min_free_order_shift, fs_type;
|
||||
# proc, sysfs, or other nodes that permit configuration of kernel usermodehelpers.
|
||||
type usermodehelper, fs_type;
|
||||
type sysfs_usermodehelper, fs_type, sysfs_type;
|
||||
|
|
|
@ -287,6 +287,7 @@ allow init {
|
|||
proc_extra_free_kbytes
|
||||
proc_net
|
||||
proc_max_map_count
|
||||
proc_min_free_order_shift
|
||||
proc_overcommit_memory
|
||||
proc_panic
|
||||
proc_page_cluster
|
||||
|
|
Loading…
Reference in a new issue