linox

package
v0.0.0-...-12c6ca1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupportsUnprivilegedCloneNewUser

func SupportsUnprivilegedCloneNewUser() bool

SupportsUnprivilegedCloneNewUser returns true if the Linux kernel allows unprivileged users to call the clone() syscall with `CLONE_NEWUSER`. It is useful, for example to establish whether the Electron 5.0+ suid sandbox can be used, or if it needs to be disabled. cf. https://github.com/electron/electron/issues/17972

Types

This section is empty.

Jump to

Keyboard shortcuts

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