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

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/change_hat/new_style2.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 Tests to verify multiple profiles can have the same hatname
 
3
#=EXRESULT PASS
 
4
# vim:syntax=subdomain
 
5
# Last Modified: Sun Apr 17 19:44:44 2005
 
6
#
 
7
/HAT1 {
 
8
  #include <includes/base>
 
9
  /usr/X11R6/lib/lib*so* r,
 
10
  /usr/bin/emacs r,
 
11
}
 
12
 
 
13
/HAT2 {
 
14
  #include <includes/base>
 
15
  /usr/X11R6/lib/lib*so* r,
 
16
  /usr/bin/emacs r,
 
17
}
 
18
 
 
19
/HAT3 {
 
20
  #include <includes/base>
 
21
  /usr/X11R6/lib/lib*so* r,
 
22
  /usr/bin/emacs r,
 
23
}
 
24
 
 
25
/does/not/exist1 {
 
26
  #include <includes/base>
 
27
 
 
28
# hat 1
 
29
  ^/HAT1 {
 
30
    /var/log/HAT1 rwl,
 
31
  }
 
32
 
 
33
# hat 2
 
34
  ^/HAT2 {
 
35
    /var/log/HAT2 rwl,
 
36
  }
 
37
}
 
38
 
 
39
/does/not/exist2 {
 
40
  #include <includes/base>
 
41
 
 
42
# hat 1
 
43
  ^/HAT1 {
 
44
    /var/log/HAT1 rwl,
 
45
  }
 
46
 
 
47
# hat 2
 
48
  ^/HAT2 {
 
49
    /var/log/HAT2 rwl,
 
50
  }
 
51
}
 
52
 
 
53
/does/not/exist3 {
 
54
  #include <includes/base>
 
55
 
 
56
# hat 1
 
57
  ^/HAT1 {
 
58
    /var/log/HAT1 rwl,
 
59
  }
 
60
 
 
61
# hat 2
 
62
  ^/HAT3 {
 
63
    /var/log/HAT2 rwl,
 
64
  }
 
65
}
 
66