kernel

package
v0.13.0-devel Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

View Source
const (
	ConfigFeature       = "config"
	LoadedModuleFeature = "loadedmodule"
	SelinuxFeature      = "selinux"
	VersionFeature      = "version"
)
View Source
const Name = "kernel"

Name of this feature source

Variables

This section is empty.

Functions

func GetLegacyKconfig added in v0.10.0

func GetLegacyKconfig() map[string]string

func SelinuxEnabled

func SelinuxEnabled() (bool, error)

SelinuxEnabled detects if selinux has been enabled in the kernel

Types

type Config

type Config struct {
	KconfigFile string
	ConfigOpts  []string `json:"configOpts,omitempty"`
}

Configuration file options

Jump to

Keyboard shortcuts

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