sandbox, ctrs: fixup seccomp for 1.8
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
c70198617f
commit
7d7024999b
10 changed files with 290 additions and 394 deletions
|
@ -42,13 +42,14 @@ type Container struct {
|
|||
// this is the /var/run/storage/... directory, erased on reboot
|
||||
bundlePath string
|
||||
// this is the /var/lib/storage/... directory
|
||||
dir string
|
||||
stopSignal string
|
||||
imageName string
|
||||
imageRef string
|
||||
volumes []ContainerVolume
|
||||
mountPoint string
|
||||
spec *specs.Spec
|
||||
dir string
|
||||
stopSignal string
|
||||
imageName string
|
||||
imageRef string
|
||||
volumes []ContainerVolume
|
||||
mountPoint string
|
||||
seccompProfilePath string
|
||||
spec *specs.Spec
|
||||
}
|
||||
|
||||
// ContainerVolume is a bind mount for the container.
|
||||
|
@ -156,6 +157,16 @@ func (c *Container) ID() string {
|
|||
return c.id
|
||||
}
|
||||
|
||||
// SetSeccompProfilePath sets the seccomp profile path
|
||||
func (c *Container) SetSeccompProfilePath(pp string) {
|
||||
c.seccompProfilePath = pp
|
||||
}
|
||||
|
||||
// SeccompProfilePath returns the seccomp profile path
|
||||
func (c *Container) SeccompProfilePath() string {
|
||||
return c.seccompProfilePath
|
||||
}
|
||||
|
||||
// BundlePath returns the bundlePath of the container.
|
||||
func (c *Container) BundlePath() string {
|
||||
return c.bundlePath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue