criu_core

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SeccompMode_name = map[int32]string{
		0: "disabled",
		1: "strict",
		2: "filter",
	}
	SeccompMode_value = map[string]int32{
		"disabled": 0,
		"strict":   1,
		"filter":   2,
	}
)

Enum value maps for SeccompMode.

View Source
var (
	CoreEntryMarch_name = map[int32]string{
		0: "UNKNOWN",
		1: "X86_64",
		2: "ARM",
		3: "AARCH64",
		4: "PPC64",
		5: "S390",
		6: "MIPS",
	}
	CoreEntryMarch_value = map[string]int32{
		"UNKNOWN": 0,
		"X86_64":  1,
		"ARM":     2,
		"AARCH64": 3,
		"PPC64":   4,
		"S390":    5,
		"MIPS":    6,
	}
)

Enum value maps for CoreEntryMarch.

View Source
var File_criu_core_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CoreEntry

type CoreEntry struct {
	Mtype      *CoreEntryMarch                 `protobuf:"varint,1,req,name=mtype,enum=CoreEntryMarch" json:"mtype,omitempty"`
	ThreadInfo *core_x86.ThreadInfoX86         `protobuf:"bytes,2,opt,name=thread_info,json=threadInfo" json:"thread_info,omitempty"`
	TiArm      *core_arm.ThreadInfoArm         `protobuf:"bytes,6,opt,name=ti_arm,json=tiArm" json:"ti_arm,omitempty"`
	TiAarch64  *core_aarch64.ThreadInfoAarch64 `protobuf:"bytes,8,opt,name=ti_aarch64,json=tiAarch64" json:"ti_aarch64,omitempty"`
	TiPpc64    *core_ppc64.ThreadInfoPpc64     `protobuf:"bytes,9,opt,name=ti_ppc64,json=tiPpc64" json:"ti_ppc64,omitempty"`
	TiS390     *core_s390.ThreadInfoS390       `protobuf:"bytes,10,opt,name=ti_s390,json=tiS390" json:"ti_s390,omitempty"`
	TiMips     *core_mips.ThreadInfoMips       `protobuf:"bytes,11,opt,name=ti_mips,json=tiMips" json:"ti_mips,omitempty"`
	Tc         *TaskCoreEntry                  `protobuf:"bytes,3,opt,name=tc" json:"tc,omitempty"`
	Ids        *TaskKobjIdsEntry               `protobuf:"bytes,4,opt,name=ids" json:"ids,omitempty"`
	ThreadCore *ThreadCoreEntry                `protobuf:"bytes,5,opt,name=thread_core,json=threadCore" json:"thread_core,omitempty"`
	// contains filtered or unexported fields
}

func (*CoreEntry) Descriptor deprecated

func (*CoreEntry) Descriptor() ([]byte, []int)

Deprecated: Use CoreEntry.ProtoReflect.Descriptor instead.

func (*CoreEntry) GetIds

func (x *CoreEntry) GetIds() *TaskKobjIdsEntry

func (*CoreEntry) GetMtype

func (x *CoreEntry) GetMtype() CoreEntryMarch

func (*CoreEntry) GetTc

func (x *CoreEntry) GetTc() *TaskCoreEntry

func (*CoreEntry) GetThreadCore

func (x *CoreEntry) GetThreadCore() *ThreadCoreEntry

func (*CoreEntry) GetThreadInfo

func (x *CoreEntry) GetThreadInfo() *core_x86.ThreadInfoX86

func (*CoreEntry) GetTiAarch64

func (x *CoreEntry) GetTiAarch64() *core_aarch64.ThreadInfoAarch64

func (*CoreEntry) GetTiArm

func (x *CoreEntry) GetTiArm() *core_arm.ThreadInfoArm

func (*CoreEntry) GetTiMips

func (x *CoreEntry) GetTiMips() *core_mips.ThreadInfoMips

func (*CoreEntry) GetTiPpc64

func (x *CoreEntry) GetTiPpc64() *core_ppc64.ThreadInfoPpc64

