mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Add profile names that are independent of attachment specification
Add the ability to specify the name and attachment of the profile separately. It does not allow for the attachment specification to begin with a variable however since variables in profile names is not currently support this shouldn't be and issue. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -736,6 +736,8 @@ void free_policy(struct codomain *cod)
|
||||
free(cod->dfa);
|
||||
if (cod->name)
|
||||
free(cod->name);
|
||||
if (cod->attachment)
|
||||
free(cod->attachment);
|
||||
if (cod->namespace)
|
||||
free(cod->namespace);
|
||||
if (cod->network_allowed)
|
||||
|
Reference in New Issue
Block a user