aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/contrib/sysstat.if')
-rw-r--r--policy/modules/contrib/sysstat.if56
1 files changed, 0 insertions, 56 deletions
diff --git a/policy/modules/contrib/sysstat.if b/policy/modules/contrib/sysstat.if
deleted file mode 100644
index 14ae3f2a..00000000
--- a/policy/modules/contrib/sysstat.if
+++ /dev/null
@@ -1,56 +0,0 @@
-## <summary>Reports on various system states.</summary>
-
-########################################
-## <summary>
-## Create, read, write, and delete
-## sysstat log files.
-## </summary>
-## <param name="domain">
-## <summary>
-## Domain allowed access.
-## </summary>
-## </param>
-## <rolecap/>
-#
-interface(`sysstat_manage_log',`
- gen_require(`
- type sysstat_log_t;
- ')
-
- logging_search_logs($1)
- manage_files_pattern($1, sysstat_log_t, sysstat_log_t)
-')
-
-########################################
-## <summary>
-## All of the rules required to
-## administrate an sysstat environment.
-## </summary>
-## <param name="domain">
-## <summary>
-## Domain allowed access.
-## </summary>
-## </param>
-## <param name="role">
-## <summary>
-## Role allowed access.
-## </summary>
-## </param>
-## <rolecap/>
-#
-interface(`sysstat_admin',`
- gen_require(`
- type sysstat_t, sysstat_initrc_exec_t, sysstat_log_t;
- ')
-
- allow $1 sysstat_t:process { ptrace signal_perms };
- ps_process_pattern($1, sysstat_t)
-
- init_labeled_script_domtrans($1, sysstat_initrc_exec_t)
- domain_system_change_exemption($1)
- role_transition $2 sysstat_initrc_exec_t system_r;
- allow $2 system_r;
-
- logging_search_logs($1)
- admin_pattern($1, sysstat_log_t)
-')