kernel

package
v0.0.0-...-4e6bda9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package kernel contains helper functions for working with Linux kernel (building kernel/image).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(dir, compiler, config string) error

func CompilerIdentity

func CompilerIdentity(compiler string) (string, error)

func CreateImage

func CreateImage(kernelDir, userspaceDir, cmdlineFile, sysctlFile, image, sshkey string) error

CreateImage creates a disk image that is suitable for syzkaller. Kernel is taken from kernelDir, userspace system is taken from userspaceDir. If cmdlineFile is not empty, contents of the file are appended to the kernel command line. If sysctlFile is not empty, contents of the file are appended to the image /etc/sysctl.conf. Produces image and root ssh key in the specified files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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