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

« back to all changes in this revision

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