diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/pam_systemd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c index 65d09886be..3a009d8e37 100644 --- a/src/login/pam_systemd.c +++ b/src/login/pam_systemd.c @@ -948,7 +948,7 @@ _public_ PAM_EXTERN int pam_sm_open_session( /* Talk to logind over the message bus */ - r = pam_acquire_bus_connection(handle, &bus); + r = pam_acquire_bus_connection(handle, "pam-systemd", &bus); if (r != PAM_SUCCESS) return r; @@ -1115,7 +1115,7 @@ success: /* Let's release the D-Bus connection, after all the session might live quite a long time, and we are * not going to use the bus connection in that time, so let's better close before the daemon kicks us * off because we are not processing anything. */ - (void) pam_release_bus_connection(handle); + (void) pam_release_bus_connection(handle, "pam-systemd"); return PAM_SUCCESS; } @@ -1159,7 +1159,7 @@ _public_ PAM_EXTERN int pam_sm_close_session( /* Before we go and close the FIFO we need to tell logind that this is a clean session * shutdown, so that it doesn't just go and slaughter us immediately after closing the fd */ - r = pam_acquire_bus_connection(handle, &bus); + r = pam_acquire_bus_connection(handle, "pam-systemd", &bus); if (r != PAM_SUCCESS) return r; |