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

« back to all changes in this revision

Viewing changes to tests/regression/subdomain/for-mainline/vfs-mnt.patch

  • 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
 
Index: subdomain/mult_mount.sh
2
 
===================================================================
3
 
--- subdomain.orig/mult_mount.sh
4
 
+++ subdomain/mult_mount.sh
5
 
@@ -79,17 +79,17 @@ genprofile $dir2:$mkdirperm
6
 
 runchecktest "OVERLAP MKDIR PASS2" pass mkdir $dir2
7
 
 cleandir $dir2
8
 
 
9
 
+# MKDIR FAIL TESTS
10
 
 genprofile $dir1:$mkdirperm
11
 
 
12
 
-runchecktest "OVERLAP MKDIR PASS3" pass mkdir $dir2
13
 
+runchecktest "OVERLAP MKDIR PASS3" fail mkdir $dir2
14
 
 cleandir $dir2
15
 
 
16
 
 genprofile $dir2:$mkdirperm
17
 
 
18
 
-runchecktest "OVERLAP MKDIR PASS4" pass mkdir $dir1
19
 
+runchecktest "OVERLAP MKDIR PASS4" fail mkdir $dir1
20
 
 cleandir $dir1
21
 
 
22
 
-# MKDIR FAIL TESTS
23
 
 get_current_logposition
24
 
 genprofile $dir1:$mkdirperm_fail
25
 
 runchecktest "OVERLAP MKDIR FAIL1" fail mkdir $dir1
26
 
@@ -114,11 +114,11 @@ runchecktest "OVERLAP LINK PASS1a" pass 
27
 
 rm -f $file1b
28
 
 
29
 
 genprofile $file1a:$linkperm $file2b:$linkperm
30
 
-runchecktest "OVERLAP LINK PASS2a" pass $file1a $file1b
31
 
+runchecktest "OVERLAP LINK PASS2a" fail $file1a $file1b
32
 
 rm -f $file1b
33
 
 
34
 
 genprofile $file2a:$linkperm $file1b:$linkperm
35
 
-runchecktest "OVERLAP LINK PASS3a" pass $file1a $file1b
36
 
+runchecktest "OVERLAP LINK PASS3a" fail $file1a $file1b
37
 
 rm -f $file1b
38
 
 
39
 
 # src lacks link perm, ok as long as dest has linkperm
40
 
@@ -127,11 +127,11 @@ runchecktest "OVERLAP LINK PASS1b" pass 
41
 
 rm -f $file1b
42
 
 
43
 
 genprofile $file1a:$readperm $file2b:$linkperm
44
 
-runchecktest "OVERLAP LINK PASS2b" pass $file1a $file1b
45
 
+runchecktest "OVERLAP LINK PASS2b" fail $file1a $file1b
46
 
 rm -f $file1b
47
 
 
48
 
 genprofile $file2a:$readperm $file1b:$linkperm
49
 
-runchecktest "OVERLAP LINK PASS3b" pass $file1a $file1b
50
 
+runchecktest "OVERLAP LINK PASS3b" fail $file1a $file1b
51
 
 rm -f $file1b
52
 
 
53