1
0
mirror of https://github.com/containers/youki synced 2024-09-23 12:35:44 +02:00
youki/crates/seccomp/README.md
2021-10-22 21:55:15 +02:00

12 lines
493 B
Markdown

# Bindings to libseccomp
This crate contains a rust FFI binding to
[libseccomp](https://github.com/seccomp/libseccomp).
The code is adapted from auto generated code using
[rust-bindgen](https://github.com/rust-lang/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>