diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-06-14 15:28:43 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-06-14 15:28:43 +0000 |
commit | fe8d0ce8e594a8d362f3b034aa8d5240db8f09f0 (patch) | |
tree | f14cca2f6bd83cb6e074dac0949dba694fae19f2 /libpam | |
parent | 1b8c3c439aca2b3849328666a0d022c1685b7bdf (diff) | |
download | linux-pam-git-fe8d0ce8e594a8d362f3b034aa8d5240db8f09f0.tar.gz |
Relevant BUGIDs:
Purpose of commit: cleanup
Commit summary:
---------------
2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
* configure.in: Remove --enable-memory-debug, add option
to disable prelude if installed.
* modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
* modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
* modules/pam_unix/unix_chkpwd.c: Likewise.
* libpam/include/security/_pam_types.h: Likewise.
* libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
* libpam/pam_malloc.c: Remove file.
* libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
Diffstat (limited to 'libpam')
-rw-r--r-- | libpam/Makefile.am | 4 | ||||
-rw-r--r-- | libpam/include/security/_pam_types.h | 9 | ||||
-rw-r--r-- | libpam/libpam.map | 9 |
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; |