26 lines
376 B
Plaintext
26 lines
376 B
Plaintext
|
|
policy_module(ada, 1.3.1)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
type ada_t;
|
|
type ada_exec_t;
|
|
application_domain(ada_t, ada_exec_t)
|
|
role system_r types ada_t;
|
|
|
|
########################################
|
|
#
|
|
# Local policy
|
|
#
|
|
|
|
allow ada_t self:process { execstack execmem };
|
|
|
|
userdom_use_user_terminals(ada_t)
|
|
|
|
optional_policy(`
|
|
unconfined_domain(ada_t)
|
|
')
|