mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
add parser subsystem reset functions
Signed-Off-By: Kees Cook <kees.cook@canonical.com>
This commit is contained in:
@@ -642,6 +642,11 @@ out:
|
||||
return error;
|
||||
}
|
||||
|
||||
void reset_regex(void)
|
||||
{
|
||||
aare_reset_matchflags();
|
||||
}
|
||||
|
||||
#ifdef UNIT_TEST
|
||||
#define MY_TEST(statement, error) \
|
||||
if (!(statement)) { \
|
||||
|
Reference in New Issue
Block a user