Some distributions require all crate dependencies to be packaged
individually. This implies that depending on the whole Firecracker
repository would make things very hard for us to get virtiofsd-rs
packaged.

This change replaces the dependency on Firecracker's seccomp with
seccomp-sys, which is a crate providing raw bindings for
libseccomp. This means we add the latter as a both a build time and
run time dependency, but that should be fine as the C implementation
also depends on it.

I've also considered adding syscallz, which provides safe wrappers on
top of syscomp-sys, but that one also depends on strut, which we need
to drop from our dependencies due to its problematic versioning
policy.

Signed-off-by: Sergio Lopez <s...@redhat.com>
---
https://gitlab.com/virtio-fs/virtiofsd-rs/-/merge_requests/45

_______________________________________________
Virtio-fs mailing list
Virtio-fs@redhat.com
https://listman.redhat.com/mailman/listinfo/virtio-fs

Reply via email to