Versions in this module Expand all Collapse all v0 v0.4.0 Sep 22, 2022 v0.3.0 Apr 26, 2022 Changes in this version + var ErrCannotInstallModule = errors.New("cannot install module") + var ErrCannotRemoveModule = errors.New("cannot remove module") + var ErrCommit = errors.New("cannot commit changes to policy") + var ErrHandleCreate = errors.New("could not create handle") + var ErrList = errors.New("cannot list") + var ErrNilHandle = errors.New("nil semanage handle") + var ErrSELinuxDBConnect = errors.New("could not connect to the SELinux DB") + func NewErrCannotInstallModule(mName string) error + func NewErrCannotRemoveModule(mName string) error + func NewErrCommit(origErrVal int, msg string) error + type Handler interface + Close func() error + Commit func() error + Install func(string) error + List func() ([]string, error) + Remove func(string) error + SetAutoCommit func(bool)