aboutgitcodebugslistschat
path: root/contrib/qemu
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-11-06 10:25:24 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-11-07 12:46:55 +0100
commit7917159005d41d2f87213645e9460534beb1e14f (patch)
tree91ae90cdea7a86f43fcfa13a6d12b0eaf218d0fd /contrib/qemu
parent93bce404c19652b40f2104633286b6dac5f85b0e (diff)
downloadpasst-7917159005d41d2f87213645e9460534beb1e14f.tar
passt-7917159005d41d2f87213645e9460534beb1e14f.tar.gz
passt-7917159005d41d2f87213645e9460534beb1e14f.tar.bz2
passt-7917159005d41d2f87213645e9460534beb1e14f.tar.lz
passt-7917159005d41d2f87213645e9460534beb1e14f.tar.xz
passt-7917159005d41d2f87213645e9460534beb1e14f.tar.zst
passt-7917159005d41d2f87213645e9460534beb1e14f.zip
seccomp: Simplify handling of AUDIT_ARCH
Currently we construct the AUDIT_ARCH variable in the Makefile, then pass it into the C code with -D. The only place that uses it, though is the BPF filter generated by seccomp.sh. seccomp.sh already needs to do things differently depending on the arch, so it might as well just insert the expanded AUDIT_ARCH directly into the generated code, rather than using a #define. Arguably this is better, even, since it ensures more locally that the arch the BPF checks for matches the arch seccomp.sh built the filter for. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu')
0 files changed, 0 insertions, 0 deletions