2006-04-12 16:58:23 +00:00
|
|
|
|
2007-07-19 18:57:48 +00:00
|
|
|
policy_module(ada,1.0.1)
|
2006-04-12 16:58:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type ada_t;
|
|
|
|
type ada_exec_t;
|
2007-07-19 18:57:48 +00:00
|
|
|
application_domain(ada_t,ada_exec_t)
|
2006-04-12 16:58:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef(`targeted_policy',`
|
|
|
|
allow ada_t self:process { execstack execmem };
|
|
|
|
unconfined_domain_noaudit(ada_t)
|
|
|
|
role system_r types ada_t;
|
|
|
|
')
|