func (*CoreEntry) GetTiS390

func (x *CoreEntry) GetTiS390() *core_s390.ThreadInfoS390

func (*CoreEntry) ProtoMessage

func (*CoreEntry) ProtoMessage()

func (*CoreEntry) ProtoReflect

func (x *CoreEntry) ProtoReflect() protoreflect.Message

func (*CoreEntry) Reset

func (x *CoreEntry) Reset()

func (*CoreEntry) String

func (x *CoreEntry) String() string

type CoreEntryMarch

type CoreEntryMarch int32
const (
	CoreEntry_UNKNOWN CoreEntryMarch = 0
	CoreEntry_X86_64  CoreEntryMarch = 1
	CoreEntry_ARM     CoreEntryMarch = 2
	CoreEntry_AARCH64 CoreEntryMarch = 3
	CoreEntry_PPC64   CoreEntryMarch = 4
	CoreEntry_S390    CoreEntryMarch = 5
	CoreEntry_MIPS    CoreEntryMarch = 6
)

func (CoreEntryMarch) Descriptor

func (CoreEntryMarch) Enum

func (x CoreEntryMarch) Enum() *CoreEntryMarch

func (CoreEntryMarch) EnumDescriptor deprecated

func (CoreEntryMarch) EnumDescriptor() ([]byte, []int)

Deprecated: Use CoreEntryMarch.Descriptor instead.

func (CoreEntryMarch) Number

func (CoreEntryMarch) String

func (x CoreEntryMarch) String() string

func (CoreEntryMarch) Type

func (*CoreEntryMarch) UnmarshalJSON deprecated

func (x *CoreEntryMarch) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SeccompMode

type SeccompMode int32

These match the SECCOMP_MODE_* flags from <linux/seccomp.h>.

const (
	SeccompMode_disabled SeccompMode = 0
	SeccompMode_strict   SeccompMode = 1
	SeccompMode_filter   SeccompMode = 2
)

func (SeccompMode) Descriptor

func (SeccompMode) Enum

func (x SeccompMode) Enum() *SeccompMode

func (SeccompMode) EnumDescriptor deprecated

