File empty_nologin.patch of Package pam.14449

Index: Linux-PAM-1.1.5/modules/pam_nologin/pam_nologin.c
===================================================================
--- Linux-PAM-1.1.5.orig/modules/pam_nologin/pam_nologin.c
+++ Linux-PAM-1.1.5/modules/pam_nologin/pam_nologin.c
@@ -109,6 +109,10 @@ static int perform_check(pam_handle_t *p
 	    goto clean_up_fd;
 	}
 
+	if (st.st_size == 0) {
+	    pam_syslog(pamh, LOG_NOTICE, "nologin active !!!");
+	}
+
 	mtmp = malloc(st.st_size+1);
 	if (!mtmp) {
 	    pam_syslog(pamh, LOG_ERR, "out of memory");
openSUSE Build Service is sponsored by