mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
extend test profiles for mount
- in bad_?.sd, explain why the profile is bad (conflicting options) - add a good profile with two space-separated options This is a follow-up for https://gitlab.com/apparmor/apparmor/-/merge_requests/1029
This commit is contained in:
parent
e7f1b882f7
commit
9a9af71d83
@ -1,5 +1,5 @@
|
||||
#
|
||||
#=Description basic mount rule
|
||||
#=Description basic mount rule with incompatible options
|
||||
#=EXRESULT FAIL
|
||||
#
|
||||
/usr/bin/foo {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
#=Description basic mount rule
|
||||
#=Description basic mount rule with incompatible options
|
||||
#=EXRESULT FAIL
|
||||
#
|
||||
/usr/bin/foo {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
#=Description basic mount rule
|
||||
#=Description basic mount rule with incompatible options
|
||||
#=EXRESULT FAIL
|
||||
#
|
||||
/usr/bin/foo {
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
#=Description basic mount rule
|
||||
#=Description basic mount rule with incompatible options
|
||||
#=EXRESULT FAIL
|
||||
#
|
||||
/usr/bin/foo {
|
||||
|
7
parser/tst/simple_tests/mount/ok_16.sd
Normal file
7
parser/tst/simple_tests/mount/ok_16.sd
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
#=Description basic mount rule
|
||||
#=EXRESULT PASS
|
||||
#
|
||||
/usr/bin/foo {
|
||||
mount options=(rw nosuid) -> /foo,
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user