mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
parser: convert xmatch to use out of band transitions
xattrs can contain NULL characters in their values which means we can not user regular NULL transitions to separate values. To fix this use out of band transition instead. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -104,7 +104,7 @@ class aare_rules {
|
||||
uint32_t audit, dfaflags_t flags);
|
||||
bool add_rule_vec(int deny, uint32_t perms, uint32_t audit, int count,
|
||||
const char **rulev, dfaflags_t flags, bool oob);
|
||||
bool append_rule(const char *rule, dfaflags_t flags);
|
||||
bool append_rule(const char *rule, bool oob, dfaflags_t flags);
|
||||
void *create_dfa(size_t *size, int *min_match_len, dfaflags_t flags);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user