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

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/profile/local/local_profile_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 simple local (interior) profile cases
 
3
#=EXRESULT PASS
 
4
#
 
5
/does/not/exist {
 
6
 
 
7
  /foo rw,
 
8
  /foo/** rw,
 
9
 
 
10
  rw /bar,
 
11
  rw /bar/**,
 
12
 
 
13
  profile /bin/grep {
 
14
    /one rw,
 
15
    /one/** rw,
 
16
 
 
17
    rw /two,
 
18
    rw /two/**,
 
19
  }
 
20
 
 
21
  hat GREP {
 
22
 
 
23
    /one r,
 
24
    /one/** r,
 
25
 
 
26
    r /two,
 
27
    r /two/**,
 
28
  }
 
29
 
 
30
  profile /bin/true {
 
31
    /three rw,
 
32
    /three/** rw,
 
33
 
 
34
    rw /four,
 
35
    rw /four/**,
 
36
  }
 
37
 
 
38
  profile /bin/false {
 
39
  }
 
40
}