aboutsummaryrefslogtreecommitdiff
blob: fc79761640a1e403975abddc8c35bbc1b36fb16c (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
(block home_container
	(blockabstract home_container)

	(optional home_container_optional
		(allow process process (capability (dac_override)))

		(allow process home_root_t list_dir_perms)
		(allow process user_home_dir_t list_dir_perms)
		(allow process user_home_t list_dir_perms)

		(allow process user_home_dir_t read_file_perms)
		(allow process user_home_t read_file_perms)
	)
)

(block home_rw_container
	(blockabstract home_rw_container)

	(blockinherit home_container)

	(optional home_rw_container_optional
		(allow process home_root_t rw_dir_perms)
		(allow process user_home_dir_t rw_dir_perms)
		(allow process user_home_t rw_dir_perms)

		(allow process user_home_dir_t rw_file_perms)
		(allow process user_home_t rw_file_perms)
	)
)

(block home_manage_container
	(blockabstract home_manage_container)

	(blockinherit home_rw_container)

	(optional home_manage_container_optional
		(allow process home_root_t manage_dir_perms)
		(allow process user_home_dir_t manage_dir_perms)
		(allow process user_home_t manage_dir_perms)

		(allow process user_home_dir_t manage_file_perms)
		(allow process user_home_t manage_file_perms)
	)
)