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.
24 lines
593 B
24 lines
593 B
policy_module(rd-agent, 1.0.0)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
type resctl_demo_t;
|
|
type resctl_demo_exec_t;
|
|
init_daemon_domain(resctl_demo_t, resctl_demo_exec_t);
|
|
|
|
type var_lib_resctl_demo_bin_t;
|
|
files_type(var_lib_resctl_demo_bin_t);
|
|
|
|
########################################
|
|
#
|
|
# rd-agent local policy
|
|
#
|
|
|
|
allow resctl_demo_exec_t var_lib_resctl_demo_bin_t:file execute;
|
|
|
|
manage_dirs_pattern(resctl_demo_exec_t, var_lib_resctl_demo_bin_t, var_lib_resctl_demo_bin_t);
|
|
manage_files_pattern(resctl_demo_exec_t, var_lib_resctl_demo_bin_t, var_lib_resctl_demo_bin_t);
|