]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: always assume QEMU_CAPS_SECCOMP_BLACKLIST
authorJán Tomko <jtomko@redhat.com>
Fri, 24 Sep 2021 14:04:30 +0000 (16:04 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 27 Sep 2021 08:11:21 +0000 (10:11 +0200)
commit142938f5c227997c395695fd9e353f1b293a4d96
treeb56c5b54b7e57783ef9c087aee1d8c7137e91618
parent88a397792233b5084c8b0594c34f505d8f42a461
qemu: always assume QEMU_CAPS_SECCOMP_BLACKLIST

elevateprivileges was introduced by QEMU commit:
73a1e64725 "seccomp: add elevateprivileges argument to command line"
released in 2.11.0
and later made conditional on SECCOMP support by:
9d0fdecbad sandbox: disable -sandbox if CONFIG_SECCOMP undefined

Use the existence of the sandbox option as a witness for its support.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c