|
|
0fd1802 |
From 2b58d92add64b53b16cbb438e7b69e85d046afd1 Mon Sep 17 00:00:00 2001
|
|
|
0fd1802 |
From: Dan Walsh <dwalsh@redhat.com>
|
|
|
0fd1802 |
Date: Tue, 20 Sep 2011 15:46:38 -0400
|
|
|
0fd1802 |
Subject: [PATCH 5/6] Fix sepol calls to work with latest libsepol
|
|
|
0fd1802 |
|
|
|
0fd1802 |
---
|
|
|
0fd1802 |
configure.ac | 4 ++--
|
|
|
0fd1802 |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
0fd1802 |
|
|
|
0fd1802 |
diff --git a/configure.ac b/configure.ac
|
|
|
0fd1802 |
index e837e03..3c11e23 100644
|
|
|
0fd1802 |
--- a/configure.ac
|
|
|
0fd1802 |
+++ b/configure.ac
|
|
|
0fd1802 |
@@ -505,7 +505,7 @@ AC_COMPILE_IFELSE(
|
|
|
0fd1802 |
[AC_LANG_SOURCE([
|
|
|
0fd1802 |
#include <sepol/policydb/expand.h>
|
|
|
0fd1802 |
int main () {
|
|
|
0fd1802 |
- return role_set_expand(NULL, NULL, NULL, NULL);
|
|
|
0fd1802 |
+ return role_set_expand(NULL, NULL, NULL, NULL, NULL);
|
|
|
0fd1802 |
}])],
|
|
|
0fd1802 |
sepol_new_user_role_mapping="yes",
|
|
|
0fd1802 |
sepol_new_user_role_mapping="no")
|
|
|
0fd1802 |
@@ -541,7 +541,7 @@ if test ${sepol_check_boolmap} = "yes"; then
|
|
|
0fd1802 |
[AC_LANG_SOURCE([
|
|
|
0fd1802 |
#include <sepol/policydb/expand.h>
|
|
|
0fd1802 |
int main () {
|
|
|
0fd1802 |
- return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0);
|
|
|
0fd1802 |
+ return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0);
|
|
|
0fd1802 |
}])],
|
|
|
0fd1802 |
AC_MSG_RESULT([yes]),
|
|
|
0fd1802 |
AC_MSG_ERROR([this version of libsepol is incompatible with SETools]))
|
|
|
0fd1802 |
--
|
|
|
0fd1802 |
1.7.6.2
|
|
|
0fd1802 |
|