Chris PeBenito 29af4c
policy_module(application, 1.2.0)
Chris PeBenito d46cfe
Chris PeBenito d46cfe
# Attribute of user applications
Chris PeBenito d46cfe
attribute application_domain_type;
Chris PeBenito d46cfe
Chris PeBenito d46cfe
# Executables to be run by user
Chris PeBenito d46cfe
attribute application_exec_type;
Chris PeBenito d46cfe
Dan Walsh 3eaa99
userdom_inherit_append_user_home_content_files(application_domain_type)
Dan Walsh 3eaa99
userdom_inherit_append_admin_home_files(application_domain_type)
Dan Walsh 3eaa99
userdom_inherit_append_user_tmp_files(application_domain_type)
Dan Walsh 3eaa99
logging_inherit_append_all_logs(application_domain_type)
Dan Walsh 3eaa99
Dan Walsh 3eaa99
files_dontaudit_search_all_dirs(application_domain_type)
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Dan Walsh 3eaa99
	afs_rw_udp_sockets(application_domain_type)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Dan Walsh 3eaa99
	cron_rw_inherited_user_spool_files(application_domain_type)
Dan Walsh 3eaa99
	cron_sigchld(application_domain_type)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Chris PeBenito d46cfe
optional_policy(`
Chris PeBenito d46cfe
	ssh_sigchld(application_domain_type)
Chris PeBenito d46cfe
	ssh_rw_stream_sockets(application_domain_type)
Chris PeBenito d46cfe
')
Chris PeBenito 5ed061
Chris PeBenito 5ed061
optional_policy(`
Chris PeBenito 5ed061
	sudo_sigchld(application_domain_type)
Chris PeBenito 5ed061
')