kernel

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// Sysfs defines prefix for sysfs kernel params.
	Sysfs = "sys"
	// Sysctl defines prefix for sysctl kernel params.
	Sysctl = "proc.sys"
)

Variables

View Source
var DefaultArgs = []string{
	"init_on_alloc=1",
	"slab_nomerge=",
	"pti=on",
	"consoleblank=0",

	"nvme_core.io_timeout=4294967295",

	"printk.devkmsg=on",
	"ima_template=ima-ng",
	"ima_appraise=fix",
	"ima_hash=sha512",
}

DefaultArgs returns the Talos default kernel commandline options.

View Source
var SecureBootArgs = []string{
	"lockdown=confidentiality",
}

SecureBootArgs returns the kernel commandline options required for secure boot.

Functions

This section is empty.

Types

type Param

type Param struct {
	Key   string
	Value string
}

Param represents a kernel system property.

func (*Param) Path

func (prop *Param) Path() string

Path returns the path to the systctl file under /proc/sys or /sys.

Jump to

Keyboard shortcuts

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