open-nomad/vendor/github.com/seccomp/libseccomp-golang
Seth Hoenig 435c0d9fc8 deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
..
.gitignore deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
.travis.yml deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
CHANGELOG vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
LICENSE vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
Makefile vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
README.md vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
SUBMITTING_PATCHES vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
go.mod vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
seccomp.go vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00
seccomp_internal.go vendor: opencontainrs/runc v1.0.0-rc7 2020-03-21 15:43:02 +01:00

README.md

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: