package label
import "github.com/containerd/containerd/pkg/cri/store/label"
Index ¶
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 ¶
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 ¶
Reserve reserves the MLS/MCS level component of the specified label and prevents multiple reserves for the same level
Source Files ¶
- Version
- v1.5.16
- Published
- Dec 7, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 25 minutes ago –
Tools for package owners.