feat(aa): improve internal sorting order.

This commit is contained in:
Alexandre Pujol 2024-06-25 20:11:24 +01:00
parent 7c006dee0a
commit 732134bd96
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 9 additions and 9 deletions

View file

@ -20,10 +20,10 @@ const (
func init() { func init() {
requirements[PROFILE] = requirement{ requirements[PROFILE] = requirement{
tokFLAGS: { tokFLAGS: {
"enforce", "complain", "kill", "default_allow", "unconfined", "attach_disconneced.path=", "attach_disconnected", "audit",
"prompt", "audit", "mediate_deleted", "attach_disconnected", "chroot_relative", "complain", "debug", "default_allow", "enforce",
"attach_disconneced.path=", "chroot_relative", "debug", "interruptible", "kill.signal=", "kill", "kill", "mediate_deleted",
"interruptible", "kill", "kill.signal=", "prompt", "unconfined",
}, },
} }
} }

View file

@ -16,11 +16,11 @@ func init() {
"r", "w", "rw", "read", "write", "send", "receive", "r", "w", "rw", "read", "write", "send", "receive",
}, },
"set": { "set": {
"hup", "int", "quit", "ill", "trap", "abrt", "bus", "fpe", "abrt", "alrm", "bus", "chld", "cont", "emt", "exists", "fpe", "hup",
"kill", "usr1", "segv", "usr2", "pipe", "alrm", "term", "stkflt", "ill", "int", "io", "kill", "pipe", "prof", "pwr", "quit", "segv",
"chld", "cont", "stop", "stp", "ttin", "ttou", "urg", "xcpu", "stkflt", "stop", "stp", "sys", "term", "trap", "ttin", "ttou",
"xfsz", "vtalrm", "prof", "winch", "io", "pwr", "sys", "emt", "urg", "usr1", "usr2", "vtalrm", "winch", "xcpu", "xfsz",
"exists", "rtmin+0", "rtmin+1", "rtmin+2", "rtmin+3", "rtmin+4", "rtmin+0", "rtmin+1", "rtmin+2", "rtmin+3", "rtmin+4",
"rtmin+5", "rtmin+6", "rtmin+7", "rtmin+8", "rtmin+9", "rtmin+10", "rtmin+5", "rtmin+6", "rtmin+7", "rtmin+8", "rtmin+9", "rtmin+10",
"rtmin+11", "rtmin+12", "rtmin+13", "rtmin+14", "rtmin+15", "rtmin+11", "rtmin+12", "rtmin+13", "rtmin+14", "rtmin+15",
"rtmin+16", "rtmin+17", "rtmin+18", "rtmin+19", "rtmin+20", "rtmin+16", "rtmin+17", "rtmin+18", "rtmin+19", "rtmin+20",