mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
21 lines
250 B
Text
21 lines
250 B
Text
# taken from cond50.sd
|
|
#=DESCRIPTION simple else clause
|
|
#=EXRESULT PASS
|
|
|
|
$FOO=true
|
|
|
|
/bin/true {
|
|
if $FOO {
|
|
/bin/true rix,
|
|
} else {
|
|
/bin/false rix,
|
|
}
|
|
}
|
|
|
|
/bin/false {
|
|
if not $FOO {
|
|
/bin/true rix,
|
|
} else {
|
|
/bin/false rix,
|
|
}
|
|
}
|