build: add mappings to the list of directories without profile files.
This commit is contained in:
parent
5775721e55
commit
6d2147582e
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ func init() {
|
|||
}
|
||||
|
||||
func (b Userspace) Apply(opt *Option, profile string) (string, error) {
|
||||
for _, dir := range []string{"abstractions", "tunables", "local"} {
|
||||
for _, dir := range []string{"abstractions", "tunables", "local", "mappings"} {
|
||||
if ok, _ := opt.File.IsInsideDir(prebuild.RootApparmord.Join(dir)); ok {
|
||||
return profile, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue