MCPcopy Create free account

hub / github.com/opencontainers/runc / functions

Functions959 in github.com/opencontainers/runc

↓ 1 callersFunctionsyncParentHooks
syncParentHooks sends to the given pipe a JSON payload which indicates that the parent should execute pre-start hooks. It then waits for the parent to
libcontainer/init_linux.go:434
↓ 1 callersFunctionsysSeccompSetFilter
(flags uint, filter []unix.SockFilter)
libcontainer/seccomp/patchbpf/enosys_linux.go:694
↓ 1 callersFunctionsyscallMode
syscallMode returns the syscall-specific mode bits from Go's portable mode bits. Copy from https://cs.opensource.google/go/go/+/refs/tags/go1.20.7:src
libcontainer/mount_linux.go:227
↓ 1 callersFunctiontestEscapeJSON
(t *testing.T)
libcontainer/nsenter/test/escape.go:27
↓ 1 callersFunctiontestEscapeJSONString
(t *testing.T, input, want string)
libcontainer/nsenter/test/escape.go:16
↓ 1 callersFunctiontestFreeze
(t *testing.T, withSystemd, useSet bool)
libcontainer/integration/exec_test.go:443
↓ 1 callersFunctiontoInodeID
(st *syscall.Stat_t)
tests/cmd/remap-rootfs/remap-rootfs.go:56
↓ 1 callersMethodtoSys
()
libcontainer/internal/userns/usernsfd_linux.go:22
↓ 1 callersFunctiontraversePath
traversePath gives read+execute permissions to others for all elements in tPath below os.TempDir() and errors out if elements above it don't have read
libcontainer/integration/utils_test.go:118
↓ 1 callersFunctionunitCommand
(cmd, name, parent string)
tests/cmd/sd-helper/helper.go:70
↓ 1 callersFunctionunlockNetwork
(config *configs.Config)
libcontainer/criu_linux.go:1098
↓ 1 callersFunctionupsertWeightDevice
(devices []*cgroups.WeightDevice, wd specs.LinuxWeightDevice)
update.go:400
↓ 1 callersFunctionusage
()
tests/cmd/sd-helper/helper.go:18
↓ 1 callersFunctionverifyCwd
verifyCwd ensures that the current directory is actually inside the mount namespace root of the current process.
libcontainer/init_linux.go:273
↓ 1 callersMethodwait
()
libcontainer/restored_process.go:47
↓ 1 callersMethodwait
()
libcontainer/process.go:15
↓ 1 callersMethodwait
wait waits on the process returning the process state.
libcontainer/process_linux.go:50
↓ 1 callersMethodwait
()
libcontainer/process_linux.go:168
↓ 1 callersMethodwaitConsole
()
tty.go:153
↓ 1 callersMethodwaitForChildExit
(childPid int)
libcontainer/process_linux.go:653
↓ 1 callersMethodwaitForContainer
(container *libcontainer.Container)
notify_socket.go:99
MethodApply
(pid int)
libcontainer/container_linux_test.go:31
FunctionBenchmarkCheckPropertyName
(b *testing.B)
libcontainer/specconv/spec_linux_test.go:845
FunctionBenchmarkExecInBigEnv
(b *testing.B)
libcontainer/integration/bench_test.go:70
FunctionBenchmarkExecTrue
(b *testing.B)
libcontainer/integration/bench_test.go:12
FunctionBenchmarkParseRealStat
(b *testing.B)
libcontainer/system/proc_test.go:138
FunctionBenchmarkParseStat
(b *testing.B)
libcontainer/system/proc_test.go:118
FunctionBenchmarkRootlessEUIDMount
(b *testing.B)
libcontainer/configs/validate/rootless_test.go:145
FunctionBenchmarkSpawnProc
(b *testing.B)
libcontainer/internal/userns/usernsfd_linux_test.go:10
MethodCheckpoint
(criuOpts *CriuOpts)
libcontainer/criu_disabled_linux.go:13
MethodCloneFlags
CloneFlags parses the container's Namespaces options to set the correct flags on clone, unshare. This function returns flags only for new namespaces.
libcontainer/configs/namespaces_syscall_unsupported.go:11
MethodDestroy
()
libcontainer/container_linux_test.go:43
FunctionDeviceFromPath
DeviceFromPath takes the path to a device and its cgroup_permissions (which cannot be easily queried) to look up the information about a linux device
libcontainer/devices/device_deprecated_unix.go:32
MethodError
Error provides a string error representation.
libcontainer/mount_linux.go:108
MethodError
()
libcontainer/state_linux.go:29
FunctionExample_container
()
libcontainer/example_test.go:25
FunctionFuzzUnmarshalJSON
(data []byte)
libcontainer/configs/configs_fuzzer.go:5
MethodGetCgroups
()
libcontainer/container_linux_test.go:68
FunctionGetDevices
GetDevices recursively traverses a directory specified by path and returns all devices found there. Deprecated: Use [devices.GetDevices] instead. Thi
libcontainer/devices/device_deprecated_unix.go:53
MethodGetPids
()
libcontainer/container_linux_test.go:19
FunctionGetPtyPeer
GetPtyPeer is a wrapper for ioctl(TIOCGPTPEER).
libcontainer/system/linux.go:165
MethodGetStats
()
libcontainer/container_linux_test.go:27
FunctionGetSubreaper
GetSubreaper returns the subreaper setting for the calling process
libcontainer/system/linux.go:79
FunctionHostDevices
HostDevices returns all devices that can be found under /dev directory. Deprecated: Use [devices.HostDevices] instead. This package will be removed i
libcontainer/devices/device_deprecated_unix.go:42
MethodInit
()
libcontainer/setns_init_linux.go:35
FunctionInitSeccomp
InitSeccomp installs the seccomp filters to be used in the container as specified in config. Returns the seccomp file descriptor if any of the filters
libcontainer/seccomp/seccomp_linux.go:32
MethodIsBind
()
libcontainer/configs/mount_unsupported.go:7
FunctionIsEnabled
IsEnabled returns true if apparmor is enabled for the host.
libcontainer/apparmor/apparmor.go:9
MethodNotifyMemoryPressure
NotifyMemoryPressure returns a read-only channel signaling when the container reaches a given pressure level.
libcontainer/container_linux.go:818
MethodOCIState
OCIState returns the current container's state information.
libcontainer/container_linux.go:107
FunctionRecvFile
RecvFile waits for a file descriptor to be sent over the given AF_UNIX socket. The file name of the remote file descriptor will be recreated locally (
libcontainer/utils/cmsg_deprecated.go:15
MethodRestore
(process *Process, criuOpts *CriuOpts)
libcontainer/criu_disabled_linux.go:9
MethodRun
(*specs.State)
libcontainer/factory_linux_test.go:95
MethodRun
Run immediately starts the process inside the container. Returns an error if the process fails to start. It does not block waiting for the exec fifo a
libcontainer/container_linux.go:214
MethodRun
Run executes all hooks for the given hook name.
libcontainer/configs/config.go:516
MethodRun
(s *specs.State)
libcontainer/configs/config.go:553
MethodRun
(s *specs.State)
libcontainer/configs/config.go:576
FunctionSendFile
SendFile sends a file over the given AF_UNIX socket. file.Name() is also included so that if the other end uses RecvFile, the file will have the same
libcontainer/utils/cmsg_deprecated.go:25
FunctionSendRawFd
SendRawFd sends a specific file descriptor over the given AF_UNIX socket. Deprecated: This method is deprecated and has been moved to an internal pac
libcontainer/utils/cmsg_deprecated.go:33
MethodSerialize
Serialize serializes the message. Int32msg has the following representation | nlattr len | nlattr type | | uint32 value |
libcontainer/message_linux.go:36
MethodSerialize
()
libcontainer/message_linux.go:82
MethodSet
(_ *cgroups.Resources)
libcontainer/container_linux_test.go:39
MethodString
()
libcontainer/container.go:27
MethodSyscall
()
libcontainer/configs/namespaces_syscall_unsupported.go:5
FunctionTestAdditionalGroups
(t *testing.T)
libcontainer/integration/exec_test.go:385
FunctionTestApply
(t *testing.T)
libcontainer/intelrdt/intelrdt_test.go:129
FunctionTestBindMountAndUser
Test that a container using user namespaces is able to bind mount a folder that does not have permissions for group/others.
libcontainer/integration/exec_test.go:1769
FunctionTestCGROUPHost
(t *testing.T)
libcontainer/integration/exec_test.go:1664
FunctionTestCGROUPPrivate
(t *testing.T)
libcontainer/integration/exec_test.go:1644
FunctionTestCgroupResourcesUnified
(t *testing.T)
libcontainer/integration/exec_test.go:604
FunctionTestCgroupResourcesUnifiedErrorOnV1
(t *testing.T)
libcontainer/integration/exec_test.go:575
FunctionTestCgroupResourcesUnifiedErrorOnV1Systemd
(t *testing.T)
libcontainer/integration/exec_test.go:579
FunctionTestCgroupResourcesUnifiedSystemd
(t *testing.T)
libcontainer/integration/exec_test.go:608
FunctionTestCheckBindMountOnProc
(t *testing.T)
libcontainer/rootfs_linux_test.go:42
FunctionTestCheckCryptoFipsEnabled
(t *testing.T)
libcontainer/rootfs_linux_test.go:137
FunctionTestCheckMountDestFalsePositive
(t *testing.T)
libcontainer/rootfs_linux_test.go:107
FunctionTestCheckMountDestInProc
(t *testing.T)
libcontainer/rootfs_linux_test.go:11
FunctionTestCheckMountDestInSys
(t *testing.T)
libcontainer/rootfs_linux_test.go:92
FunctionTestCheckMountDestNsLastPid
(t *testing.T)
libcontainer/rootfs_linux_test.go:122
FunctionTestCheckProcMountOnProc
(t *testing.T)
libcontainer/rootfs_linux_test.go:27
FunctionTestCheckPropertyName
(t *testing.T)
libcontainer/specconv/spec_linux_test.go:820
FunctionTestCheckTrickyBindMountOnProc
(t *testing.T)
libcontainer/rootfs_linux_test.go:75
FunctionTestCheckTrickyMountOnProc
(t *testing.T)
libcontainer/rootfs_linux_test.go:58
FunctionTestCheckpoint
(t *testing.T)
libcontainer/integration/checkpoint_test.go:23
FunctionTestCommandHookRun
(t *testing.T)
libcontainer/configs/config_test.go:158
FunctionTestCommandHookRunTimeout
(t *testing.T)
libcontainer/configs/config_test.go:209
FunctionTestContainerState
(t *testing.T)
libcontainer/integration/exec_test.go:707
FunctionTestConvertSysctlVariableToDotsSeparator
TestConvertSysctlVariableToDotsSeparator tests whether the sysctl variable can be correctly converted to a dot as a separator.
libcontainer/configs/validate/validator_test.go:268
FunctionTestCpuShares
(t *testing.T)
libcontainer/integration/exec_test.go:497
FunctionTestCpuSharesSystemd
(t *testing.T)
libcontainer/integration/exec_test.go:501
FunctionTestCreateCommandHookTimeout
(t *testing.T)
libcontainer/specconv/spec_linux_test.go:17
FunctionTestCreateDevices
(t *testing.T)
libcontainer/specconv/spec_linux_test.go:865
FunctionTestCreateHooks
(t *testing.T)
libcontainer/specconv/spec_linux_test.go:32
FunctionTestCreateNetDevices
(t *testing.T)
libcontainer/specconv/spec_linux_test.go:969
FunctionTestCreatedStateTransition
(t *testing.T)
libcontainer/state_linux_test.go:100
FunctionTestDestroy
(t *testing.T)
libcontainer/intelrdt/intelrdt_test.go:210
FunctionTestDevValidName
(t *testing.T)
libcontainer/configs/validate/validator_test.go:1057
FunctionTestDisassembleHugeFilterDoesNotHang
(t *testing.T)
libcontainer/seccomp/patchbpf/enosys_linux_test.go:324
FunctionTestDupNamespaces
(t *testing.T)
libcontainer/specconv/spec_linux_test.go:585
FunctionTestEnosysStub_MultiArch
(t *testing.T)
libcontainer/seccomp/patchbpf/enosys_linux_test.go:301
← previousnext →601–700 of 959, ranked by callers