Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/usr.bin.apparmor-profile-test
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | 195 | profile other_tests { | |||
---|---|---|---|---|---|
213 | network unix | 213 | network unix | ||
214 | unix, | 214 | unix, | ||
215 | ptrace unix | 215 | ptrace unix | ||
216 | unix, | 216 | unix, | ||
217 | unix unix | 217 | unix unix | ||
218 | unix, | 218 | unix, | ||
219 | 219 | | |||
220 | # Transition rules | 220 | # Transition rules | ||
221 | /usr/bin/foo cx -> hello*, | 221 | /usr/bin/foo cx -> hello*, # profile | ||
222 | /usr/bin/foo Cx -> path/, | 222 | /usr/bin/foo Cx -> path/, # path | ||
223 | /usr/bin/foo cx -> ab[ad/]hello, | 223 | /usr/bin/foo cx -> ab[ad/]hello, # profile | ||
224 | /usr/bin/foo Cx -> ab[cd/]a[ad/]hello/path, | 224 | /usr/bin/foo Cx -> ab[cd/]a[ad/]hello/path, # path | ||
225 | /usr/bin/foo Cx -> ab[hello/path, | 225 | /usr/bin/foo Cx -> ab[hello/path, # profile | ||
226 | 226 | | |||
227 | /usr/bin/foo cx -> "hello*", | 227 | /usr/bin/foo cx -> "hello*", # profile | ||
228 | /usr/bin/foo Cx -> "path/", | 228 | /usr/bin/foo Cx -> "path/", # path | ||
229 | /usr/bin/foo cx -> "ab[ad/]hello", | 229 | /usr/bin/foo cx -> "ab[ad/]hello", # profile | ||
230 | /usr/bin/foo Cx -> "ab[cd/]a[ad/]hello/path", | 230 | /usr/bin/foo Cx -> "ab[cd/]a[ad/]hello/path", # path | ||
231 | /usr/bin/foo Cx -> "ab[hello/path", | 231 | /usr/bin/foo Cx -> "ab[hello/path", # profile | ||
232 | 232 | | |||
233 | /usr/bin/foo cx -> holas//hello/sa, | 233 | /usr/bin/foo cx -> holas//hello/sa, # path | ||
234 | /usr/bin/foo cx -> df///dd//hat, | 234 | /usr/bin/foo cx -> df///dd//hat, # path + hat | ||
235 | /usr/bin/foo cx -> holas,#sd\323fsdf, | 235 | /usr/bin/foo cx -> holas,#sd\323fsdf, # profile | ||
236 | 236 | | |||
237 | # Access modes | 237 | # Access modes | ||
238 | /hello/lib/foo rwklms, # s invalid | 238 | /hello/lib/foo rwklms, # s invalid | ||
239 | /hello/lib/foo rwmaix, # w & a incompatible | 239 | /hello/lib/foo rwmaix, # w & a incompatible | ||
240 | /hello/lib/foo kalmw, | 240 | /hello/lib/foo kalmw, | ||
241 | /hello/lib/foo wa, | 241 | /hello/lib/foo wa, | ||
242 | # OK | 242 | # OK | ||
243 | /hello/lib/foo rrwrwwrwrw, | 243 | /hello/lib/foo rrwrwwrwrw, | ||
Show All 27 Lines |