selinux

package
v1.2.0-alpha.2....-01cd7f3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 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

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.

Jump to

Keyboard shortcuts

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