diff options
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> |