Movatterモバイル変換


[0]ホーム

URL:


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

system

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:10Imported by:2,499

Details

Repository

github.com/opencontainers/runc

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcClearKeepCaps

func ClearKeepCaps()error

funcClearRlimitNofileCacheadded inv1.1.13

func ClearRlimitNofileCache(lim *syscall.Rlimit)

ClearRlimitNofileCache clears go runtime's nofile rlimit cache. The argumentis process RLIMIT_NOFILE values. Relies on go.dev/cl/588076.

funcCopyadded inv1.2.0

func Copy(dstio.Writer, srcio.Reader) (copiedint64, errerror)

Copy is like io.Copy except it uses sendfile(2) if the source and sink areboth (*os.File) as an optimisation to make copies faster.

funcExecadded inv1.0.1

func Exec(cmdstring, args []string, env []string)error

funcExecutableMemfdadded inv1.2.0

func ExecutableMemfd(commentstring, flagsint) (*os.File,error)

funcGetSubreaperadded inv1.0.0

func GetSubreaper() (int,error)

GetSubreaper returns the subreaper setting for the calling process

funcSetKeepCaps

func SetKeepCaps()error

funcSetLinuxPersonalityadded inv1.2.0

func SetLinuxPersonality(personalityint)error

SetLinuxPersonality sets the Linux execution personality. For more information see the personality syscall documentation.checkout getLinuxPersonalityFromStr() from libcontainer/specconv/spec_linux.go for type conversion.

funcSetParentDeathSignal

func SetParentDeathSignal(siguintptr)error

funcSetSubreaperadded inv0.1.0

func SetSubreaper(iint)error

SetSubreaper sets the value i as the subreaper setting for the calling process

funcSetctty

func Setctty()error

Types

typeParentDeathSignal

type ParentDeathSignalint

funcGetParentDeathSignal

func GetParentDeathSignal() (ParentDeathSignal,error)

func (ParentDeathSignal)Restore

func (pParentDeathSignal) Restore()error

func (ParentDeathSignal)Set

typeStat_tadded inv1.0.0

type Stat_t struct {// Name is the command run by the process.Namestring// State is the state of the process.StateState// StartTime is the number of clock ticks after system boot (since// Linux 2.6).StartTimeuint64}

Stat_t represents the information from /proc/[pid]/stat, asdescribed in proc(5) with names based on the /proc/[pid]/statusfields.

funcStatadded inv1.0.0

func Stat(pidint) (statStat_t, errerror)

Stat returns a Stat_t instance for the specified process.

typeStateadded inv1.0.0

type Staterune

State is the status of a process.

const (DeadState = 'X'DiskSleepState = 'D'RunningState = 'R'SleepingState = 'S'StoppedState = 'T'TracingStopState = 't'ZombieState = 'Z'ParkedState = 'P'IdleState = 'I')

func (State)Stringadded inv1.0.0

func (sState) String()string

String forms of the state from proc(5)'s documentation for/proc/[pid]/status' "State" field.

Source Files

View all Source files

Directories

PathSynopsis

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