]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix build with libselinux 2.3
authorCédric Bosdonnat <cbosdonnat@suse.com>
Wed, 28 May 2014 12:44:08 +0000 (14:44 +0200)
committerCole Robinson <crobinso@redhat.com>
Mon, 8 Sep 2014 16:22:56 +0000 (12:22 -0400)
commit979b214dffb271938682cbc48605fe50c8022964
tree8b2805dd19ac336a598d557a1998e6d58974e89f
parentf4cea19b46bf8227fe86e49087ec7c0fe837b58d
build: fix build with libselinux 2.3

Several function signatures changed in libselinux 2.3, now taking
a 'const char *' instead of 'security_context_t'.  The latter is
defined in selinux/selinux.h as

  typedef char *security_context_t;

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 292d3f2d38e8faca075ababcb652f2e090b745b2)
m4/virt-selinux.m4
tests/securityselinuxhelper.c