]> granicus.if.org Git - sudo/commit
Always pass __func__, __FILE__ and __LINE__ in sudo_debug_printf()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Apr 2012 17:04:00 +0000 (13:04 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 5 Apr 2012 17:04:00 +0000 (13:04 -0400)
commitabdff2570374afd012fda5392293513a69b1d68e
tree9352058004a63eb55a41a3df87dfc3f00efac4b3
parent2311fed457a12af52f58e2ddc130ec7eef64e986
Always pass __func__, __FILE__ and __LINE__ in sudo_debug_printf()
and use a new flag, SUDO_DEBUG_FILENO to specify when to use it.
This allows consumers of sudo_debug_printf() to log that data without
having to specify it manually.
common/sudo_debug.c
include/error.h
include/sudo_debug.h