feat(aa): add a mount flag.
This commit is contained in:
parent
c07c5838e4
commit
f717ea7383
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ func init() {
|
|||
"ro", "rw", "acl", "async", "atime", "bind", "dev", "diratime",
|
||||
"dirsync", "exec", "iversion", "loud", "mand", "move", "noacl",
|
||||
"noatime", "nodev", "nodiratime", "noexec", "noiversion", "nomand",
|
||||
"norelatime", "nosuid", "nouser", "private", "rbind", "relatime",
|
||||
"norelatime", "nosuid", "nosymfollow", "nouser", "private", "rbind", "relatime",
|
||||
"remount", "rprivate", "rshared", "rslave", "runbindable", "shared",
|
||||
"silent", "slave", "strictatime", "suid", "sync", "unbindable",
|
||||
"user", "verbose",
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ func toValues(kind Kind, key string, input string) ([]string, error) {
|
|||
continue
|
||||
}
|
||||
if !slices.Contains(req, res[idx]) {
|
||||
return nil, fmt.Errorf("unrecognized %s: %s", key, res[idx])
|
||||
return nil, fmt.Errorf("unrecognized %s for rule %s: %s", key, kind, res[idx])
|
||||
}
|
||||
}
|
||||
slices.SortFunc(res, func(i, j string) int {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue