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

Go back to a 2 args debug_decl and just use the "default" instance,

now renamed "active".
This commit is contained in:
Todd C. Miller
2015-02-01 08:24:49 -07:00
parent e71726d0f9
commit 59ab26dbcc
95 changed files with 843 additions and 895 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 1998-2005, 2010-2012, 2014
* Copyright (c) 1996, 1998-2005, 2010-2012, 2014-2015
* Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
@@ -81,7 +81,7 @@ char *
sudo_getepw(const struct passwd *pw)
{
char *epw = NULL;
debug_decl(sudo_getepw, SUDOERS_DEBUG_AUTH, sudoers_debug_instance)
debug_decl(sudo_getepw, SUDOERS_DEBUG_AUTH)
/* If there is a function to check for shadow enabled, use it... */
#ifdef HAVE_ISCOMSEC
@@ -148,7 +148,7 @@ done:
void
sudo_setspent(void)
{
debug_decl(sudo_setspent, SUDOERS_DEBUG_AUTH, sudoers_debug_instance)
debug_decl(sudo_setspent, SUDOERS_DEBUG_AUTH)
#ifdef HAVE_GETPRPWNAM
setprpwent();
@@ -171,7 +171,7 @@ sudo_setspent(void)
void
sudo_endspent(void)
{
debug_decl(sudo_endspent, SUDOERS_DEBUG_AUTH, sudoers_debug_instance)
debug_decl(sudo_endspent, SUDOERS_DEBUG_AUTH)
#ifdef HAVE_GETPRPWNAM
endprpwent();