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

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/profile/re_ok1.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 Basic test that re profile names are allowed
 
3
#=EXRESULT PASS
 
4
# vim:syntax=subdomain
 
5
# Last Modified: Sun Apr 17 19:44:44 2005
 
6
#
 
7
/** {
 
8
  #include <includes/base>
 
9
 
 
10
  /usr/X11R6/lib/lib*so* rrr,
 
11
  /does/not/exist r,
 
12
  /var/log/messages www,
 
13
  /tmp/sd*.foo rwrwwrll,
 
14
  /bin/cat pxpxpxpxpx,
 
15
  /bin/ls ixixixix,
 
16
  /bin/echo uxuxuxuxux,
 
17
}
 
18
 
 
19
/* {
 
20
  #include <includes/base>
 
21
 
 
22
  /usr/X11R6/lib/lib*so* rrr,
 
23
  /does/not/exist r,
 
24
  /var/log/messages www,
 
25
  /tmp/sd*.foo rwrwwrll,
 
26
  /bin/cat pxpxpxpxpx,
 
27
  /bin/ls ixixixix,
 
28
  /bin/echo uxuxuxuxux,
 
29
}
 
30
 
 
31
/? {
 
32
  #include <includes/base>
 
33
 
 
34
  /usr/X11R6/lib/lib*so* rrr,
 
35
  /does/not/exist r,
 
36
  /var/log/messages www,
 
37
  /tmp/sd*.foo rwrwwrll,
 
38
  /bin/cat pxpxpxpxpx,
 
39
  /bin/ls ixixixix,
 
40
  /bin/echo uxuxuxuxux,
 
41
}
 
42
 
 
43
/[ab] {
 
44
  #include <includes/base>
 
45
 
 
46
  /usr/X11R6/lib/lib*so* rrr,
 
47
  /does/not/exist r,
 
48
  /var/log/messages www,
 
49
  /tmp/sd*.foo rwrwwrll,
 
50
  /bin/cat pxpxpxpxpx,
 
51
  /bin/ls ixixixix,
 
52
  /bin/echo uxuxuxuxux,
 
53
}
 
54
 
 
55
/[^ab] {
 
56
  #include <includes/base>
 
57
 
 
58
  /usr/X11R6/lib/lib*so* rrr,
 
59
  /does/not/exist r,
 
60
  /var/log/messages www,
 
61
  /tmp/sd*.foo rwrwwrll,
 
62
  /bin/cat pxpxpxpxpx,
 
63
  /bin/ls ixixixix,
 
64
  /bin/echo uxuxuxuxux,
 
65
}
 
66
 
 
67
profile ** {
 
68
  #include <includes/base>
 
69
 
 
70
  /usr/X11R6/lib/lib*so* rrr,
 
71
  /does/not/exist r,
 
72
  /var/log/messages www,
 
73
  /tmp/sd*.foo rwrwwrll,
 
74
  /bin/cat pxpxpxpxpx,
 
75
  /bin/ls ixixixix,
 
76
  /bin/echo uxuxuxuxux,
 
77
}
 
78
 
 
79
profile * {
 
80
  #include <includes/base>
 
81
 
 
82
  /usr/X11R6/lib/lib*so* rrr,
 
83
  /does/not/exist r,
 
84
  /var/log/messages www,
 
85
  /tmp/sd*.foo rwrwwrll,
 
86
  /bin/cat pxpxpxpxpx,
 
87
  /bin/ls ixixixix,
 
88
  /bin/echo uxuxuxuxux,
 
89
}
 
90
 
 
91
profile ? {
 
92
  #include <includes/base>
 
93
 
 
94
  /usr/X11R6/lib/lib*so* rrr,
 
95
  /does/not/exist r,
 
96
  /var/log/messages www,
 
97
  /tmp/sd*.foo rwrwwrll,
 
98
  /bin/cat pxpxpxpxpx,
 
99
  /bin/ls ixixixix,
 
100
  /bin/echo uxuxuxuxux,
 
101
}
 
102
 
 
103
profile [ab] {
 
104
  #include <includes/base>
 
105
 
 
106
  /usr/X11R6/lib/lib*so* rrr,
 
107
  /does/not/exist r,
 
108
  /var/log/messages www,
 
109
  /tmp/sd*.foo rwrwwrll,
 
110
  /bin/cat pxpxpxpxpx,
 
111
  /bin/ls ixixixix,
 
112
  /bin/echo uxuxuxuxux,
 
113
}
 
114
 
 
115
profile [^ab] {
 
116
  #include <includes/base>
 
117
 
 
118
  /usr/X11R6/lib/lib*so* rrr,
 
119
  /does/not/exist r,
 
120
  /var/log/messages www,
 
121
  /tmp/sd*.foo rwrwwrll,
 
122
  /bin/cat pxpxpxpxpx,
 
123
  /bin/ls ixixixix,
 
124
  /bin/echo uxuxuxuxux,
 
125
}
 
126