Handle KVM based runtimes with selinux

Signed-off-by: Michael Crosby <michael@thepasture.io>
This commit is contained in:
Michael Crosby
2020-08-26 19:18:06 -04:00
parent 56a89cda34
commit d715d00906
5 changed files with 122 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ import (
"path/filepath"
"syscall"
"time"
"github.com/opencontainers/runtime-spec/specs-go"
)
// openLogFile opens/creates a container log file.
@@ -217,3 +219,7 @@ func ensureRemoveAll(_ context.Context, dir string) error {
time.Sleep(100 * time.Millisecond)
}
}
func modifyProcessLabel(runtimeType string, spec *specs.Spec) error {
return nil
}