Registry / security / seccomp-libseccomp-golang

seccomp-libseccomp-golang

JSON →
library0.11.1gogounverified

Package seccomp provides Go bindings for libseccomp, enabling Linux seccomp syscall filtering.

go get github.com/seccomp/libseccomp-golang
INSTALL
IMPORT
SIG · SECCOMP-LIBSECCOMP
S
seccomp-libseccomp-golang
securitygov0.11.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

seccomp
github.com/seccomp/libseccomp-golang

Create a seccomp filter that allows all syscalls

package main import ( "fmt" "github.com/seccomp/libseccomp-golang" ) func main() { filter, err := seccomp.NewFilter(seccomp.ActAllow) if err != nil { panic(err) } fmt.Println(filter) }
Debug
Known issues
gotchaRequires libseccomp library installed on the system.
fix
Install libseccomp-dev (Linux) or equivalent.
affects: all
Upgrade
Version history
0.11.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
seccomp-libseccomp-golang — go get seccomp-libseccomp-golang · libregistry