Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var POLICY_FILES = []string{"virt_launcher"}
Functions ¶
This section is empty.
Types ¶
type ContextExecutor ¶ added in v0.39.0
type ContextExecutor struct {
// contains filtered or unexported fields
}
func NewContextExecutor ¶ added in v0.39.0
func NewContextExecutor(pid int, cmd *exec.Cmd) (*ContextExecutor, error)
func (ContextExecutor) Execute ¶ added in v0.39.0
func (ce ContextExecutor) Execute() error
type SELinux ¶
func NewSELinux ¶
type SELinuxImpl ¶
type SELinuxImpl struct { Paths []string // contains filtered or unexported fields }
func (*SELinuxImpl) InstallPolicy ¶ added in v0.21.0
func (se *SELinuxImpl) InstallPolicy(dir string) (err error)
func (*SELinuxImpl) IsPresent ¶
func (se *SELinuxImpl) IsPresent() (present bool, mode string, err error)
func (*SELinuxImpl) Mode ¶ added in v0.32.0
func (se *SELinuxImpl) Mode() string
Click to show internal directories.
Click to hide internal directories.