mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
deleted-open-revalidate.patch
This commit is contained in:
parent
c843dbc392
commit
5b61f80b97
1 changed files with 1 additions and 2 deletions
|
@ -97,7 +97,6 @@ EOM
|
|||
rm -f ${socket}
|
||||
|
||||
# PASS - confined client, rw access to the file
|
||||
|
||||
genprofile $file:$okperm $socket:rw $fd_client:px -- image=$fd_client $file:$okperm $socket:rw
|
||||
runchecktest "fd passing; confined client w/ rw" pass $file $socket $fd_client "delete_file"
|
||||
|
||||
|
@ -116,7 +115,7 @@ rm -f ${socket}
|
|||
# FAIL - confined client, w access to the file
|
||||
|
||||
genprofile $file:$okperm $socket:rw $fd_client:px -- image=$fd_client $file:$badperm $socket:rw
|
||||
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"
|
||||
|
||||
sleep 1
|
||||
rm -f ${socket}
|
||||
|
|
Loading…
Add table
Reference in a new issue