New seccomp format

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-07-13 15:41:30 +02:00
parent 8ccac1ad4d
commit 5ff21add06
8 changed files with 1441 additions and 3406 deletions

View File

@@ -32,7 +32,7 @@ func setSeccomp(daemon *Daemon, rs *specs.Spec, c *container.Container) error {
return nil
}
if c.SeccompProfile != "" {
profile, err = seccomp.LoadProfile(c.SeccompProfile)
profile, err = seccomp.LoadProfile(c.SeccompProfile, rs)
if err != nil {
return err
}