~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/profile/flags/flags_ok.sd

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#=DESCRIPTION validate some uses of the profile flags.
 
3
#=EXRESULT PASS
 
4
# vim:syntax=subdomain
 
5
# Last Modified: Sun Apr 17 19:44:44 2005
 
6
#
 
7
/does/not/exist flags=(complain) {
 
8
  #include <includes/base>
 
9
 
 
10
  /usr/X11R6/lib/lib*so* r,
 
11
  /does/not/exist r,
 
12
}
 
13
 
 
14
/does/not/exist2 flags=(audit) {
 
15
  #include <includes/base>
 
16
 
 
17
  /usr/X11R6/lib/lib*so* r,
 
18
  /does/not/exist2 r,
 
19
}
 
20
 
 
21
/does/not/exist3 flags=(complain,audit) {
 
22
  #include <includes/base>
 
23
 
 
24
  /usr/X11R6/lib/lib*so* r,
 
25
  /does/not/exist5 r,
 
26
}
 
27
 
 
28
/does/not/exist4 flags=(audit,complain) {
 
29
  #include <includes/base>
 
30
 
 
31
  /usr/X11R6/lib/lib*so* r,
 
32
  /does/not/exist7 r,
 
33
}
 
34
 
 
35
/does/not/exist5 flags=(audit,complain,audit) {
 
36
  #include <includes/base>
 
37
 
 
38
  /usr/X11R6/lib/lib*so* r,
 
39
  /does/not/exist8 r,
 
40
}
 
41
 
 
42
/does/not/exist6 (complain) {
 
43
  #include <includes/base>
 
44
 
 
45
  /usr/X11R6/lib/lib*so* r,
 
46
  /does/not/exist r,
 
47
}
 
48
 
 
49
/does/not/exist7 (audit) {
 
50
  #include <includes/base>
 
51
 
 
52
  /usr/X11R6/lib/lib*so* r,
 
53
  /does/not/exist2 r,
 
54
}
 
55
 
 
56
/does/not/exist8 (complain,audit) {
 
57
  #include <includes/base>
 
58
 
 
59
  /usr/X11R6/lib/lib*so* r,
 
60
  /does/not/exist5 r,
 
61
}
 
62
 
 
63
/does/not/exist9 (audit,complain) {
 
64
  #include <includes/base>
 
65
 
 
66
  /usr/X11R6/lib/lib*so* r,
 
67
  /does/not/exist7 r,
 
68
}
 
69
 
 
70
/does/not/exist10 (audit,complain,audit) {
 
71
  #include <includes/base>
 
72
 
 
73
  /usr/X11R6/lib/lib*so* r,
 
74
  /does/not/exist8 r,
 
75
}