github.com/sdibtacm/sandbox@v0.0.0-20200320120712-60470cf803dc/units/seccomp/README (about)

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