mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
Add a 'include if exists' rule to cleanprof testcases
... to ensure it is kept.
This commit is contained in:
@@ -13,6 +13,8 @@
|
|||||||
# Just for the heck of it, this comment wont see the day of light
|
# Just for the heck of it, this comment wont see the day of light
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
|
||||||
|
#include if exists <foo>
|
||||||
|
|
||||||
capability sys_admin,
|
capability sys_admin,
|
||||||
audit capability,
|
audit capability,
|
||||||
|
|
||||||
|
@@ -15,6 +15,8 @@ alias /foo -> /bar,
|
|||||||
|
|
||||||
#include <abstractions/base>
|
#include <abstractions/base>
|
||||||
|
|
||||||
|
include if exists <foo>
|
||||||
|
|
||||||
set rlimit nofile <= 256,
|
set rlimit nofile <= 256,
|
||||||
|
|
||||||
audit capability,
|
audit capability,
|
||||||
|
Reference in New Issue
Block a user