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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
## <summary>User-based access control policy</summary>
## <required val="true">
## Contains attributes used in UBAC policy.
## </required>
########################################
## <summary>
## Constrain by user-based access control (UBAC).
## </summary>
## <desc>
## <p>
## Constrain the specified type by user-based
## access control (UBAC). Typically, these are
## user processes or user files that need to be
## differentiated by SELinux user. Normally this
## does not include administrative or privileged
## programs. For the UBAC rules to be enforced,
## both the subject (source) type and the object
## (target) types must be UBAC constrained.
## </p>
## </desc>
## <param name="type">
## <summary>
## Type to be constrained by UBAC.
## </summary>
## </param>
## <infoflow type="none"/>
#
interface(`ubac_constrained',`
gen_require(`
attribute ubac_constrained_type;
')
typeattribute $1 ubac_constrained_type;
')
########################################
## <summary>
## Exempt user-based access control for files.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_file_exempt',`
gen_require(`
attribute ubacfile;
')
typeattribute $1 ubacfile;
')
########################################
## <summary>
## Exempt user-based access control for processes.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_process_exempt',`
gen_require(`
attribute ubacproc;
')
typeattribute $1 ubacproc;
')
########################################
## <summary>
## Exempt user-based access control for file descriptors.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_fd_exempt',`
gen_require(`
attribute ubacfd;
')
typeattribute $1 ubacfd;
')
########################################
## <summary>
## Exempt user-based access control for sockets.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_socket_exempt',`
gen_require(`
attribute ubacsock;
')
typeattribute $1 ubacsock;
')
########################################
## <summary>
## Exempt user-based access control for SysV IPC.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_sysvipc_exempt',`
gen_require(`
attribute ubacipc;
')
typeattribute $1 ubacipc;
')
########################################
## <summary>
## Exempt user-based access control for X Windows.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_xwin_exempt',`
gen_require(`
attribute ubacxwin;
')
typeattribute $1 ubacxwin;
')
########################################
## <summary>
## Exempt user-based access control for dbus.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_dbus_exempt',`
gen_require(`
attribute ubacdbus;
')
typeattribute $1 ubacdbus;
')
########################################
## <summary>
## Exempt user-based access control for keys.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_key_exempt',`
gen_require(`
attribute ubackey;
')
typeattribute $1 ubackey;
')
########################################
## <summary>
## Exempt user-based access control for databases.
## </summary>
## <param name="domain">
## <summary>
## Domain to be exempted.
## </summary>
## </param>
#
interface(`ubac_db_exempt',`
gen_require(`
attribute ubacdb;
')
typeattribute $1 ubacdb;
')
|