summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Walsh <dwalsh@redhat.com>2011-09-20 15:46:38 -0400
committerMiroslav Grepl <mgrepl@redhat.com>2014-04-11 18:28:09 +0200
commit0332c009bd0581ab9a75a4ea80af92bb2d6b8b1f (patch)
treecfe1e530e7d1d99eb9aa9b89cc8e06683b74cd9b
parent852dfaa124379e84f6363c30c0ef56f00fa4b235 (diff)
downloadsetools-0332c009bd0581ab9a75a4ea80af92bb2d6b8b1f.tar.gz
setools-0332c009bd0581ab9a75a4ea80af92bb2d6b8b1f.tar.xz
setools-0332c009bd0581ab9a75a4ea80af92bb2d6b8b1f.zip
Fix sepol calls to work with latest libsepol
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 577ce48..2a5b55b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -521,7 +521,7 @@ else
[AC_LANG_SOURCE([
#include <sepol/policydb/expand.h>
int main () {
- return role_set_expand(NULL, NULL, NULL, NULL);
+ return role_set_expand(NULL, NULL, NULL, NULL, NULL);
}])],
sepol_new_user_role_mapping="yes",
sepol_new_user_role_mapping="no")
@@ -578,7 +578,7 @@ if test ${sepol_check_boolmap} = "yes"; then
[AC_LANG_SOURCE([
#include <sepol/policydb/expand.h>
int main () {
- return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0);
+ return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0);
}])],
AC_MSG_RESULT([yes]),
AC_MSG_ERROR([this version of libsepol is incompatible with SETools]))