mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-02 15:25:27 +00:00
parser: add support for prompt profile mode
Add support for the prompt profile mode. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -62,9 +62,10 @@ enum profile_mode {
|
||||
MODE_COMPLAIN = 2,
|
||||
MODE_KILL = 3,
|
||||
MODE_UNCONFINED = 4,
|
||||
MODE_CONFLICT = 5 /* greater than MODE_LAST */
|
||||
MODE_PROMPT = 5,
|
||||
MODE_CONFLICT = 6 /* greater than MODE_LAST */
|
||||
};
|
||||
#define MODE_LAST MODE_UNCONFINED
|
||||
#define MODE_LAST MODE_PROMPT
|
||||
|
||||
static inline enum profile_mode operator++(enum profile_mode &mode)
|
||||
{
|
||||
|
Reference in New Issue
Block a user