kernel

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

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.

Functions

This section is empty.

Types

type Param added in v0.14.0

type Param struct {
	Key   string
	Value string
}

Param represents a kernel system property.

func (*Param) Path added in v0.14.0

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