You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
464 B
15 lines
464 B
type rss_hwm_reset_exec, system_file_type, exec_type, file_type;
|
|
|
|
# Start rss_hwm_reset from init.
|
|
init_daemon_domain(rss_hwm_reset)
|
|
|
|
# Search /proc/pid directories.
|
|
allow rss_hwm_reset domain:dir search;
|
|
|
|
# Write to /proc/pid/clear_refs of other processes.
|
|
# /proc/pid/clear_refs is S_IWUSER, see: fs/proc/base.c
|
|
allow rss_hwm_reset self:global_capability_class_set { dac_override };
|
|
|
|
# Write to /prc/pid/clear_refs.
|
|
allow rss_hwm_reset domain:file w_file_perms;
|