2006-04-12 16:58:23 +00:00
|
|
|
|
2008-12-10 19:38:10 +00:00
|
|
|
policy_module(ada, 1.3.0)
|
2006-04-12 16:58:23 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
type ada_t;
|
|
|
|
type ada_exec_t;
|
2008-07-23 21:38:39 +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 };
|
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_use_user_terminals(ada_t)
|
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
2006-04-12 16:58:23 +00:00
|
|
|
unconfined_domain_noaudit(ada_t)
|
|
|
|
')
|