podman/vendor/github.com/seccomp/libseccomp-golang
Sascha Grunert 98ead36531
Switch to containers/common for seccomp
The seccomp/containers-golang library is not maintained any more and we
should stick to containers/common.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-27 21:14:59 +02:00
..
.gitignore migrate to go-modules 2019-06-24 13:20:59 +02:00
.travis.yml Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
CHANGELOG update dependencies 2019-06-24 21:29:31 +02:00
CONTRIBUTING.md Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
go.mod Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
go.sum Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
LICENSE Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
Makefile migrate to go-modules 2019-06-24 13:20:59 +02:00
README.md Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
seccomp.go Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00
seccomp_internal.go Switch to containers/common for seccomp 2020-08-27 21:14:59 +02:00

libseccomp Golang Bindings

https://github.com/seccomp/libseccomp-golang

Build Status

The libseccomp library provides an easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism. The libseccomp API is designed to abstract away the underlying 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.

The libseccomp-golang library provides a Go based interface to the libseccomp library.

Online Resources

The library source repository currently lives on GitHub at the following URLs:

The project mailing list is currently hosted on Google Groups at the URL below, please note that a Google account is not required to subscribe to the mailing list.

Documentation is also available at:

Installing the package

The libseccomp-golang bindings require at least Go v1.2.1 and GCC v4.8.4; earlier versions may yield unpredictable results. If you meet these requirements you can install this package using the command below:

# go get github.com/seccomp/libseccomp-golang

Testing the Library

A number of tests and lint related recipes are provided in the Makefile, if you want to run the standard regression tests, you can excute the following:

# make check

In order to execute the 'make lint' recipe the 'golint' tool is needed, it can be found at: