Registry / crypto / seccomp-sys

seccomp-sys

JSON →
library0.1.3rscratesunverified

Low-level bindings to libseccomp.

# Cargo.toml [dependencies] seccomp-sys = "0.1.3"
INSTALL
IMPORT
SIG · SECCOMP-SYS
S
seccomp-sys
cryptorustv0.1.3
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_init
use seccomp_sys::seccomp_init;

Initialize a seccomp filter context (unsafe).

use seccomp_sys::seccomp_init; fn main() { unsafe { let ctx = seccomp_init(0); println!("Seccomp context initialized"); } }
Debug
Known issues
gotchaRequires libseccomp development headers to compile.
fix
Install libseccomp-dev (Linux) or equivalent.
affects: all
Upgrade
Version history
0.1.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
seccomp-sys — cargo add seccomp-sys · libregistry