aboutsummaryrefslogtreecommitdiff
blob: 4f1d07d718bc89de8396010c9d932cdcd4a9b165 (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
## <summary>Least privledge xwindows user role.</summary>

########################################
## <summary>
##	Change to the xguest role.
## </summary>
## <param name="role">
##	<summary>
##	Role allowed access.
##	</summary>
## </param>
## <rolecap/>
#
interface(`xguest_role_change',`
	gen_require(`
		role xguest_r;
	')

	allow $1 xguest_r;
')

########################################
## <summary>
##	Change from the xguest role.
## </summary>
## <desc>
##	<p>
##	Change from the xguest role to
##	the specified role.
##	</p>
##	<p>
##	This is an interface to support third party modules
##	and its use is not allowed in upstream reference
##	policy.
##	</p>
## </desc>
## <param name="role">
##	<summary>
##	Role allowed access.
##	</summary>
## </param>
## <rolecap/>
#
interface(`xguest_role_change_to',`
	gen_require(`
		role xguest_r;
	')

	allow xguest_r $1;
')