runc/vendor/github.com/seccomp/libseccomp-golang
Odin Ugedal 69e8fb2a74
Add support for GO Modules
This removes vndr, and swiches to native Go Modules instead. All modules
are kept on the old version.

Keeps the vendor/ dir, so everything is backwards compatible.

Signed-off-by: Odin Ugedal <odin@ugedal.com>
2020-03-07 09:29:29 +01:00
..
.gitignore Add support for GO Modules 2020-03-07 09:29:29 +01:00
CHANGELOG Add support for GO Modules 2020-03-07 09:29:29 +01:00
LICENSE move from Godeps to vndr 2017-02-24 11:25:21 +00:00
Makefile Add support for GO Modules 2020-03-07 09:29:29 +01:00
README Vendor updated libseccomp-golang for bugfix 2017-10-10 15:49:08 -04:00
SUBMITTING_PATCHES Add support for GO Modules 2020-03-07 09:29:29 +01:00
seccomp.go Update dependency libseccomp-golang 2019-06-20 22:35:57 +02:00
seccomp_internal.go Update dependency libseccomp-golang 2019-06-20 22:35:57 +02:00

README

libseccomp-golang: Go Language Bindings for the libseccomp Project
===============================================================================
https://github.com/seccomp/libseccomp-golang
https://github.com/seccomp/libseccomp

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:

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

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.

	-> https://groups.google.com/d/forum/libseccomp

Documentation is also available at:

	-> https://godoc.org/github.com/seccomp/libseccomp-golang

* 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:

	-> https://github.com/golang/lint