File: exploding_profile.sd

package info (click to toggle)
apparmor 4.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 30,096 kB
  • sloc: ansic: 24,943; python: 24,914; cpp: 9,074; sh: 8,166; yacc: 2,061; makefile: 1,923; lex: 1,215; pascal: 1,147; perl: 1,033; ruby: 365; lisp: 282; exp: 250; java: 212; xml: 159
file content (49 lines) | stat: -rw-r--r-- 1,649 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#=DESCRIPTION Test of dfa tree optimization
#=EXRESULT PASS

#This profile exercises the dfa tree optimization
#Without working tree optimization this profile generates a dfa with 100,000s
#of states and that requires several gigs, and takes hours to compute
#With working tree optimization this profile generates a dfa with about 3,000
#states and takes a second or two to compute.
/foo {
  /a/b/c/webdir/config.inc.php rw,

  /a/b/c/** r,
  /a/b/c/upload/** rw,
  /a/b/c/webdir/cms/files/** rw,
  /a/b/c/webdir/content/** rw,
  /a/b/c/webdir/mitarbeiter/** rw,
  /a/b/c/webdir/newsletter/** wr,
  /a/b/c/webdir/pnTemp/** rw,
  /a/b/c/webdir/redaxo/include/generated/articles/** rw,
  /a/b/c/webdir/typo3/ext/** rw,
  /a/b/c/webdir/wiki/images/** rw,

  /a/b/c/**.txt rw,
  /a/b/c/**.log rw,
  /a/b/c/webdir/**/com_docman/docman.config.php wr,
  /a/b/c/webdir/**/settings.php wr,
  /a/b/c/webdir/**.txt rw,
  /a/b/c/webdir/upload/**{.jpg,.pdf,.ps,.gif,.png,.ppt,.doc,.txt,.rtf} rw,

  /a/b/c/webdir/courses/uploaded_file*/** rw,

  /a/b/c/webdir/**/conf*.php rw,

  /a/b/c/**{cache,data,download,/ext,fileadmin,files,images,joomla,moodledata/sessions}/** rw,
  /a/b/c/**log{,s}/** rw,
  /a/b/c/**typo3{conf,temp}/** rw,
  /a/b/c/webdir/**/components/** rw,
  /a/b/c/webdir/content/**/conf/** rw,
  /a/b/c/webdir/**/content/** rw,
  /a/b/c/webdir/**/{pages,pictures,data,doc,files,languages,media}/** rw,
  /a/b/c/webdir/**/{pages,pictures}/** rw,
  /a/b/c/webdir/**/module{s,}/** rw,
  /a/b/c/webdir/**/{templates_c,templates,temp,tmp}/** rw,
  /a/b/c/webdir/**/upload/** rw,

  /a/b/c/webdir/**count*/** rw,
  /a/b/c/webdir/**/**uploads/** rw,

}