Handle KVM based runtimes with selinux
Signed-off-by: Michael Crosby <michael@thepasture.io>
This commit is contained in:
		| @@ -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 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Crosby
					Michael Crosby