Chris PeBenito c655ec
Chris PeBenito d46cfe
policy_module(ada,1.0.1)
Chris PeBenito c655ec
Chris PeBenito c655ec
########################################
Chris PeBenito c655ec
#
Chris PeBenito c655ec
# Declarations
Chris PeBenito c655ec
#
Chris PeBenito c655ec
Chris PeBenito c655ec
type ada_t;
Chris PeBenito c655ec
type ada_exec_t;
Chris PeBenito d46cfe
application_domain(ada_t,ada_exec_t)
Chris PeBenito c655ec
Chris PeBenito c655ec
########################################
Chris PeBenito c655ec
#
Chris PeBenito c655ec
# Local policy
Chris PeBenito c655ec
#
Chris PeBenito c655ec
Chris PeBenito c655ec
ifdef(`targeted_policy',`
Chris PeBenito c655ec
	allow ada_t self:process { execstack execmem };
Chris PeBenito c655ec
	unconfined_domain_noaudit(ada_t)
Chris PeBenito c655ec
	role system_r types ada_t;
Chris PeBenito c655ec
')