feat(aa): rename the main profile struct.

This commit is contained in:
Alexandre Pujol 2024-04-16 21:51:56 +01:00
parent 4b753210e7
commit 890275fb22
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 287 additions and 274 deletions

View file

@ -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