Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	sync.Mutex

	Releaser func(string)
	Reserver func(string)
	// contains filtered or unexported fields
}

    Store is used to store SELinux process labels

    func NewStore

    func NewStore() *Store

      NewStore creates a new SELinux process label store

      func (*Store) Release

      func (s *Store) Release(label string)

        Release un-reserves the MLS/MCS level component of the specified label, allowing it to be used by another process once labels with the same level have been released.

        func (*Store) Reserve

        func (s *Store) Reserve(label string) error

          Reserve reserves the MLS/MCS level component of the specified label and prevents multiple reserves for the same level

          Source Files