summaryrefslogtreecommitdiff
path: root/libpam
diff options
context:
space:
mode:
Diffstat (limited to 'libpam')
-rw-r--r--libpam/Makefile.am4
-rw-r--r--libpam/include/security/_pam_types.h9
-rw-r--r--libpam/libpam.map9
3 files changed, 2 insertions, 20 deletions
diff --git a/libpam/Makefile.am b/libpam/Makefile.am
index a137a242..56d59f88 100644
--- a/libpam/Makefile.am
+++ b/libpam/Makefile.am
@@ -15,7 +15,7 @@ CLEANFILES = *~
EXTRA_DIST = libpam.map
include_HEADERS = $(addprefix include/security/, _pam_compat.h _pam_macros.h _pam_types.h \
- pam_appl.h pam_malloc.h pam_modules.h pam_ext.h pam_modutil.h)
+ pam_appl.h pam_modules.h pam_ext.h pam_modutil.h)
noinst_HEADERS = pam_prelude.h pam_private.h pam_tokens.h \
pam_modutil_private.h pam_static_modules.h
@@ -33,7 +33,7 @@ lib_LTLIBRARIES = libpam.la
libpam_la_SOURCES = pam_account.c pam_auth.c pam_data.c pam_delay.c \
pam_dispatch.c pam_end.c pam_env.c pam_handlers.c pam_item.c \
- pam_malloc.c pam_misc.c pam_password.c pam_prelude.c \
+ pam_misc.c pam_password.c pam_prelude.c \
pam_session.c pam_start.c pam_static.c pam_strerror.c \
pam_vprompt.c pam_syslog.c pam_dynamic.c pam_audit.c \
pam_modutil_cleanup.c pam_modutil_getpwnam.c pam_modutil_ioloop.c \
diff --git a/libpam/include/security/_pam_types.h b/libpam/include/security/_pam_types.h
index 85658f3b..45bae97b 100644
--- a/libpam/include/security/_pam_types.h
+++ b/libpam/include/security/_pam_types.h
@@ -212,15 +212,6 @@ pam_getenvlist(pam_handle_t *pamh);
#define HAVE_PAM_FAIL_DELAY
extern int pam_fail_delay(pam_handle_t *pamh, unsigned int musec_delay);
-#ifdef MEMORY_DEBUG
-/*
- * this defines some macros that keep track of what memory has been
- * allocated and indicates leakage etc... It should not be included in
- * production application/modules.
- */
-#include <security/pam_malloc.h>
-#endif
-
/* ------------ The Linux-PAM conversation structures ------------ */
/* Message styles */
diff --git a/libpam/libpam.map b/libpam/libpam.map
index 596754a8..1c2c4480 100644
--- a/libpam/libpam.map
+++ b/libpam/libpam.map
@@ -22,15 +22,6 @@ LIBPAM_1.0 {
local:
*;
};
-LIBPAM_MALLOC_DEBUG_1.0 {
- global:
- pam_malloc;
- pam_calloc;
- pam_free;
- pam_realloc;
- pam_exit;
- pam_strdup;
-};
LIBPAM_EXTENSION_1.0 {
global:
pam_prompt;