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

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/profile/local/local_profiles_ok2.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 More basic parsing test of local (internal) profiles
 
3
#=EXRESULT PASS
 
4
# vim:syntax=subdomain
 
5
# Last Modified: Sun Apr 17 19:44:44 2005
 
6
#
 
7
/does/not/exist {
 
8
  #include <includes/base>
 
9
 
 
10
  /usr/X11R6/lib/lib*so* rrr,
 
11
  /does/not/exist r,
 
12
  /var/log/messages www,
 
13
  /bin/ls ixixixix,
 
14
  /bin/echo uxuxuxuxux,
 
15
 
 
16
  profile /bin/grep {
 
17
    #include <includes/base>
 
18
 
 
19
    /bin/grep r,
 
20
    /tmp/shmeegol rwm,
 
21
  }
 
22
 
 
23
  capability setuid,
 
24
 
 
25
  profile /bin/cat {
 
26
    #include <includes/base>
 
27
 
 
28
    /bin/cat r,
 
29
    /tmp/shmeegol w,
 
30
  }
 
31
 
 
32
  /tmp/sd*.foo rwrwwrll,
 
33
  /bin/cat pxpxpxpxpx,
 
34
}
 
35