feat(aa): rename the main profile struct.
This commit is contained in:
parent
4b753210e7
commit
890275fb22
11 changed files with 287 additions and 274 deletions
|
|
@ -36,7 +36,7 @@ func (d Exec) Apply(opt *Option, profileRaw string) string {
|
|||
delete(opt.ArgMap, t)
|
||||
}
|
||||
|
||||
profile := &aa.AppArmorProfile{}
|
||||
profile := &aa.AppArmorProfileFile{}
|
||||
p := profile.GetDefaultProfile()
|
||||
for name := range opt.ArgMap {
|
||||
profiletoTransition := util.MustReadFile(cfg.RootApparmord.Join(name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue