feat(aa): add requirements map.
This commit is contained in:
parent
e38f5b4637
commit
744c745394
14 changed files with 163 additions and 10 deletions
|
|
@ -8,6 +8,16 @@ import "slices"
|
|||
|
||||
const tokUNIX = "unix"
|
||||
|
||||
func init() {
|
||||
requirements[tokUNIX] = requirement{
|
||||
"access": []string{
|
||||
"create", "bind", "listen", "accept", "connect", "shutdown",
|
||||
"getattr", "setattr", "getopt", "setopt", "send", "receive",
|
||||
"r", "w", "rw",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
type Unix struct {
|
||||
RuleBase
|
||||
Qualifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue