PATCH: Check audit_log_user_avc_message for libaudit
H. J. Lu
hjl@lucon.org
Tue Jan 3 23:01:00 GMT 2006
/usr/lib64/libaudit.so on RHEL 4 U2 doesn't have
audit_log_user_avc_message which is used by nscd/selinux.c. Since
configure checks audit_log_avc for libaudit, it leads to the
build failure. This patch changes it to audit_log_user_avc_message.
H.J.
---
2006-01-03 H.J. Lu <hongjiu.lu@intel.com>
* configure.in (HAVE_LIBAUDIT): Check
audit_log_user_avc_message instead of audit_log_avc.
* configure: Regenerated.
--- libc/configure.in.audit 2006-01-03 14:03:03.000000000 -0800
+++ libc/configure.in 2006-01-03 14:53:24.000000000 -0800
@@ -1996,7 +1996,7 @@ if test "x$have_selinux" = xyes; then
AC_DEFINE(HAVE_SELINUX,1,[SELinux support])
# See if we have the libaudit library
- AC_CHECK_LIB(audit, audit_log_avc,
+ AC_CHECK_LIB(audit, audit_log_user_avc_message,
have_libaudit=yes, have_libaudit=no)
if test "x$have_libaudit" = xyes; then
AC_DEFINE(HAVE_LIBAUDIT,1,[SELinux libaudit support])
More information about the Libc-alpha
mailing list