1
0
mirror of https://github.com/containers/youki synced 2024-11-24 01:44:17 +01:00
youki/crates/libseccomp
2021-10-22 22:05:14 +02:00
..
src Add lib prefix to other crates 2021-10-22 22:05:14 +02:00
build.rs Add lib prefix to other crates 2021-10-22 22:05:14 +02:00
Cargo.toml Add lib prefix to other crates 2021-10-22 22:05:14 +02:00
README.md Add lib prefix to other crates 2021-10-22 22:05:14 +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