|
|
4ea9f2 |
From 0332c009bd0581ab9a75a4ea80af92bb2d6b8b1f Mon Sep 17 00:00:00 2001
|
|
|
4ea9f2 |
From: Dan Walsh <dwalsh@redhat.com>
|
|
|
4ea9f2 |
Date: Tue, 20 Sep 2011 15:46:38 -0400
|
|
|
4ea9f2 |
Subject: [PATCH 02/11] Fix sepol calls to work with latest libsepol
|
|
|
4ea9f2 |
|
|
|
4ea9f2 |
---
|
|
|
4ea9f2 |
configure.ac | 4 ++--
|
|
|
4ea9f2 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
4ea9f2 |
|
|
|
4ea9f2 |
diff --git a/configure.ac b/configure.ac
|
|
|
4ea9f2 |
index 577ce48..2a5b55b 100644
|
|
|
4ea9f2 |
--- a/configure.ac
|
|
|
4ea9f2 |
+++ b/configure.ac
|
|
|
4ea9f2 |
@@ -521,7 +521,7 @@ else
|
|
|
4ea9f2 |
[AC_LANG_SOURCE([
|
|
|
4ea9f2 |
#include <sepol/policydb/expand.h>
|
|
|
4ea9f2 |
int main () {
|
|
|
4ea9f2 |
- return role_set_expand(NULL, NULL, NULL, NULL);
|
|
|
4ea9f2 |
+ return role_set_expand(NULL, NULL, NULL, NULL, NULL);
|
|
|
4ea9f2 |
}])],
|
|
|
4ea9f2 |
sepol_new_user_role_mapping="yes",
|
|
|
4ea9f2 |
sepol_new_user_role_mapping="no")
|
|
|
4ea9f2 |
@@ -578,7 +578,7 @@ if test ${sepol_check_boolmap} = "yes"; then
|
|
|
4ea9f2 |
[AC_LANG_SOURCE([
|
|
|
4ea9f2 |
#include <sepol/policydb/expand.h>
|
|
|
4ea9f2 |
int main () {
|
|
|
4ea9f2 |
- return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0);
|
|
|
4ea9f2 |
+ return expand_module_avrules(NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0);
|
|
|
4ea9f2 |
}])],
|
|
|
4ea9f2 |
AC_MSG_RESULT([yes]),
|
|
|
4ea9f2 |
AC_MSG_ERROR([this version of libsepol is incompatible with SETools]))
|
|
|
4ea9f2 |
--
|
|
|
4ea9f2 |
1.8.5.3
|
|
|
4ea9f2 |
|