seccomp: avoid hardcoding ioctl numbers

These can differ between platforms, so it's better to use centralized
definitions of them.  We can't currently do this for the KVM and VFIO
ioctls, because the corresponding crates don't publicly expose the
ioctl numbers.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
Alyssa Ross
2025-09-09 15:52:40 +02:00
committed by Rob Bradford
parent 305bec056f
commit 093f62858f
4 changed files with 100 additions and 126 deletions
Generated
+1
View File
@@ -2489,6 +2489,7 @@ dependencies = [
"uuid",
"vfio-ioctls",
"vfio_user",
"vhost",
"virtio-bindings",
"virtio-devices",
"vm-allocator",