# common **Repository Path**: mirror_kubernetes/common ## Basic Information - **Project Name**: common - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-21 - **Last Updated**: 2021-11-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # containers/common Location for shared common files and common go code to manage those files in github.com/containers repos. The common files to one or more projects in the containers group will be kept in this repository. It will be up to the individual projects to include the files from this repository. ## seccomp The `seccomp` package in [`pkg/seccomp`](pkg/seccomp) is a set of Go libraries used by container runtimes to generate and load seccomp mappings into the kernel. seccomp (short for secure computing mode) is a BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by, application developers. ### Building the seccomp.json file The make target `make seccomp.json` generates the seccomp.json file, which contains the allowed list of syscalls that can be used by container runtime engines like [CRI-O][cri-o], [Buildah][buildah], [Podman][podman] and [Docker][docker], and container runtimes like OCI [Runc][runc] to control the syscalls available to containers. [cri-o]: https://github.com/kubernetes-incubator/cri-o/pulls [buildah]: https://github.com/projectatomic/buildah [podman]: https://github.com/projectatomic/podman [docker]: https://github.com/docker/docker [runc]: https://github.com/opencontainers/runc ## Supported build tags - [`pkg/apparmor`](pkg/apparmor): `apparmor`, `linux` - [`pkg/seccomp`](pkg/seccomp): `seccomp` - [`pkg/config`](pkg/config): `darwin`, `remote`, `linux`, `systemd` - [`pkg/sysinfo`](pkg/sysctl): `linux`, `solaris`, `windows`, `cgo` - [`pkg/cgroupv2`](pkg/cgroupv2): `linux` ## [Contributing](CONTRIBUTING.md) When developing this library, please use `make` (or `make … BUILDTAGS=…`) to take advantage of the tests and validation. ## Contact - IRC: #[containers](irc://irc.freenode.net:6667/#containers) on freenode.net