sandbox

package
v0.0.0-...-9e584df Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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