add test cases
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
This commit is contained in:
parent
06cc0ba6ba
commit
bec3c3e2aa
5 changed files with 175 additions and 4 deletions
10
test/testdata/apparmor_test_deny_write
vendored
Normal file
10
test/testdata/apparmor_test_deny_write
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <tunables/global>
|
||||
|
||||
profile apparmor-test-deny-write flags=(attach_disconnected) {
|
||||
#include <abstractions/base>
|
||||
|
||||
file,
|
||||
|
||||
# Deny all file writes.
|
||||
deny /** w,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue