]> 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)
committerEric Blake <eblake@redhat.com>
Tue, 23 Dec 2014 20:19:08 +0000 (13:19 -0700)
commitb11c0505f0c5c33681941f534d6211594c72400e
treeeec7163cf6826fcb1a536db934a3375c8847bbfb
parenta425367d2df34c4ffeb078ff484d9ae7a832b6e8
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)

Conflicts:
tests/securityselinuxhelper.c - context: no commit 95577af
m4/virt-selinux.m4
tests/securityselinuxhelper.c