sandbox

package
v0.0.0-...-f890545 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 1 Imported by: 39

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL