Affected by GO-2022-0396
and 9 other vulnerabilities
GO-2022-0396 : Devices resource list treated as a blacklist by default in github.com/opencontainers/runc
GO-2022-0452 : Default inheritable capabilities for linux container should be empty in github.com/opencontainers/runc
GO-2022-0835 : Information Exposure in RunC in github.com/opencontainers/runc
GO-2022-0914 : Mount destinations can be swapped via symlink-exchange to cause mounts outside the rootfs in github.com/opencontainers/runc
GO-2023-1682 : Rootless: /sys/fs/cgroup is writable when cgroupns isn't unshared in github.com/opencontainers/runc
GO-2023-1683 : AppArmor bypass with symlinked /proc in github.com/opencontainers/runc
GO-2024-3110 : Can be confused to create empty files/directories on the host in github.com/opencontainers/runc
GO-2025-3543 : WITHDRAWN: Libcontainer is affected by capabilities elevation in github.com/opencontainers/runc
GO-2025-4098 : Container escape and DDoS due to arbitrary write gadgets and procfs write redirects in github.com/opencontainers/runc
GO-2026-5761 : Malicious image with /dev symlink can trigger limited host filesystem integrity violations in github.com/opencontainers/runc
Discover Packages
github.com/opencontainers/runc
libcontainer
seccomp
package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Aug 4, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 418
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
View Source
var (
ErrUnresolvedLabel = errors .New ("seccomp: unresolved label")
ErrDuplicateLabel = errors .New ("seccomp: duplicate label use")
ErrUnsupportedOperation = errors .New ("seccomp: unsupported operation for argument")
)
Action is the type of action that will be taken when a
syscall is performed.
Error returns an Action that will be used to send the calling
process the specified errno when the syscall is made.
Arg represents an argument to the syscall with the argument's index,
the operator to apply when matching, and the argument's value at that time.
Context holds syscalls for the current process to limit the type of
actions the calling process can make.
New returns a new syscall context for use.
Add will add the specified syscall, action, and arguments to the seccomp
Context.
Load will apply the Context to the calling process makeing any secccomp process changes
apply after the context is loaded.
Remove removes the specified syscall configuration from the Context.
Operator that is used for argument comparison.
const (
EqualTo Operator = iota
NotEqualTo
GreatherThan
LessThan
MaskEqualTo
)
Syscall is the specified syscall, action, and any type of arguments
to filter on.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.