]> xenbits.xensource.com Git - 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)
committerEric Blake <eblake@redhat.com>
Wed, 28 May 2014 18:17:04 +0000 (12:17 -0600)
commit292d3f2d38e8faca075ababcb652f2e090b745b2
tree12c0a5c500e8d276d0a2fd330c7b414e52127167
parent0b317d61fc3f7c1163e20166bb5a065caba0bc9e
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>
m4/virt-selinux.m4
tests/securityselinuxhelper.c