Mercurial > dropbear
diff debug.h @ 658:d4d0279710b9
- Initialise sa_mask properly
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 04 Dec 2011 05:41:46 +0800 |
parents | d3ea8b9672f0 |
children | 1e0414b29ce9 |
line wrap: on
line diff
--- a/debug.h Tue Feb 21 23:00:30 2012 +0800 +++ b/debug.h Sun Dec 04 05:41:46 2011 +0800 @@ -31,7 +31,7 @@ /* Work well for valgrind - don't clear environment, be nicer with signals * etc. Don't use this normally, it might cause problems */ -/* #define DEBUG_VALGRIND */ +#define DEBUG_VALGRIND /* Define this to compile in trace debugging printf()s. * You'll need to run programs with "-v" to turn this on. @@ -39,7 +39,7 @@ * Caution: Don't use this in an unfriendly environment (ie unfirewalled), * since the printing may not sanitise strings etc. This will add a reasonable * amount to your executable size. */ -/*#define DEBUG_TRACE */ +#define DEBUG_TRACE /* All functions writing to the cleartext payload buffer call * CHECKCLEARTOWRITE() before writing. This is only really useful if you're @@ -69,7 +69,7 @@ /* To debug with GDB it is easier to run with no forking of child processes. You will need to pass "-F" as well. */ -/* #define DEBUG_NOFORK */ +#define DEBUG_NOFORK /* For testing as non-root on shadowed systems, include the crypt of a password