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() {
requirements[PROFILE] = requirement{
tokFLAGS: {
"enforce", "complain", "kill", "default_allow", "unconfined",
"prompt", "audit", "mediate_deleted", "attach_disconnected",
"attach_disconneced.path=", "chroot_relative", "debug",
"interruptible", "kill", "kill.signal=",
"attach_disconneced.path=", "attach_disconnected", "audit",
"chroot_relative", "complain", "debug", "default_allow", "enforce",
"interruptible", "kill.signal=", "kill", "kill", "mediate_deleted",
"prompt", "unconfined",
},
}
}

View File

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