New seccomp format

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 5ff21add06ce0e502b41a194077daad311901996
Component: engine
This commit is contained in:
Antonio Murdaca
2016-07-13 15:41:30 +02:00
parent a03ebc79ee
commit 009555a4b2
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
}