Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 20-Dec-2019 | - | ||||
LICENSE | H A D | 20-Dec-2019 | 1.3 KiB | 23 | 20 | |
README | H A D | 20-Dec-2019 | 1.8 KiB | 51 | 33 | |
seccomp.go | H A D | 20-Dec-2019 | 26.2 KiB | 865 | 496 | |
seccomp_internal.go | H A D | 20-Dec-2019 | 12.6 KiB | 509 | 293 |
README
1libseccomp-golang: Go Language Bindings for the libseccomp Project 2=============================================================================== 3https://github.com/seccomp/libseccomp-golang 4https://github.com/seccomp/libseccomp 5 6The libseccomp library provides an easy to use, platform independent, interface 7to the Linux Kernel's syscall filtering mechanism. The libseccomp API is 8designed to abstract away the underlying BPF based syscall filter language and 9present a more conventional function-call based filtering interface that should 10be familiar to, and easily adopted by, application developers. 11 12The libseccomp-golang library provides a Go based interface to the libseccomp 13library. 14 15* Online Resources 16 17The library source repository currently lives on GitHub at the following URLs: 18 19 -> https://github.com/seccomp/libseccomp-golang 20 -> https://github.com/seccomp/libseccomp 21 22The project mailing list is currently hosted on Google Groups at the URL below, 23please note that a Google account is not required to subscribe to the mailing 24list. 25 26 -> https://groups.google.com/d/forum/libseccomp 27 28Documentation is also available at: 29 30 -> https://godoc.org/github.com/seccomp/libseccomp-golang 31 32* Installing the package 33 34The libseccomp-golang bindings require at least Go v1.2.1 and GCC v4.8.4; 35earlier versions may yield unpredictable results. If you meet these 36requirements you can install this package using the command below: 37 38 $ go get github.com/seccomp/libseccomp-golang 39 40* Testing the Library 41 42A number of tests and lint related recipes are provided in the Makefile, if 43you want to run the standard regression tests, you can excute the following: 44 45 $ make check 46 47In order to execute the 'make lint' recipe the 'golint' tool is needed, it 48can be found at: 49 50 -> https://github.com/golang/lint 51