mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 08:58:15 +01:00
feat(aa-log): add dummy rule struct.
This commit is contained in:
parent
68be85b5c2
commit
5b74cb665f
1 changed files with 15 additions and 0 deletions
|
@ -6,6 +6,21 @@ package aa
|
|||
|
||||
import "strings"
|
||||
|
||||
type Rule struct {
|
||||
Comment string
|
||||
NoNewPrivs bool
|
||||
FileInherit bool
|
||||
}
|
||||
|
||||
|
||||
func (r *Rule) Less(other any) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (r *Rule) Equals(other any) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Qualifier to apply extra settings to a rule
|
||||
type Qualifier struct {
|
||||
Audit bool
|
||||
|
|
Loading…
Reference in a new issue