~apparmor-dev/apparmor/master

« back to all changes in this revision

Viewing changes to parser/tst/simple_tests/vars/vars_auto_profile_name_07.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
 
#=DESCRIPTION ensure profile_name expansion after subprofiles works
2
 
#=EXRESULT PASS
3
 
 
4
 
profile top_profile /test/profile {
5
 
  /test/profile rix,
6
 
 
7
 
  /first/path/@{profile_name}/tmp rwk,
8
 
  /bin/spork Cx -> spork,
9
 
 
10
 
  profile spork {
11
 
    owner /tmp/* r,
12
 
    /run/@{profile_name}/** rw,
13
 
  }
14
 
 
15
 
  hat spelunkk {
16
 
    owner /tmp/* r,
17
 
    /run/@{profile_name}/** rw,
18
 
  }
19
 
 
20
 
  # Does this expand properly?
21
 
  /second/path/@{profile_name}/tmp rk,
22
 
}