Detach old debug system from new
Fixes DEBUG.
src/debug.c +0 -7
@@ -42,16 +42,9 @@void sepol_enable_debug (void (*fn)(const char * fname,const char *fmt, ...)) { -DEBUG = (fn)? fn: default_printf; - -/* Compatibility - old debug system */ -sepol_debug (1 ); }void sepol_disable_debug () {DEBUG = suppress_printf; - -/* Compatibility - old debug system */ -sepol_debug (0 ); }
Stephen Smalley
AppliedQuoted 1 line · Ivan Gyurdiev
Fixes DEBUG.
Thanks, applied.
Also applied this one:
Index: libsepol/src/policydb.c
===================================================================
RCS file: /nfshome/pal/CVS/selinux-usr/libsepol/src/policydb.c,v retrieving revision 1.29
retrieving revision 1.30
src/policydb.c +1 -0
@@ -51,6 +51,7 @@#include <sepol/avrule_block.h> #include "private.h" +#include "debug.h" /* These need to be updated if SYM_NUM or OCON_NUM changes */ static struct policydb_compat_info policydb_compat[] = {
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.