feat(aa-log): ensure rule access is always present.
This commit is contained in:
parent
45a6e0bf21
commit
e3daaf3d4c
6 changed files with 25 additions and 38 deletions
|
|
@ -23,7 +23,7 @@ func MqueueFromLog(log map[string]string) ApparmorRule {
|
|||
}
|
||||
return &Mqueue{
|
||||
Qualifier: NewQualifierFromLog(log),
|
||||
Access: maskToAccess[log["requested"]],
|
||||
Access: toAccess(log["requested"]),
|
||||
Type: mqueueType,
|
||||
Label: log["label"],
|
||||
Name: log["name"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue