Documentation ¶
Overview ¶
Package sandbox offers streamlined interfaces for the sandboxing primitives from the system for snapd use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceDevMode ¶
func ForceDevMode() bool
ForceDevMode returns true if the distribution doesn't implement required security features for confinement and devmode is forced.
func MockForceDevMode ¶
func MockForceDevMode(forcedDevMode bool) (restore func())
MockForceDevMode fake the system to believe its in a distro that is in forced devmode as returned by ForceDevMode.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
notify
Package notify implements high-level notify interface to a subset of AppArmor features
|
Package notify implements high-level notify interface to a subset of AppArmor features |
notify/listener
Package listener implements a high-level interface to the apparmor notification mechanism.
|
Package listener implements a high-level interface to the apparmor notification mechanism. |
Click to show internal directories.
Click to hide internal directories.