1
0
mirror of https://github.com/containers/youki synced 2024-11-23 17:32:15 +01:00
youki/seccomp
Travis Sturzl 02b8f772bb
Check libseccomp is available at correct version on build (#367)
* check libseccomp version before build, better build output
2021-10-05 22:45:29 -07:00
..
src make clippy happy 2021-09-16 07:56:05 +02:00
build.rs Check libseccomp is available at correct version on build (#367) 2021-10-05 22:45:29 -07:00
Cargo.toml Check libseccomp is available at correct version on build (#367) 2021-10-05 22:45:29 -07:00
README.md Adds a seccomp binding 2021-09-16 07:39:04 +02:00

Bindings to libseccomp

This crate contains a rust FFI binding to libseccomp.

The code is adapted from auto generated code using rust-bindgen. The rust-bindgen has some issue with detecting function macro, which libseccomp uses. We decided to manually fix the issue and include the bindings in this crate.

The header file used: https://github.com/seccomp/libseccomp/blob/main/include/seccomp.h.in