func (SeccompMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SeccompMode.Descriptor instead.

func (SeccompMode) Number

func (x SeccompMode) Number() protoreflect.EnumNumber

func (SeccompMode) String

func (x SeccompMode) String() string

func (SeccompMode) Type

func (*SeccompMode) UnmarshalJSON deprecated

func (x *SeccompMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TaskCoreEntry

type TaskCoreEntry struct {
	TaskState   *uint32                `protobuf:"varint,1,req,name=task_state,json=taskState" json:"task_state,omitempty"`
	ExitCode    *uint32                `protobuf:"varint,2,req,name=exit_code,json=exitCode" json:"exit_code,omitempty"`
	Personality *uint32                `protobuf:"varint,3,req,name=personality" json:"personality,omitempty"`
	Flags       *uint32                `protobuf:"varint,4,req,name=flags" json:"flags,omitempty"`
	BlkSigset   *uint64                `protobuf:"varint,5,req,name=blk_sigset,json=blkSigset" json:"blk_sigset,omitempty"`
	Comm        *string                `protobuf:"bytes,6,req,name=comm" json:"comm,omitempty"`
	Timers      *timer.TaskTimersEntry `protobuf:"bytes,7,opt,name=timers" json:"timers,omitempty"`
	Rlimits     *TaskRlimitsEntry      `protobuf:"bytes,8,opt,name=rlimits" json:"rlimits,omitempty"`
	// This is deprecated, should be per-thread
	CgSet    *uint32                   `protobuf:"varint,9,opt,name=cg_set,json=cgSet" json:"cg_set,omitempty"`
	SignalsS *siginfo.SignalQueueEntry `protobuf:"bytes,10,opt,name=signals_s,json=signalsS" json:"signals_s,omitempty"`
	// These two are deprecated, should be per-thread
	OldSeccompMode   *SeccompMode       `protobuf:"varint,11,opt,name=old_seccomp_mode,json=oldSeccompMode,enum=SeccompMode" json:"old_seccomp_mode,omitempty"`
	OldSeccompFilter *uint32            `protobuf:"varint,12,opt,name=old_seccomp_filter,json=oldSeccompFilter" json:"old_seccomp_filter,omitempty"`
	Loginuid         *uint32            `protobuf:"varint,13,opt,name=loginuid" json:"loginuid,omitempty"`
	OomScoreAdj      *int32             `protobuf:"varint,14,opt,name=oom_score_adj,json=oomScoreAdj" json:"oom_score_adj,omitempty"`
	Sigactions       []*criu_sa.SaEntry `protobuf:"bytes,15,rep,name=sigactions" json:"sigactions,omitempty"`
	ChildSubreaper   *bool              `protobuf:"varint,18,opt,name=child_subreaper,json=childSubreaper" json:"child_subreaper,omitempty"`
	// Reserved for container relative start time
	// optional uint64		start_time	= 19;
	BlkSigsetExtended *uint64 `protobuf:"varint,20,opt,name=blk_sigset_extended,json=blkSigsetExtended" json:"blk_sigset_extended,omitempty"`
	StopSigno         *uint32 `protobuf:"varint,21,opt,name=stop_signo,json=stopSigno" json:"stop_signo,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskCoreEntry) Descriptor deprecated

func (*TaskCoreEntry) Descriptor() ([]byte, []int)

Deprecated: Use TaskCoreEntry.ProtoReflect.Descriptor instead.

func (*TaskCoreEntry) GetBlkSigset

func (x *TaskCoreEntry) GetBlkSigset() uint64

func (*TaskCoreEntry) GetBlkSigsetExtended

func (x *TaskCoreEntry) GetBlkSigsetExtended() uint64

func (*TaskCoreEntry) GetCgSet

func (x *TaskCoreEntry) GetCgSet() uint32

func (*TaskCoreEntry) GetChildSubreaper

func (x *TaskCoreEntry) GetChildSubreaper() bool

func (*TaskCoreEntry) GetComm

func (x *TaskCoreEntry) GetComm() string

func (*TaskCoreEntry) GetExitCode

func (x *TaskCoreEntry) GetExitCode() uint32

func (*TaskCoreEntry) GetFlags

func (x *TaskCoreEntry) GetFlags() uint32

func (*TaskCoreEntry) GetLoginuid

func (x *TaskCoreEntry) GetLoginuid() uint32

func (*TaskCoreEntry) GetOldSeccompFilter

func (x *TaskCoreEntry) GetOldSeccompFilter() uint32

func (*TaskCoreEntry) GetOldSeccompMode

func (x *TaskCoreEntry) GetOldSeccompMode() SeccompMode

func (*TaskCoreEntry) GetOomScoreAdj

func (x *TaskCoreEntry) GetOomScoreAdj() int32

func (*TaskCoreEntry) GetPersonality

func (x *TaskCoreEntry) GetPersonality() uint32

func (*TaskCoreEntry) GetRlimits

func (x *TaskCoreEntry) GetRlimits() *TaskRlimitsEntry

func (*TaskCoreEntry) GetSigactions

func (x *TaskCoreEntry) GetSigactions() []*criu_sa.SaEntry

func (*TaskCoreEntry) GetSignalsS

func (x *TaskCoreEntry) GetSignalsS() *siginfo.SignalQueueEntry

func (*TaskCoreEntry) GetStopSigno

func (x *TaskCoreEntry) GetStopSigno() uint32

func (*TaskCoreEntry) GetTaskState

func (x *TaskCoreEntry) GetTaskState() uint32

func (*TaskCoreEntry) GetTimers

func (x *TaskCoreEntry) GetTimers() *timer.TaskTimersEntry

func (*TaskCoreEntry) ProtoMessage

func (*TaskCoreEntry) ProtoMessage()

func (*TaskCoreEntry) ProtoReflect

func (x *TaskCoreEntry) ProtoReflect() protoreflect.Message

func (*TaskCoreEntry) Reset

func (x *TaskCoreEntry) Reset()

func (*TaskCoreEntry) String

func (x *TaskCoreEntry) String() string

type TaskKobjIdsEntry

type TaskKobjIdsEntry struct {
	VmId       *uint32 `protobuf:"varint,1,req,name=vm_id,json=vmId" json:"vm_id,omitempty"`
	FilesId    *uint32 `protobuf:"varint,2,req,name=files_id,json=filesId" json:"files_id,omitempty"`
	FsId       *uint32 `protobuf:"varint,3,req,name=fs_id,json=fsId" json:"fs_id,omitempty"`
	SighandId  *uint32 `protobuf:"varint,4,req,name=sighand_id,json=sighandId" json:"sighand_id,omitempty"`
	PidNsId    *uint32 `protobuf:"varint,5,opt,name=pid_ns_id,json=pidNsId" json:"pid_ns_id,omitempty"`
	NetNsId    *uint32 `protobuf:"varint,6,opt,name=net_ns_id,json=netNsId" json:"net_ns_id,omitempty"`
	IpcNsId    *uint32 `protobuf:"varint,7,opt,name=ipc_ns_id,json=ipcNsId" json:"ipc_ns_id,omitempty"`
	UtsNsId    *uint32 `protobuf:"varint,8,opt,name=uts_ns_id,json=utsNsId" json:"uts_ns_id,omitempty"`
	MntNsId    *uint32 `protobuf:"varint,9,opt,name=mnt_ns_id,json=mntNsId" json:"mnt_ns_id,omitempty"`
	UserNsId   *uint32 `protobuf:"varint,10,opt,name=user_ns_id,json=userNsId" json:"user_ns_id,omitempty"`
	CgroupNsId *uint32 `protobuf:"varint,11,opt,name=cgroup_ns_id,json=cgroupNsId" json:"cgroup_ns_id,omitempty"`
	TimeNsId   *uint32 `protobuf:"varint,12,opt,name=time_ns_id,json=timeNsId" json:"time_ns_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskKobjIdsEntry) Descriptor deprecated

func (*TaskKobjIdsEntry) Descriptor() ([]byte, []int)

Deprecated: Use TaskKobjIdsEntry.ProtoReflect.Descriptor instead.

func (*TaskKobjIdsEntry) GetCgroupNsId

func (x *TaskKobjIdsEntry) GetCgroupNsId() uint32

func (*TaskKobjIdsEntry) GetFilesId

func (x *TaskKobjIdsEntry) GetFilesId() uint32

func (*TaskKobjIdsEntry) GetFsId

func (x *TaskKobjIdsEntry) GetFsId() uint32

func (*TaskKobjIdsEntry) GetIpcNsId

func (x *TaskKobjIdsEntry) GetIpcNsId() uint32

func (*TaskKobjIdsEntry) GetMntNsId

func (x *TaskKobjIdsEntry) GetMntNsId() uint32

func (*TaskKobjIdsEntry) GetNetNsId

func (x *TaskKobjIdsEntry) GetNetNsId() uint32

func (*TaskKobjIdsEntry) GetPidNsId

func (x *TaskKobjIdsEntry) GetPidNsId() uint32

func (*TaskKobjIdsEntry) GetSighandId

func (x *TaskKobjIdsEntry) GetSighandId() uint32

func (*TaskKobjIdsEntry) GetTimeNsId

func (x *TaskKobjIdsEntry) GetTimeNsId() uint32

func (*TaskKobjIdsEntry) GetUserNsId

func (x *TaskKobjIdsEntry) GetUserNsId() uint32

func (*TaskKobjIdsEntry) GetUtsNsId

func (x *TaskKobjIdsEntry) GetUtsNsId() uint32

func (*TaskKobjIdsEntry) GetVmId

func (x *TaskKobjIdsEntry) GetVmId() uint32

func (*TaskKobjIdsEntry) ProtoMessage

func (*TaskKobjIdsEntry) ProtoMessage()

func (*TaskKobjIdsEntry) ProtoReflect

func (x *TaskKobjIdsEntry) ProtoReflect() protoreflect.Message

func (*TaskKobjIdsEntry) Reset

func (x *TaskKobjIdsEntry) Reset()

func (*TaskKobjIdsEntry) String

func (x *TaskKobjIdsEntry) String() string

type TaskRlimitsEntry

type TaskRlimitsEntry struct {
	Rlimits []*rlimit.RlimitEntry `protobuf:"bytes,1,rep,name=rlimits" json:"rlimits,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskRlimitsEntry) Descriptor deprecated

func (*TaskRlimitsEntry) Descriptor() ([]byte, []int)

Deprecated: Use TaskRlimitsEntry.ProtoReflect.Descriptor instead.

func (*TaskRlimitsEntry) GetRlimits

func (x *TaskRlimitsEntry) GetRlimits() []*rlimit.RlimitEntry

func (*TaskRlimitsEntry) ProtoMessage

func (*TaskRlimitsEntry) ProtoMessage()

func (*TaskRlimitsEntry) ProtoReflect

func (x *TaskRlimitsEntry) ProtoReflect() protoreflect.Message

func (*TaskRlimitsEntry) Reset

func (x *TaskRlimitsEntry) Reset()

func (*TaskRlimitsEntry) String

func (x *TaskRlimitsEntry) String() string

type ThreadCoreEntry

type ThreadCoreEntry struct {
	FutexRla          *uint64                   `protobuf:"varint,1,req,name=futex_rla,json=futexRla" json:"futex_rla,omitempty"`
	FutexRlaLen       *uint32                   `protobuf:"varint,2,req,name=futex_rla_len,json=futexRlaLen" json:"futex_rla_len,omitempty"`
	SchedNice         *int32                    `protobuf:"zigzag32,3,opt,name=sched_nice,json=schedNice" json:"sched_nice,omitempty"`
	SchedPolicy       *uint32                   `protobuf:"varint,4,opt,name=sched_policy,json=schedPolicy" json:"sched_policy,omitempty"`
	SchedPrio         *uint32                   `protobuf:"varint,5,opt,name=sched_prio,json=schedPrio" json:"sched_prio,omitempty"`
	BlkSigset         *uint64                   `protobuf:"varint,6,opt,name=blk_sigset,json=blkSigset" json:"blk_sigset,omitempty"`
	Sas               *ThreadSasEntry           `protobuf:"bytes,7,opt,name=sas" json:"sas,omitempty"`
	PdeathSig         *uint32                   `protobuf:"varint,8,opt,name=pdeath_sig,json=pdeathSig" json:"pdeath_sig,omitempty"`
	SignalsP          *siginfo.SignalQueueEntry `protobuf:"bytes,9,opt,name=signals_p,json=signalsP" json:"signals_p,omitempty"`
	Creds             *creds.CredsEntry         `protobuf:"bytes,10,opt,name=creds" json:"creds,omitempty"`
	SeccompMode       *SeccompMode              `protobuf:"varint,11,opt,name=seccomp_mode,json=seccompMode,enum=SeccompMode" json:"seccomp_mode,omitempty"`
	SeccompFilter     *uint32                   `protobuf:"varint,12,opt,name=seccomp_filter,json=seccompFilter" json:"seccomp_filter,omitempty"`
	Comm              *string                   `protobuf:"bytes,13,opt,name=comm" json:"comm,omitempty"`
	BlkSigsetExtended *uint64                   `protobuf:"varint,14,opt,name=blk_sigset_extended,json=blkSigsetExtended" json:"blk_sigset_extended,omitempty"`
	RseqEntry         *rseq.RseqEntry           `protobuf:"bytes,15,opt,name=rseq_entry,json=rseqEntry" json:"rseq_entry,omitempty"`
	CgSet             *uint32                   `protobuf:"varint,16,opt,name=cg_set,json=cgSet" json:"cg_set,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadCoreEntry) Descriptor deprecated

func (*ThreadCoreEntry) Descriptor() ([]byte, []int)

Deprecated: Use ThreadCoreEntry.ProtoReflect.Descriptor instead.

func (*ThreadCoreEntry) GetBlkSigset

func (x *ThreadCoreEntry) GetBlkSigset() uint64

func (*ThreadCoreEntry) GetBlkSigsetExtended

func (x *ThreadCoreEntry) GetBlkSigsetExtended() uint64

func (*ThreadCoreEntry) GetCgSet

func (x *ThreadCoreEntry) GetCgSet() uint32

func (*ThreadCoreEntry) GetComm

func (x *ThreadCoreEntry) GetComm() string

func (*ThreadCoreEntry) GetCreds

func (x *ThreadCoreEntry) GetCreds() *creds.CredsEntry

func (*ThreadCoreEntry) GetFutexRla

func (x *ThreadCoreEntry) GetFutexRla() uint64

func (*ThreadCoreEntry) GetFutexRlaLen

func (x *ThreadCoreEntry) GetFutexRlaLen() uint32

func (*ThreadCoreEntry) GetPdeathSig

func (x *ThreadCoreEntry) GetPdeathSig() uint32

func (*ThreadCoreEntry) GetRseqEntry

func (x *ThreadCoreEntry) GetRseqEntry() *rseq.RseqEntry

func (*ThreadCoreEntry) GetSas

func (x *ThreadCoreEntry) GetSas() *ThreadSasEntry

func (*ThreadCoreEntry) GetSchedNice

func (x *ThreadCoreEntry) GetSchedNice() int32

func (*ThreadCoreEntry) GetSchedPolicy

func (x *ThreadCoreEntry) GetSchedPolicy() uint32

func (*ThreadCoreEntry) GetSchedPrio

func (x *ThreadCoreEntry) GetSchedPrio() uint32

func (*ThreadCoreEntry) GetSeccompFilter

func (x *ThreadCoreEntry) GetSeccompFilter() uint32

func (*ThreadCoreEntry) GetSeccompMode

func (x *ThreadCoreEntry) GetSeccompMode() SeccompMode

func (*ThreadCoreEntry) GetSignalsP

func (x *ThreadCoreEntry) GetSignalsP() *siginfo.SignalQueueEntry

func (*ThreadCoreEntry) ProtoMessage

func (*ThreadCoreEntry) ProtoMessage()

func (*ThreadCoreEntry) ProtoReflect

func (x *ThreadCoreEntry) ProtoReflect() protoreflect.Message

func (*ThreadCoreEntry) Reset

func (x *ThreadCoreEntry) Reset()

func (*ThreadCoreEntry) String

func (x *ThreadCoreEntry) String() string

type ThreadSasEntry

type ThreadSasEntry struct {
	SsSp    *uint64 `protobuf:"varint,1,req,name=ss_sp,json=ssSp" json:"ss_sp,omitempty"`
	SsSize  *uint64 `protobuf:"varint,2,req,name=ss_size,json=ssSize" json:"ss_size,omitempty"`
	SsFlags *uint32 `protobuf:"varint,3,req,name=ss_flags,json=ssFlags" json:"ss_flags,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadSasEntry) Descriptor deprecated

func (*ThreadSasEntry) Descriptor() ([]byte, []int)

Deprecated: Use ThreadSasEntry.ProtoReflect.Descriptor instead.

func (*ThreadSasEntry) GetSsFlags

func (x *ThreadSasEntry) GetSsFlags() uint32

func (*ThreadSasEntry) GetSsSize

func (x *ThreadSasEntry) GetSsSize() uint64

func (*ThreadSasEntry) GetSsSp

func (x *ThreadSasEntry) GetSsSp() uint64

func (*ThreadSasEntry) ProtoMessage

func (*ThreadSasEntry) ProtoMessage()

func (*ThreadSasEntry) ProtoReflect

func (x *ThreadSasEntry) ProtoReflect() protoreflect.Message

func (*ThreadSasEntry) Reset

func (x *ThreadSasEntry) Reset()

func (*ThreadSasEntry) String

func (x *ThreadSasEntry) String() string

Jump to

Keyboard shortcuts

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