2022-01-06 13:55:54 +00:00
|
|
|
policy_module(application)
|
2007-07-19 18:57:48 +00:00
|
|
|
|
|
|
|
# Attribute of user applications
|
|
|
|
attribute application_domain_type;
|
|
|
|
|
|
|
|
# Executables to be run by user
|
|
|
|
attribute application_exec_type;
|
|
|
|
|
2022-05-23 20:45:58 +00:00
|
|
|
ifdef(`init_systemd',`
|
|
|
|
# Needed for console/serial logins.
|
|
|
|
init_use_fds(application_domain_type)
|
|
|
|
')
|
|
|
|
|
2011-03-31 17:29:59 +00:00
|
|
|
optional_policy(`
|
|
|
|
cron_sigchld(application_domain_type)
|
|
|
|
')
|
|
|
|
|
2007-07-19 18:57:48 +00:00
|
|
|
optional_policy(`
|
|
|
|
ssh_sigchld(application_domain_type)
|
|
|
|
ssh_rw_stream_sockets(application_domain_type)
|
2020-05-11 16:28:05 +00:00
|
|
|
|
|
|
|
ifndef(`distro_redhat', `
|
|
|
|
ssh_rw_pipes(application_domain_type)
|
|
|
|
')
|
2007-07-19 18:57:48 +00:00
|
|
|
')
|
2009-11-24 16:47:12 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
sudo_sigchld(application_domain_type)
|
|
|
|
')
|