Chris PeBenito c655ec
Chris PeBenito c655ec
policy_module(ada,1.0.0)
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 c655ec
domain_type(ada_t)
Chris PeBenito c655ec
domain_entry_file(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
')