2007-03-08 17:15:12 +00:00
|
|
|
Index: subdomain/deleted.sh
|
|
|
|
===================================================================
|
|
|
|
--- subdomain.orig/deleted.sh
|
|
|
|
+++ subdomain/deleted.sh
|
2007-04-18 21:00:11 +00:00
|
|
|
@@ -97,7 +97,6 @@ EOM
|
|
|
|
rm -f ${socket}
|
|
|
|
|
2007-04-19 11:40:54 +00:00
|
|
|
# PASS - confined client, rw access to the file
|
2007-04-18 21:00:11 +00:00
|
|
|
-
|
|
|
|
genprofile $file:$okperm $socket:rw $fd_client:px -- image=$fd_client $file:$okperm $socket:rw
|
2007-04-19 11:40:54 +00:00
|
|
|
runchecktest "fd passing; confined client w/ rw" pass $file $socket $fd_client "delete_file"
|
2007-04-18 21:00:11 +00:00
|
|
|
|
|
|
|
@@ -116,7 +115,7 @@ rm -f ${socket}
|
2007-04-19 11:40:54 +00:00
|
|
|
# FAIL - confined client, w access to the file
|
2007-03-08 17:15:12 +00:00
|
|
|
|
|
|
|
genprofile $file:$okperm $socket:rw $fd_client:px -- image=$fd_client $file:$badperm $socket:rw
|
2007-04-19 11:40:54 +00:00
|
|
|
-runchecktest "fd passing; confined client w/ w only" fail $file $socket $fd_client "delete_file"
|
|
|
|
+runchecktest "fd passing; confined client w/ w only" pass $file $socket $fd_client "delete_file"
|
2007-03-08 17:15:12 +00:00
|
|
|
|
|
|
|
sleep 1
|
|
|
|
rm -f ${socket}
|