From f7396914b0f96a4d33825d1c12a96cdc34a5ed31 Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Wed, 10 Apr 2024 13:48:15 +0000 Subject: [PATCH] add compaction_proactiveness type Bug: 332916849 Test: boot Change-Id: I41c0da22ed5ad738c75fb00e2ac8a22c35dff2d3 Signed-off-by: Martin Liu --- private/compat/202404/202404.ignore.cil | 1 + private/genfs_contexts | 1 + public/file.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/202404/202404.ignore.cil b/private/compat/202404/202404.ignore.cil index 90f09e831..a0a69f7ae 100644 --- a/private/compat/202404/202404.ignore.cil +++ b/private/compat/202404/202404.ignore.cil @@ -9,4 +9,5 @@ fs_bpf_lmkd_memevents_rb fs_bpf_lmkd_memevents_prog binderfs_logs_transactions + proc_compaction_proactiveness )) diff --git a/private/genfs_contexts b/private/genfs_contexts index b6b18c0e0..dd93f0437 100644 --- a/private/genfs_contexts +++ b/private/genfs_contexts @@ -93,6 +93,7 @@ genfscon proc /sys/vm/min_free_order_shift u:object_r:proc_min_free_order_shift: genfscon proc /sys/vm/watermark_boost_factor u:object_r:proc_watermark_boost_factor:s0 genfscon proc /sys/vm/watermark_scale_factor u:object_r:proc_watermark_scale_factor:s0 genfscon proc /sys/vm/percpu_pagelist_high_fraction u:object_r:proc_percpu_pagelist_high_fraction:s0 +genfscon proc /sys/vm/compaction_proactiveness u:object_r:proc_compaction_proactiveness: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 diff --git a/public/file.te b/public/file.te index b25175b3a..4700dedf4 100644 --- a/public/file.te +++ b/public/file.te @@ -18,6 +18,7 @@ type proc_min_free_order_shift, fs_type, proc_type; type proc_kpageflags, fs_type, proc_type; type proc_watermark_boost_factor, fs_type, proc_type; type proc_percpu_pagelist_high_fraction, fs_type, proc_type; +type proc_compaction_proactiveness, fs_type, proc_type; # proc, sysfs, or other nodes that permit configuration of kernel usermodehelpers. type usermodehelper, fs_type, proc_type; type sysfs_usermodehelper, fs_type, sysfs_type;