mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +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"
|
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
|
// Qualifier to apply extra settings to a rule
|
||||||
type Qualifier struct {
|
type Qualifier struct {
|
||||||
Audit bool
|
Audit bool
|
||||||
|
|
Loading…
Reference in a new issue