[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Patch 1: Abort on Load Error



Without this patch, a system on which modules have been removed
is wide open.  Oops.

--- Linux-PAM-0.50/libpam/pam_handlers.c.sopwith	Thu Jul 25 19:03:51 1996
+++ Linux-PAM-0.50/libpam/pam_handlers.c	Thu Jul 25 19:27:23 1996
@@ -165,7 +165,7 @@
 				   mod_path, argc, argv, argvlen);
 	    if (res != PAM_SUCCESS) {
 		_pam_log_error("error loading %s", mod_path);
-		continue;
+		return (PAM_ABORT);
 	    }
 	}
     }




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []