kernel

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ConfigFeature        = "config"
	LoadedModuleFeature  = "loadedmodule"
	SelinuxFeature       = "selinux"
	VersionFeature       = "version"
	EnabledModuleFeature = "enabledmodule"
)
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