2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-03 07:45:50 +00:00

fix change profile

This commit is contained in:
John Johansen
2007-11-16 09:36:19 +00:00
parent 638535d650
commit 0e5484ce77

View File

@@ -515,7 +515,7 @@ static int process_dfa_entry(aare_ruleset_t *dfarules, struct cod_entry *entry)
if (entry->namespace) if (entry->namespace)
sprintf(lbuf, "%s//%s", entry->namespace, entry->name); sprintf(lbuf, "%s//%s", entry->namespace, entry->name);
else 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); ptype = convert_aaregex_to_pcre(lbuf, 0, tbuf, 2*PATH_MAX + 8);
if (ptype == ePatternInvalid) if (ptype == ePatternInvalid)
return FALSE; return FALSE;