mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 13:58:22 +00:00
parser: fix prefix dump to include priority
The original patch adding priority to the set of prefixes failed to
update the prefix dump to include the priority priority field.
Fixes: e3fca60d1
("parser: add the ability to specify a priority prefix to rules")
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -182,6 +182,8 @@ public:
|
|||||||
{
|
{
|
||||||
bool output = true;
|
bool output = true;
|
||||||
|
|
||||||
|
if (priority != 0)
|
||||||
|
os << "priority=" << priority << " ";
|
||||||
switch (audit) {
|
switch (audit) {
|
||||||
case AUDIT_FORCE:
|
case AUDIT_FORCE:
|
||||||
os << "audit";
|
os << "audit";
|
||||||
|
Reference in New Issue
Block a user