libseccomp

Interface to Linux kernel's syscall filtering mechanism

brewmacoslinux
Try with needOr install directly
Source

About

Interface to the Linux Kernel's syscall filtering mechanism

Commands

scmp_filter_exportscmp_app_armorscmp_sys_resolver

Examples

Resolve syscall number to name on current architecture$ scmp_sys_resolver open
Export seccomp filter rules for debugging$ scmp_filter_export -i filter.bpf
Compile and load seccomp rules (typically used in applications)$ gcc -lseccomp example.c -o seccomp_example && ./seccomp_example