mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
fix change profile
This commit is contained in:
@@ -515,7 +515,7 @@ static int process_dfa_entry(aare_ruleset_t *dfarules, struct cod_entry *entry)
|
||||
if (entry->namespace)
|
||||
sprintf(lbuf, "%s//%s", entry->namespace, entry->name);
|
||||
else
|
||||
sprintf(lbuf, "%s", entry->namespace, entry->name);
|
||||
sprintf(lbuf, "%s", entry->name);
|
||||
ptype = convert_aaregex_to_pcre(lbuf, 0, tbuf, 2*PATH_MAX + 8);
|
||||
if (ptype == ePatternInvalid)
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user