| 1 |  |
| 2 | =============================================================================== |
| 3 | https://github.com/seccomp/libseccomp-golang |
| 4 | |
| 5 | [](https://pkg.go.dev/github.com/seccomp/libseccomp-golang) |
| 6 | [](https://github.com/seccomp/libseccomp-golang/actions/workflows/validate.yml) |
| 7 | [](https://github.com/seccomp/libseccomp-golang/actions/workflows/test.yml) |
| 8 | |
| 9 | The libseccomp library provides an easy to use, platform independent, interface |
| 10 | to the Linux Kernel's syscall filtering mechanism. The libseccomp API is |
| 11 | designed to abstract away the underlying BPF based syscall filter language and |
| 12 | present a more conventional function-call based filtering interface that should |
| 13 | be familiar to, and easily adopted by, application developers. |
| 14 | |
| 15 | The libseccomp-golang library provides a Go based interface to the libseccomp |
| 16 | library. |
| 17 | |
| 18 | ## Online Resources |
| 19 | |
| 20 | The library source repository currently lives on GitHub at the following URLs: |
| 21 | |
| 22 | * https://github.com/seccomp/libseccomp-golang |
| 23 | * https://github.com/seccomp/libseccomp |
| 24 | |
| 25 | Documentation for this package is also available at: |
| 26 | |
| 27 | * https://pkg.go.dev/github.com/seccomp/libseccomp-golang |
| 28 | |
| 29 | ## Verifying Releases |
| 30 | |
| 31 | Starting with libseccomp-golang v0.10.0, the git tag corresponding to each |
| 32 | release should be signed by one of the libseccomp-golang maintainers. It is |
| 33 | recommended that before use you verify the release tags using the following |
| 34 | command: |
| 35 | |
| 36 | % git tag -v <tag> |
| 37 | |
| 38 | At present, only the following keys, specified via the fingerprints below, are |
| 39 | authorized to sign official libseccomp-golang release tags: |
| 40 | |
| 41 | Paul Moore <[email protected]> |
| 42 | 7100 AADF AE6E 6E94 0D2E 0AD6 55E4 5A5A E8CA 7C8A |
| 43 | |
| 44 | Tom Hromatka <[email protected]> |
| 45 | 47A6 8FCE 37C7 D702 4FD6 5E11 356C E62C 2B52 4099 |
| 46 | |
| 47 | Kir Kolyshkin <[email protected]> |
| 48 | C242 8CD7 5720 FACD CF76 B6EA 17DE 5ECB 75A1 100E |
| 49 | |
| 50 | More information on GnuPG and git tag verification can be found at their |
| 51 | respective websites: https://git-scm.com/docs/git and https://gnupg.org. |
| 52 | |
| 53 | ## Installing the package |
| 54 | |
| 55 | % go get github.com/seccomp/libseccomp-golang |
| 56 | |
| 57 | ## Contributing |
| 58 | |
| 59 | See [CONTRIBUTING.md](CONTRIBUTING.md). |