Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BeforeExit ¶
func BeforeExit()
Types ¶
type Enablement ¶
type Enablement uint8
const ( EnableWayland Enablement = iota EnableX EnableDBus EnablePulse EnableLength )
func (Enablement) Mask ¶
func (e Enablement) Mask() Enablements
func (Enablement) String ¶
func (e Enablement) String() string
type Enablements ¶
type Enablements uint64
func (Enablements) Has ¶
func (es Enablements) Has(e Enablement) bool
type ExitState ¶
type ExitState struct {
// contains filtered or unexported fields
}
ExitState keeps track of various changes fortify made to the system as well as other resources that need to be manually released. NOT thread safe.
func NewExit ¶
NewExit initialises a new ExitState containing basic, unchanging information about the fortify process required during cleanup
func (*ExitState) RegisterRevertPath ¶
RegisterRevertPath registers a path with ACLs added by fortify
func (*ExitState) SealEnablements ¶
func (s *ExitState) SealEnablements(e Enablements)
SealEnablements submits the child process enablements
func (*ExitState) SealStatePath ¶
SealStatePath submits filesystem path to the fortify process's state file
func (*ExitState) XcbActionComplete ¶
func (s *ExitState) XcbActionComplete()
XcbActionComplete submits xcb.ChangeHosts action completion
Click to show internal directories.
Click to hide internal directories.