aospa: sepolicy: label all dirty writeback nodes

We are interested in tuning these as well.
Label them under u:object_r:proc_dirty:s0.

Change-Id: I21868ea3952ace1e33c593515c56e5fe7aea1353
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
Juhyung Park 2023-05-18 19:18:21 +09:00
parent dfcfdcb17e
commit b6f0b6ffef
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# Dirty writeback tunables
genfscon proc /sys/vm/dirty_background_bytes u:object_r:proc_dirty:s0
#genfscon proc /sys/vm/dirty_background_ratio u:object_r:proc_dirty:s0
genfscon proc /sys/vm/dirty_bytes u:object_r:proc_dirty:s0
genfscon proc /sys/vm/dirty_ratio u:object_r:proc_dirty:s0
#genfscon proc /sys/vm/dirty_expire_centisecs u:object_r:proc_dirty:s0
genfscon proc /sys/vm/dirty_writeback_centisecs u:object_r:proc_dirty:s0
genfscon proc /sys/vm/dirtytime_expire_seconds u:object_r:proc_dirty:s0