package selinux
import "k8s.io/kubernetes/pkg/util/selinux"
Package selinux contains selinux utility functions.
Index ¶
Types ¶
type SelinuxContextRunner ¶
type SelinuxContextRunner interface { SetContext(dir, context string) error Getfilecon(path string) (string, error) }
SelinuxContextRunner knows how to chcon of a directory and how to get the selinux context of a file.
func NewSelinuxContextRunner ¶
func NewSelinuxContextRunner() SelinuxContextRunner
NewSelinuxContextRunner returns a new chconRunner.
Source Files ¶
doc.go selinux.go selinux_unsupported.go
Tools for package owners.