Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrHandleCreate is an error when getting a handle to semanage ErrHandleCreate = errors.New("could not create handle") // ErrSELinuxDBConnect is an error to connect to the SELinux database ErrSELinuxDBConnect = errors.New("could not connect to the SELinux DB") // ErrNilHandle would happen if you initialized the Handler without // the using the `NewSemanageHandler` function or without initializing // the underlying semanage handler ErrNilHandle = errors.New("nil semanage handle") // ErrList is an error listing the SELinux modules ErrList = errors.New("cannot list") // ErrCannotRemoveModule is an error removing a SELinux module ErrCannotRemoveModule = errors.New("cannot remove module") // ErrCannotInstallModule is an error installing a SELinux module ErrCannotInstallModule = errors.New("cannot install module") // ErrCommit is an error when committing the changes to the SELinux policy ErrCommit = errors.New("cannot commit changes to policy") )
errors
Functions ¶
func NewErrCommit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.