b6b1e29706
- add exclusive login mode of operation to pam_selinux_permit (original patch by Dan Walsh)
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
diff -up Linux-PAM-0.99.8.1/configure.in.setkeycreatecon Linux-PAM-0.99.8.1/configure.in
|
|
--- Linux-PAM-0.99.8.1/configure.in.setkeycreatecon 2008-01-28 17:22:40.000000000 +0100
|
|
+++ Linux-PAM-0.99.8.1/configure.in 2008-01-28 17:26:25.000000000 +0100
|
|
@@ -379,6 +379,7 @@ AC_SUBST(LIBDB)
|
|
AM_CONDITIONAL([HAVE_LIBDB], [test ! -z "$LIBDB"])
|
|
|
|
AC_CHECK_LIB([nsl],[yp_get_default_domain], LIBNSL="-lnsl", LIBNSL="")
|
|
+BACKUP_LIBS=$LIBS
|
|
LIBS="$LIBS $LIBNSL"
|
|
AC_CHECK_FUNCS(yp_get_default_domain)
|
|
LIBS=$BACKUP_LIBS
|
|
@@ -396,6 +397,10 @@ AC_SUBST(LIBSELINUX)
|
|
AM_CONDITIONAL([HAVE_LIBSELINUX], [test ! -z "$LIBSELINUX"])
|
|
if test ! -z "$LIBSELINUX" ; then
|
|
AC_DEFINE([WITH_SELINUX], 1, [Defined if SE Linux support is compiled in])
|
|
+ BACKUP_LIBS=$LIBS
|
|
+ LIBS="$LIBS $LIBSELINUX"
|
|
+ AC_CHECK_FUNCS(setkeycreatecon)
|
|
+ LIBS=$BACKUP_LIBS
|
|
fi
|
|
|
|
dnl Checks for header files.
|
|
@@ -428,7 +433,7 @@ AC_CHECK_FUNCS(fseeko gethostname gettim
|
|
AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol uname)
|
|
AC_CHECK_FUNCS(getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r)
|
|
AC_CHECK_FUNCS(getgrouplist getline getdelim)
|
|
-AC_CHECK_FUNCS(inet_ntop inet_pton ruserok_af setkeycreatecon)
|
|
+AC_CHECK_FUNCS(inet_ntop inet_pton ruserok_af)
|
|
|
|
AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no])
|
|
AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes])
|