]> granicus.if.org Git - linux-pam/blobdiff - _pam_aconf.h.in
Relevant BUGIDs:
[linux-pam] / _pam_aconf.h.in
index ba6d82b52146eb116d2fdd6a3cd581c11f2e1ef7..1b1cde9581580ca6d1ba15be47d15b45afc245ce 100644 (file)
@@ -21,9 +21,6 @@
 #ifdef HAVE_FEATURES_H
 # define _SVID_SOURCE
 # define _BSD_SOURCE
-# define __USE_BSD
-# define __USE_SVID
-# define __USE_MISC
 # define _GNU_SOURCE
 # include <features.h>
 #endif /* HAVE_FEATURES_H */
 /* have libpwdb - don't expect this to be important for much longer */
 #undef HAVE_LIBPWDB
 
+/* have gethostname() declared */
+#undef HAVE_GETHOSTNAME
+
+#undef HAVE_GETTIMEOFDAY
+#undef HAVE_MKDIR
+#undef HAVE_SELECT
+#undef HAVE_STRCSPN
+#undef HAVE_STRDUP
+#undef HAVE_STRERROR
+#undef HAVE_STRSPN
+#undef HAVE_STRSTR
+#undef HAVE_STRTOL
+#undef HAVE_UNAME
+
+/* Define if reentrant declarations of standard nss functions are available */
+#undef HAVE_GETPWNAM_R
+#undef HAVE_GETPWUID_R
+#undef HAVE_GETSPNAM_R
+#undef HAVE_GETGRNAM_R
+#undef HAVE_GETGRGID_R
+#undef HAVE_GETGROUPLIST
+
 /* ugly hack to partially support old pam_strerror syntax */
 #undef UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT
 
 /* location of the mail spool directory */
 #undef PAM_PATH_MAILDIR
 
+/* where should we include setfsuid's prototype from? If this is not
+   defined, we get it from unistd.h */
+#undef HAVE_SYS_FSUID_H
+
+/* track all memory allocations and liberations */
+#undef MEMORY_DEBUG
+#ifdef MEMORY_DEBUG
+/*
+ * this is basically a hack - we need to include a semiarbitrary
+ * number of headers to ensure that we don't get silly prototype/macro
+ * confusion.
+ */
+# include <string.h>
+# include <stdlib.h>
+# include <security/pam_malloc.h>
+#endif /* MEMORY_DEBUG */
+
 #endif /* PAM_ACONF_H */