~apparmor-dev/apparmor/master

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/profile/re_named_ok1.sd

  • Committer: Steve Beattie
  • Date: 2019-02-19 09:38:13 UTC
  • Revision ID: sbeattie@ubuntu.com-20190219093813-ud526ee6hwn8nljz
The AppArmor project has been converted to git and is now hosted on
gitlab.

To get the converted repository, please do
  git clone https://gitlab.com/apparmor/apparmor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# $Id$
3
 
#=DESCRIPTION Basic test that named profiles with re attachment are allowed
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
 
}