Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2025-3543: WITHDRAWN: Libcontainer is affected by capabilities elevation in github.com/opencontainers/runc

kernelversion

package
v1.3.0Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License:Apache-2.0Imports:4Imported by:2

Details

Repository

github.com/opencontainers/runc

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcGreaterEqualThan

func GreaterEqualThan(minVersionKernelVersion) (bool,error)

GreaterEqualThan checks if the host's kernel version is greater than, orequal to the given kernel version v. Only "kernel version" and "major revision"can be specified (e.g., "3.12") and will be taken into account, which meansthat 3.12.25-gentoo and 3.12-1-amd64 are considered equal (kernel: 3, major: 12).

Types

typeKernelVersion

type KernelVersion struct {Kerneluint64// Version of the Kernel (i.e., the "4" in "4.1.2-generic")Majoruint64// Major revision of the Kernel (i.e., the "1" in "4.1.2-generic")}

KernelVersion holds information about the kernel.

func (*KernelVersion)String

func (k *KernelVersion) String()string

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp