From bc7424a26860cc26630a80e5500284f3af36b940 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 27 Jun 2006 13:07:42 +0000 Subject: Relevant BUGIDs: Purpose of commit: new feature Commit summary: --------------- * modules/pam_namespace/pam_namespace.c: New module originally written by Janak Desai. * modules/pam_namespace/Makefile.am: New. * modules/pam_namespace/README: New. * modules/pam_namespace/md5.c: New. * modules/pam_namespace/md5.h: New. * modules/pam_namespace/namespace.conf: New. * modules/pam_namespace/namespace.conf.5: New. * modules/pam_namespace/namespace.conf.5.xml: New. * modules/pam_namespace/namespace.init: New. * modules/pam_namespace/pam_namespace.8: New. * modules/pam_namespace/pam_namespace.8.xml: New. * modules/Makefile.am: Added pam_namespace. * configure.in: Added pam_namespace, test for unshare library call. --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 315c89cc..6242e48d 100644 --- a/configure.in +++ b/configure.in @@ -355,6 +355,9 @@ AC_SUBST(LIBNSL) AC_CHECK_LIB([selinux],[getfilecon], LIBSELINUX="-lselinux", LIBSELINUX="") 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]) +fi dnl Checks for header files. AC_HEADER_DIRENT @@ -388,6 +391,8 @@ 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) +AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no]) +AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes]) dnl Checks for programs/utilities AC_CHECK_PROG(SGML2PS, sgml2ps, yes, no) @@ -489,6 +494,7 @@ AC_OUTPUT(Makefile libpam/Makefile libpamc/Makefile libpamc/test/Makefile \ modules/pam_limits/Makefile modules/pam_listfile/Makefile \ modules/pam_localuser/Makefile modules/pam_mail/Makefile \ modules/pam_mkhomedir/Makefile modules/pam_motd/Makefile \ + modules/pam_namespace/Makefile \ modules/pam_nologin/Makefile modules/pam_permit/Makefile \ modules/pam_rhosts/Makefile \ modules/pam_rootok/Makefile modules/pam_exec/Makefile \ -- cgit v1.2.3