mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-07 01:41:00 +01:00
![]() This is a minimal patch to add conditional includes to the profile
language.
The syntax for conditional includes is similar to regular includes
except with the addition of "if exists" after "include"
include if exists <foo/bar>
include if exists "foo/bar"
include if exists "/foo/bar"
include if exists foo/bar
Note: The patch is designed to be backportable with minimum
effort. Cleanups and code refactoring are planned for follow up
patches that won't be back ported.
Signed-off-by: John Johansen <john.johansen@canonical.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
bare_include_tests | ||
capability | ||
change_hat | ||
change_profile | ||
conditional | ||
dbus | ||
file | ||
include_tests | ||
includes | ||
includes-preamble | ||
mount | ||
network | ||
profile | ||
ptrace | ||
rewrite | ||
rlimits | ||
signal | ||
unix | ||
vars | ||
xtrans | ||
readme |
Directory for auto generated x-transition tests