mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29:56 +00:00
5ea3a690a2
Yet again, selinux has been adding const-correctness; this change
is ABI-compatible, but breaks API, which affects us when we try to
override things in our testsuite:
../../tests/securityselinuxhelper.c:307:24: error: conflicting types for 'selabel_open'
struct selabel_handle *selabel_open(unsigned int backend,
^~~~~~~~~~~~
In file included from ../../tests/securityselinuxhelper.c:32:0:
/usr/include/selinux/label.h:73:24: note: previous declaration of 'selabel_open' was here
The problem is a new 'const' prior to the second parameter.
Fix it the same way we did in commit
|
||
---|---|---|
.. | ||
virt-apparmor.m4 | ||
virt-attr.m4 | ||
virt-audit.m4 | ||
virt-avahi.m4 | ||
virt-blkid.m4 | ||
virt-capng.m4 | ||
virt-compile-pie.m4 | ||
virt-compile-warnings.m4 | ||
virt-curl.m4 | ||
virt-dbus.m4 | ||
virt-driver-bhyve.m4 | ||
virt-driver-vz.m4 | ||
virt-fuse.m4 | ||
virt-gluster.m4 | ||
virt-hal.m4 | ||
virt-lib.m4 | ||
virt-linker-no-indirect.m4 | ||
virt-linker-relro.m4 | ||
virt-login-shell.m4 | ||
virt-netcf.m4 | ||
virt-numactl.m4 | ||
virt-openwsman.m4 | ||
virt-pciaccess.m4 | ||
virt-pkgconfig-back-compat.m4 | ||
virt-readline.m4 | ||
virt-result.m4 | ||
virt-sanlock.m4 | ||
virt-sasl.m4 | ||
virt-selinux.m4 | ||
virt-ssh2.m4 | ||
virt-systemd-daemon.m4 | ||
virt-udev.m4 | ||
virt-wireshark.m4 | ||
virt-yajl.m4 |