feat(aa): improve rule creation from log.
This commit is contained in:
parent
13de4182c8
commit
c7485326e8
15 changed files with 62 additions and 57 deletions
|
|
@ -10,7 +10,7 @@ type ChangeProfile struct {
|
|||
ProfileName string
|
||||
}
|
||||
|
||||
func ChangeProfileFromLog(log map[string]string, noNewPrivs, fileInherit bool) ApparmorRule {
|
||||
func ChangeProfileFromLog(log map[string]string) ApparmorRule {
|
||||
return &ChangeProfile{
|
||||
ExecMode: log["mode"],
|
||||
Exec: log["exec"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue