package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Functions

ApplyFileContexts restores the file contexts in specified list of paths.
Bootstrap configures SELinux on the node.
IsSystemSupported returns true if the system specified with given ID is supported.
IsValidLabel returns whether the specified label is valid.
MustNewContext parses the specified label as SELinux context.
Unload removes the policy modules and local modifications.
WriteBootstrapScript writes the bootstrap script to the specified writer.

# Variables

GravityInstallerProcessContext specifies the expected SELinux process domain.

# Structs

BootstrapConfig defines the SELinux bootstrap configuration.
DistributionNotSupportedError describes an error configuring SELinux on an distribution that we do not support SELinux on.
Path describes a local file context change for a directory.
UpdateConfig describes the additional local configuration changes.

# Type aliases

Paths is a list of paths.