2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Wrap error/errorx and warning/warningx functions with debug statements.

Disable wrapping for standalone sudoers programs as well as memory
allocation functions (to avoid infinite recursion).
This commit is contained in:
Todd C. Miller
2011-10-22 14:28:33 -04:00
parent 749a7695d0
commit 9923464d96
7 changed files with 84 additions and 24 deletions

View File

@@ -88,6 +88,8 @@
#include <pathnames.h>
#define SUDO_ERROR_WRAP 0 /* XXX */
#include "missing.h"
#include "alloc.h"
#include "error.h"