2006-04-12 16:58:23 +00:00
|
|
|
|
2007-12-14 14:23:18 +00:00
|
|
|
policy_module(ada,1.2.0)
|
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)
|
2007-10-02 16:04:50 +00:00
|
|
|
role system_r types ada_t;
|
2006-04-12 16:58:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
allow ada_t self:process { execstack execmem };
|
|
|
|
|
|
|
|
optional_policy(`
|
2006-04-12 16:58:23 +00:00
|
|
|
unconfined_domain_noaudit(ada_t)
|
|
|
|
')
|