aboutsummaryrefslogtreecommitdiff
path: root/libpam
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2023-12-06 20:24:00 +0100
committerDmitry V. Levin <ldv@strace.io>2023-12-18 09:10:08 +0000
commitf186c320aaca53b9c9e724fbe1bc0c8b7b4f7ff8 (patch)
treebf22bcb4b98269dae85df48d73b4188a064e0cd7 /libpam
parentfe6287140bc4d37e6ef36ca1387ce1403b6dd742 (diff)
downloadpam-f186c320aaca53b9c9e724fbe1bc0c8b7b4f7ff8.tar.gz
pam-f186c320aaca53b9c9e724fbe1bc0c8b7b4f7ff8.tar.bz2
pam-f186c320aaca53b9c9e724fbe1bc0c8b7b4f7ff8.zip
libpam: remove function prefixes in debug messages
The D macro itself already adds the function names. It is a follow up to 79f97b5dfddbd54942036851e49c369502689853. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'libpam')
-rw-r--r--libpam/pam_auth.c8
-rw-r--r--libpam/pam_end.c4
-rw-r--r--libpam/pam_misc.c2
-rw-r--r--libpam/pam_password.c2
-rw-r--r--libpam/pam_start.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/libpam/pam_auth.c b/libpam/pam_auth.c
index 8ad925ed..fdaf95db 100644
--- a/libpam/pam_auth.c
+++ b/libpam/pam_auth.c
@@ -15,7 +15,7 @@ int pam_authenticate(pam_handle_t *pamh, int flags)
{
int retval;
- D(("pam_authenticate called"));
+ D(("called."));
IF_NO_PAMH(pamh, PAM_SYSTEM_ERR);
@@ -36,7 +36,7 @@ int pam_authenticate(pam_handle_t *pamh, int flags)
if (retval != PAM_INCOMPLETE) {
_pam_sanitize(pamh);
_pam_await_timer(pamh, retval); /* if unsuccessful then wait now */
- D(("exit"));
+ D(("exiting"));
} else {
D(("will resume when ready"));
}
@@ -52,7 +52,7 @@ int pam_setcred(pam_handle_t *pamh, int flags)
{
int retval;
- D(("pam_setcred called"));
+ D(("called."));
IF_NO_PAMH(pamh, PAM_SYSTEM_ERR);
@@ -67,7 +67,7 @@ int pam_setcred(pam_handle_t *pamh, int flags)
retval = _pam_dispatch(pamh, flags, PAM_SETCRED);
- D(("pam_setcred exit"));
+ D(("exiting"));
return retval;
}
diff --git a/libpam/pam_end.c b/libpam/pam_end.c
index 21e1cd4b..c374dbca 100644
--- a/libpam/pam_end.c
+++ b/libpam/pam_end.c
@@ -13,7 +13,7 @@ int pam_end(pam_handle_t *pamh, int pam_status)
{
int ret;
- D(("entering pam_end()"));
+ D(("called."));
IF_NO_PAMH(pamh, PAM_SYSTEM_ERR);
@@ -93,7 +93,7 @@ int pam_end(pam_handle_t *pamh, int pam_status)
_pam_drop(pamh);
- D(("exiting pam_end() successfully"));
+ D(("exiting successfully"));
return PAM_SUCCESS;
}
diff --git a/libpam/pam_misc.c b/libpam/pam_misc.c
index f4e81a55..a843ebc7 100644
--- a/libpam/pam_misc.c
+++ b/libpam/pam_misc.c
@@ -210,7 +210,7 @@ int _pam_mkargv(const char *s, char ***argv, int *argc)
*argv = our_argv;
- D(("_pam_mkargv returned"));
+ D(("exiting"));
return(argvlen);
}
diff --git a/libpam/pam_password.c b/libpam/pam_password.c
index 663d4765..5bda547b 100644
--- a/libpam/pam_password.c
+++ b/libpam/pam_password.c
@@ -52,7 +52,7 @@ int pam_chauthtok(pam_handle_t *pamh, int flags)
_pam_sanitize(pamh);
pamh->former.update = PAM_FALSE;
_pam_await_timer(pamh, retval); /* if unsuccessful then wait now */
- D(("pam_chauthtok exit %d - %d", retval, pamh->former.choice));
+ D(("exiting %d - %d", retval, pamh->former.choice));
} else {
D(("will resume when ready"));
}
diff --git a/libpam/pam_start.c b/libpam/pam_start.c
index c32ce61c..b3e90ce1 100644
--- a/libpam/pam_start.c
+++ b/libpam/pam_start.c
@@ -168,7 +168,7 @@ static int _pam_start_internal (
return PAM_ABORT;
}
- D(("exiting pam_start successfully"));
+ D(("exiting successfully"));
return PAM_SUCCESS;
}