aboutsummaryrefslogtreecommitdiff
blob: a6a86439fa6827b719f3ff3af5bfcb14b0d772b4 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
policy_module(mono, 1.9.0)

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

attribute mono_domain;

attribute_role mono_roles;

type mono_t, mono_domain;
type mono_exec_t;
init_system_domain(mono_t, mono_exec_t)
role mono_roles types mono_t;

application_type(mono_t)

########################################
#
# Common local policy
#

allow mono_domain self:process { signal getsched execheap execmem execstack };

########################################
#
# local policy
#

userdom_user_home_dir_filetrans_user_home_content(mono_t, { dir file lnk_file fifo_file sock_file })

init_dbus_chat_script(mono_t)

optional_policy(`
	avahi_dbus_chat(mono_t)
')

optional_policy(`
	cups_dbus_chat(mono_t)
')

optional_policy(`
	hal_dbus_chat(mono_t)
')

optional_policy(`
	networkmanager_dbus_chat(mono_t)
')

optional_policy(`
	rpm_dbus_chat(mono_t)
')

optional_policy(`
	unconfined_domain(mono_t)
	unconfined_dbus_chat(mono_t)
	unconfined_dbus_connect(mono_t)
')

optional_policy(`
	xserver_rw_shm(mono_t)
')