selinux

package
v0.32.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var POLICY_FILES = []string{"base_container", "virt_launcher"}

Functions

This section is empty.

Types

type SELinux

type SELinux interface {
	InstallPolicy(dir string) (err error)
	Mode() string
}

func NewSELinux

func NewSELinux() (SELinux, bool, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL