MCPcopy Create free account

hub / github.com/opencontainers/runc / functions

Functions959 in github.com/opencontainers/runc

↓ 2 callersMethodGetStats
GetStats returns statistics for Intel RDT.
libcontainer/intelrdt/intelrdt.go:537
↓ 2 callersFunctionGetUserNamespaceMappings
(nsPath string)
libcontainer/internal/userns/userns_maps_linux.go:112
↓ 2 callersFunctionGetwd
Getwd wraps [unix.Getwd].
internal/linux/linux.go:30
↓ 2 callersFunctionGreaterEqualThan
GreaterEqualThan checks if the host's kernel version is greater than, or equal to the given kernel version v. Only "kernel version" and "major revisio
libcontainer/system/kernelversion/kernel_linux.go:84
↓ 2 callersMethodHostGID
HostGID gets the translated gid for the process on host which could be different when user namespaces are enabled.
libcontainer/configs/config_linux.go:59
↓ 2 callersFunctionInit
Init is part of "runc init" implementation.
libcontainer/init_linux.go:106
↓ 2 callersMethodInit
()
libcontainer/standard_init_linux.go:51
↓ 2 callersFunctionIsSameMapping
IsSameMapping returns whether or not the two id mappings are the same. Note that if the order of the mappings is different, or a mapping has been spli
libcontainer/internal/userns/userns_maps_linux.go:176
↓ 2 callersFunctionJoinSessionKeyring
(name string)
libcontainer/keys/keyctl.go:15
↓ 2 callersMethodLen
()
libcontainer/message_linux.go:45
↓ 2 callersMethodLen
()
libcontainer/message_linux.go:73
↓ 2 callersMethodLen
()
libcontainer/message_linux.go:95
↓ 2 callersFunctionNamespaceTypes
()
libcontainer/configs/namespaces_linux.go:73
↓ 2 callersFunctionNew
New creates a new Caps from the given Capabilities config. Unknown Capabilities or Capabilities that are unavailable in the current environment are ig
libcontainer/capabilities/capabilities.go:50
↓ 2 callersFunctionNewManager
NewManager returns a new instance of Manager, or nil if the Intel RDT functionality is not specified in the config, available from hardware or enabled
libcontainer/intelrdt/intelrdt.go:160
↓ 2 callersFunctionOpen
Open wraps [unix.Open].
internal/linux/linux.go:36
↓ 2 callersFunctionOpenat
Openat wraps [unix.Openat].
internal/linux/linux.go:47
↓ 2 callersFunctionProcThreadSelf
ProcThreadSelf returns a string that is equivalent to proc/thread-self/<subpath>, with a graceful fallback on older kernels where proc/thread-self doe
libcontainer/utils/utils_unix.go:176
↓ 2 callersMethodRelease
Release all resources associated with this Handle. All existing files returned from Get() will continue to work even after calling Release(). The same
libcontainer/internal/userns/usernsfd_linux.go:66
↓ 2 callersMethodRestore
Restore restores the checkpointed container to a running state using the criu(8) utility.
libcontainer/criu_linux.go:638
↓ 2 callersFunctionSendmsg
Sendmsg wraps [unix.Sendmsg].
internal/linux/linux.go:86
↓ 2 callersFunctionSetctty
()
libcontainer/system/linux.go:66
↓ 2 callersFunctionToRootless
ToRootless converts the given spec file into one that should work with rootless containers (euid != 0), by removing incompatible options and adding ot
libcontainer/specconv/example.go:161
↓ 2 callersFunctionUnsafeCloseFrom
nolint:revive UnsafeCloseFrom closes all file descriptors greater or equal to minFd in the current process, except for those critical to Go's runtime
libcontainer/utils/utils_unix.go:118
↓ 2 callersFunctionVersion
Version returns major, minor, and micro.
libcontainer/seccomp/seccomp_unsupported.go:28
↓ 2 callersFunctionbindMountDeviceNode
(destDir *os.File, destName string, node *devices.Device)
libcontainer/rootfs_linux.go:975
↓ 2 callersMethodbindSocket
()
notify_socket.go:62
↓ 2 callersMethodbootstrapData
bootstrapData encodes the necessary data in netlink binary format as a io.Reader. Consumer can write the data to a bootstrap program such as one that
libcontainer/container_linux.go:1043
↓ 2 callersFunctioncapToStr
(c capability.Cap)
libcontainer/capabilities/capabilities.go:20
↓ 2 callersMethodcheckCriuFeatures
(criuOpts *CriuOpts, criuFeat *criurpc.CriuFeatures)
libcontainer/criu_linux.go:37
↓ 2 callersFunctioncheckWait
checkWait is like check, but if the file is empty, it waits until it's not.
libcontainer/logs/logs_linux_test.go:145
↓ 2 callersFunctionchroot
()
libcontainer/rootfs_linux.go:1252
↓ 2 callersMethodcloseChild
()
libcontainer/process_linux.go:107
↓ 2 callersMethodcloseClonedExes
closeClonedExes cleans up any existing cloned binaries associated with the Process.
libcontainer/process.go:157
↓ 2 callersMethodcloseParent
()
libcontainer/process_linux.go:113
↓ 2 callersFunctioncloseStateFds
(recvFds []int)
tests/cmd/seccompagent/seccompagent.go:34
↓ 2 callersFunctioncompareCriuVersion
(criuVersion, minVersion int)
libcontainer/criu_linux.go:83
↓ 2 callersFunctionconvertLibcontainerStats
(ls *libcontainer.Stats)
events.go:112
↓ 2 callersFunctionconvertSysctlVariableToDotsSeparator
convertSysctlVariableToDotsSeparator can return sysctl variables in dots separator format. The '/' separator is also accepted in place of a '.'. Conve
libcontainer/configs/validate/validator.go:194
↓ 2 callersFunctioncreateDevices
(spec *specs.Spec, config *configs.Config)
libcontainer/specconv/spec_linux.go:1023
↓ 2 callersFunctioncreateHooks
(rspec *specs.Spec, config *configs.Config)
libcontainer/specconv/spec_linux.go:1286
↓ 2 callersMethodcreateOpenMountpoint
(root *os.File)
libcontainer/rootfs_linux.go:539
↓ 2 callersFunctioncriuCgMode
(mode string)
libcontainer/criu_linux.go:1216
↓ 2 callersFunctioncriuFeature
(feature string)
libcontainer/integration/checkpoint_test.go:15
↓ 2 callersFunctioncriuNsToKey
(t configs.NamespaceType)
libcontainer/criu_linux.go:190
↓ 2 callersFunctioncriuOptions
(context *cli.Context)
checkpoint.go:115
↓ 2 callersMethodcriuSupportsExtNS
(t configs.NamespaceType)
libcontainer/criu_linux.go:174
↓ 2 callersMethoddestroy
()
utils_linux.go:315
↓ 2 callersMethoddestroy
()
libcontainer/state_linux.go:35
↓ 2 callersFunctiondisassembleFilter
(filter *libseccomp.ScmpFilter)
libcontainer/seccomp/patchbpf/enosys_linux.go:148
↓ 2 callersFunctiondoReadSync
(pipe *syncSocket)
libcontainer/sync.go:125
↓ 2 callersFunctionencodeIDMapping
(idMap []configs.IDMap)
libcontainer/container_linux.go:1021
↓ 2 callersFunctionescapeOverlayLowerDir
(path string)
libcontainer/exeseal/overlayfs_linux.go:36
↓ 2 callersMethodexec
()
libcontainer/container_linux.go:233
↓ 2 callersFunctionexpectRead
(t *testing.T, r io.Reader, expected string)
notify_socket_test.go:44
↓ 2 callersMethodexternalDescriptors
()
libcontainer/process_linux.go:55
↓ 2 callersFunctionfatalWithCode
(err error, ret int)
utils.go:60
↓ 2 callersFunctionfdList
(t *testing.T)
libcontainer/integration/exec_test.go:1694
↓ 2 callersFunctionfdRangeFrom
fdRangeFrom calls the passed fdFunc for each file descriptor that is open in the current process.
libcontainer/utils/utils_unix.go:49
↓ 2 callersFunctionfifoOpen
(path string, block bool)
libcontainer/container_linux.go:276
↓ 2 callersFunctionfinalizeNamespace
finalizeNamespace drops the caps, sets the correct user and working dir, and closes any leaked file descriptors before executing the command inside th
libcontainer/init_linux.go:300
↓ 2 callersFunctiongeneratePatch
(config *configs.Seccomp)
libcontainer/seccomp/patchbpf/enosys_linux.go:604
↓ 2 callersFunctiongetAction
Convert Libcontainer Action to Libseccomp ScmpAction
libcontainer/seccomp/seccomp_linux.go:201
↓ 2 callersFunctiongetCMTNumaNodeStats
(numaPath string)
libcontainer/intelrdt/cmt.go:11
↓ 2 callersFunctiongetMBMNumaNodeStats
(numaPath string)
libcontainer/intelrdt/mbm.go:12
↓ 2 callersFunctiongetMonitoringStats
(containerPath string, stats *Stats)
libcontainer/intelrdt/monitoring.go:50
↓ 2 callersFunctiongetPipeFds
(pid int)
libcontainer/process_linux.go:1143
↓ 2 callersFunctionhallucinateUnsafePath
hallucinateUnsafePath creates a new unsafePath which has all symlinks (including dangling symlinks) fully resolved and any non-existent components tre
internal/pathrs/path.go:108
↓ 2 callersMethodhandleCheckpointingExternalNamespaces
(rpcOpts *criurpc.CriuOpts, t configs.NamespaceType)
libcontainer/criu_linux.go:206
↓ 2 callersMethodhandleCriuConfigurationFile
(rpcOpts *criurpc.CriuOpts)
libcontainer/criu_linux.go:149
↓ 2 callersFunctionhandleFifoResult
(result openResult)
libcontainer/container_linux.go:288
↓ 2 callersMethodhostIDFromMapping
Utility function that gets a host ID for a container ID from user namespace map if that ID is present in the map.
libcontainer/configs/config_linux.go:89
↓ 2 callersMethodinitProcessCgroupPath
initProcessCgroupPath returns container init's cgroup path, as read from /proc/PID/cgroup. Only works for cgroup v2. Returns empty string if the path
libcontainer/process_linux.go:305
↓ 2 callersFunctioninitSystemdProps
(spec *specs.Spec)
libcontainer/specconv/spec_linux.go:744
↓ 2 callersFunctionisAllowAction
(action configs.Action)
libcontainer/seccomp/patchbpf/enosys_linux.go:108
↓ 2 callersFunctionisExecutable
(f *os.File)
libcontainer/exeseal/cloned_binary_linux.go:24
↓ 2 callersMethodisPaused
()
libcontainer/container_linux.go:909
↓ 2 callersFunctionkillContainer
(container *libcontainer.Container)
delete.go:16
↓ 2 callersFunctionloadSpec
loadSpec loads the specification from the provided path.
spec.go:117
↓ 2 callersFunctionlogCriuErrors
logCriuErrors tries to find and log errors from a criu log file. The output is similar to what "grep -n -B5 Error" does.
libcontainer/criu_linux.go:821
↓ 2 callersFunctionlogrusToStderr
()
utils.go:49
↓ 2 callersFunctionmaskDir
maskDir mounts a read-only tmpfs on top of the specified path.
libcontainer/rootfs_linux.go:1325
↓ 2 callersMethodnewInitConfig
(process *Process)
libcontainer/container_linux.go:680
↓ 2 callersFunctionnewNotifySocket
(context *cli.Context, notifySocketHost, id string)
notify_socket.go:28
↓ 2 callersFunctionnotifyHost
notifyHost tells the host (usually systemd) that the container reported READY. Also sends MAINPID and BARRIER.
notify_socket.go:156
↓ 2 callersFunctionnotifyMemoryPressure
(dir string, level PressureLevel)
libcontainer/notify_linux.go:73
↓ 2 callersFunctionnotifyOnOOM
notifyOnOOM returns channel on which you can expect event about OOM, if process died without OOM this channel will be closed.
libcontainer/notify_linux.go:65
↓ 2 callersFunctionparseRelease
parseRelease parses a string and creates a KernelVersion based on it.
libcontainer/system/kernelversion/kernel_linux.go:68
↓ 2 callersFunctionparseSync
parseSync runs the given callback function on each syncT received from the child. It will return once io.EOF is returned from the given pipe.
libcontainer/sync.go:189
↓ 2 callersFunctionpathrsVersionString
()
features_libpathrs.go:9
↓ 2 callersFunctionpidGetFd
(pid, srcFd int)
libcontainer/process_linux.go:1105
↓ 2 callersFunctionprepareEnv
prepareEnv processes a list of environment variables, preparing it for direct consumption by unix.Exec. In particular, it: - validates each variable i
libcontainer/env.go:24
↓ 2 callersFunctionprocOpenReopen
(openFn func(subpath string) (*os.File, error), subpath string, flags int)
internal/pathrs/procfs_pathrslite.go:29
↓ 2 callersFunctionptrInt
(v int)
libcontainer/integration/utils_test.go:51
↓ 2 callersFunctionreadSyncFull
(pipe *syncSocket, expected syncType)
libcontainer/sync.go:161
↓ 2 callersFunctionreapChildren
(t *testing.T, parent *os.File)
libcontainer/nsenter/nsenter_test.go:205
↓ 2 callersFunctionregisterMemoryEvent
(cgDir, evName, arg string)
libcontainer/notify_linux.go:20
↓ 2 callersFunctionremove
(dir string)
libcontainer/integration/utils_test.go:151
↓ 2 callersFunctionreopenAfterMount
(rootFd, f *os.File, flags int)
libcontainer/rootfs_linux.go:1432
↓ 2 callersMethodresize
()
tty.go:189
← previousnext →201–300 of 959, ranked by callers