selinux

package
v1.4.9-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package selinux contains selinux utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SelinuxContextRunner added in v1.3.0

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 added in v1.3.0

func NewSelinuxContextRunner() SelinuxContextRunner

NewSelinuxContextRunner returns a new chconRunner.

Jump to

Keyboard shortcuts

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