feat(aa): rename the main profile struct.
This commit is contained in:
parent
4b753210e7
commit
890275fb22
11 changed files with 287 additions and 274 deletions
|
|
@ -9,6 +9,14 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
// ApparmorRule generic interface
|
||||
type ApparmorRule interface {
|
||||
Less(other any) bool
|
||||
Equals(other any) bool
|
||||
}
|
||||
|
||||
type Rules []ApparmorRule
|
||||
|
||||
type Rule struct {
|
||||
Comment string
|
||||
NoNewPrivs bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue