sandbox

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 1 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