Chris PeBenito e9c6cd
Chris PeBenito 296273
policy_module(auditadm, 2.0.0)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
########################################
Chris PeBenito e9c6cd
#
Chris PeBenito e9c6cd
# Declarations
Chris PeBenito e9c6cd
#
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
role auditadm_r;
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
userdom_unpriv_user_template(auditadm)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
########################################
Chris PeBenito e9c6cd
#
Chris PeBenito e9c6cd
# Local policy
Chris PeBenito e9c6cd
#
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
allow auditadm_t self:capability { dac_read_search dac_override };
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
corecmd_exec_shell(auditadm_t)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
domain_kill_all_domains(auditadm_t)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
logging_send_syslog_msg(auditadm_t)
Chris PeBenito e9c6cd
logging_read_generic_logs(auditadm_t)
Chris PeBenito e9c6cd
logging_manage_audit_log(auditadm_t)
Chris PeBenito e9c6cd
logging_manage_audit_config(auditadm_t)
Chris PeBenito 296273
logging_run_auditctl(auditadm_t, auditadm_r)
Chris PeBenito 296273
logging_run_auditd(auditadm_t, auditadm_r)
Chris PeBenito e9c6cd
Chris PeBenito 296273
seutil_run_runinit(auditadm_t, auditadm_r)
Chris PeBenito e9c6cd
seutil_read_bin_policy(auditadm_t)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
optional_policy(`
Chris PeBenito 296273
	apache_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	auth_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	bluetooth_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	cdrecord_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito e9c6cd
	consoletype_exec(auditadm_t)
Chris PeBenito e9c6cd
')
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
optional_policy(`
Chris PeBenito 296273
	cron_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	dbus_role_template(auditadm, auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito e9c6cd
	dmesg_exec(auditadm_t)
Chris PeBenito e9c6cd
')
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
optional_policy(`
Chris PeBenito 296273
	ethereal_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	evolution_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	games_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	gift_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	gpg_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	gnome_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	irc_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	java_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	lockdev_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	lpd_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	mozilla_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	mplayer_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	mta_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	oident_manage_user_content(auditadm_t)
Chris PeBenito 296273
	oident_relabel_user_content(auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	pyzor_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	razor_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	rssh_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	screen_role_template(auditadm, auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	spamassassin_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	ssh_role_template(auditadm, auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	secadm_role_change(auditadm_r)
Chris PeBenito e9c6cd
')
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
optional_policy(`
Chris PeBenito 296273
	su_role_template(auditadm, auditadm_r, auditadm_t)
Chris PeBenito e9c6cd
')
Chris PeBenito e9c6cd
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	sudo_role_template(auditadm, auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	sysadm_role_change(auditadm_r)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	thunderbird_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	tvtime_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	userhelper_role_template(auditadm, auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	vmware_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	wireshark_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	uml_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')
Chris PeBenito 296273
Chris PeBenito 296273
optional_policy(`
Chris PeBenito 296273
	xserver_role(auditadm_r, auditadm_t)
Chris PeBenito 296273
')