aboutsummaryrefslogtreecommitdiff
blob: 8b5ad06b5fed5123688a8c70aed647ad9cf08f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
policy_module(ada, 1.4.1)

########################################
#
# Declarations
#

attribute_role ada_roles;
roleattribute system_r ada_roles;

type ada_t;
type ada_exec_t;
application_domain(ada_t, ada_exec_t)
role ada_roles types ada_t;

########################################
#
# Local policy
#

allow ada_t self:process { execstack execmem };

userdom_use_user_terminals(ada_t)

optional_policy(`
	unconfined_domain(ada_t)
')