Skip to content

Commit

Permalink
oci: don't generate seccomp rules
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <asarai@suse.de>
  • Loading branch information
cyphar committed Apr 11, 2017
1 parent 6c5ddb2 commit 4615b0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oci/config/convert/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,8 @@ func MutateRuntimeSpec(g rgen.Generator, rootfs string, image ispec.Image, manif
g.AddAnnotation(key, value)
}

// Remove all seccomp rules.
g.Spec().Linux.Seccomp = nil

return nil
}

0 comments on commit 4615b0c

Please sign in to comment.