2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

test-cleanprof: add tests for external child profiles

This commit is contained in:
Christian Boltz 2025-03-26 20:33:30 +01:00 committed by Georgia Garcia
parent 699d7b5c83
commit 4c3954f13d
3 changed files with 24 additions and 0 deletions

View File

@ -96,3 +96,11 @@ $foo = false
) {
/what/ever r,
}
profile foo//bar {
/home/namedchild r,
}
/bin/bar///bin/baz {
/home/pathchild w,
}

View File

@ -96,3 +96,11 @@ $foo = false
) {
/what/ever r,
}
profile foo//bar {
/home/namedchild r,
}
/bin/bar///bin/baz {
/home/pathchild w,
}

View File

@ -11,6 +11,10 @@ include if exists <tunables/nothing>
$foo = false
$bar = true
/bin/bar///bin/baz {
/home/pathchild w,
}
# A simple test comment which will persist
@ -73,3 +77,7 @@ $bar = true
/what/ever r,
}
profile foo//bar {
/home/namedchild r,
}