selinux

package
v1.4.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2016 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.1

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.1

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