diff options
Diffstat (limited to 'libsandbox/libsandbox.c')
-rw-r--r-- | libsandbox/libsandbox.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c index eac134e..60d4614 100644 --- a/libsandbox/libsandbox.c +++ b/libsandbox/libsandbox.c @@ -10,18 +10,11 @@ * as some of the InstallWatch code was used. */ -/* Uncomment below to enable memory debugging. */ -/* #define SB_MEM_DEBUG 1 */ - #define open xxx_open #define open64 xxx_open64 #include "headers.h" -#ifdef SB_MEM_DEBUG -# include <mcheck.h> -#endif - #undef open #undef open64 @@ -74,16 +67,6 @@ static void init_env_entries(char ***, int *, const char *, const char *, int); const char sbio_fallback_path[] = "/dev/tty"; -#ifdef SB_MEM_DEBUG -__attribute__((constructor)) -void libsb_init(void) -{ - save_errno(); - mtrace(); - restore_errno(); -} -#endif - /* resolve_dirfd_path - get the path relative to a dirfd * * return value: |