diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2001-12-09 21:44:58 +0000 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2001-12-09 21:44:58 +0000 |
commit | cb7734d4080f3673a34594ee4c6e7b02dcd89f33 (patch) | |
tree | 5e7babe08405fbf5797134cfc65e505081d3d267 /modules | |
parent | 8bf846fce14a451c2271ffb853dd750aae9c4725 (diff) | |
download | pam-cb7734d4080f3673a34594ee4c6e7b02dcd89f33.tar.gz pam-cb7734d4080f3673a34594ee4c6e7b02dcd89f33.tar.bz2 pam-cb7734d4080f3673a34594ee4c6e7b02dcd89f33.zip |
Relevant BUGIDs: 485454
Purpose of commit: cleanup
Commit summary:
---------------
The malloc debugging stuff appears to have had a few residual issues
that I've fixed (trying to resolve another checkin!).
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam_filter/upperLOWER/upperLOWER.c | 4 | ||||
-rw-r--r-- | modules/pam_pwdb/pwdb_chkpwd.c | 6 | ||||
-rw-r--r-- | modules/pam_tally/pam_tally.c | 4 | ||||
-rw-r--r-- | modules/pam_unix/unix_chkpwd.c | 6 |
4 files changed, 20 insertions, 0 deletions
diff --git a/modules/pam_filter/upperLOWER/upperLOWER.c b/modules/pam_filter/upperLOWER/upperLOWER.c index c5f9366c..e750e877 100644 --- a/modules/pam_filter/upperLOWER/upperLOWER.c +++ b/modules/pam_filter/upperLOWER/upperLOWER.c @@ -9,6 +9,10 @@ #include <security/_pam_aconf.h> +#ifdef MEMORY_DEBUG +# undef exit +#endif /* MEMORY_DEBUG */ + #include <stdio.h> #include <stdlib.h> #include <syslog.h> diff --git a/modules/pam_pwdb/pwdb_chkpwd.c b/modules/pam_pwdb/pwdb_chkpwd.c index 36cf0984..e4fe38f8 100644 --- a/modules/pam_pwdb/pwdb_chkpwd.c +++ b/modules/pam_pwdb/pwdb_chkpwd.c @@ -15,6 +15,12 @@ #include <security/_pam_aconf.h> +#ifdef MEMORY_DEBUG +# undef exit +# undef strdup +# undef free +#endif /* MEMORY_DEBUG */ + #include <stdarg.h> #include <stdio.h> #include <stdlib.h> diff --git a/modules/pam_tally/pam_tally.c b/modules/pam_tally/pam_tally.c index e0b60dec..3da37f40 100644 --- a/modules/pam_tally/pam_tally.c +++ b/modules/pam_tally/pam_tally.c @@ -13,6 +13,10 @@ #include <security/_pam_aconf.h> +#if defined(MAIN) && defined(MEMORY_DEBUG) +# undef exit +#endif /* defined(MAIN) && defined(MEMORY_DEBUG) */ + #include <stdio.h> #include <string.h> #include <unistd.h> diff --git a/modules/pam_unix/unix_chkpwd.c b/modules/pam_unix/unix_chkpwd.c index 0a965190..9581d046 100644 --- a/modules/pam_unix/unix_chkpwd.c +++ b/modules/pam_unix/unix_chkpwd.c @@ -15,6 +15,12 @@ #include <security/_pam_aconf.h> +#ifdef MEMORY_DEBUG +# undef exit +# undef strdup +# undef free +#endif /* MEMORY_DEBUG */ + #include <stdarg.h> #include <stdio.h> #include <stdlib.h> |