78276fc43b
Semodule stopped using this many years ago. The policy_module() macro will continue to support an optional second parameter as version. If it is not specified, a default value of 1 is set. Signed-off-by: Chris PeBenito <pebenito@ieee.org>
27 lines
509 B
Plaintext
27 lines
509 B
Plaintext
policy_module(mojomojo)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
apache_content_template(mojomojo)
|
|
|
|
########################################
|
|
#
|
|
# Local policy
|
|
#
|
|
|
|
apache_rw_stream_sockets(httpd_mojomojo_script_t)
|
|
|
|
corenet_sendrecv_smtp_client_packets(httpd_mojomojo_script_t)
|
|
corenet_tcp_connect_smtp_port(httpd_mojomojo_script_t)
|
|
|
|
files_search_var_lib(httpd_mojomojo_script_t)
|
|
|
|
sysnet_dns_name_resolve(httpd_mojomojo_script_t)
|
|
|
|
optional_policy(`
|
|
mta_send_mail(httpd_mojomojo_script_t)
|
|
')
|