From owner-p4-projects Thu Dec 12 8: 5:10 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3823737B404; Thu, 12 Dec 2002 08:05:08 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9CC437B401 for ; Thu, 12 Dec 2002 08:05:07 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94AD943E4A for ; Thu, 12 Dec 2002 08:05:07 -0800 (PST) (envelope-from des@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBCG0AmV097172 for ; Thu, 12 Dec 2002 08:00:10 -0800 (PST) (envelope-from des@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBCG0AYv097157 for perforce@freebsd.org; Thu, 12 Dec 2002 08:00:10 -0800 (PST) Date: Thu, 12 Dec 2002 08:00:10 -0800 (PST) Message-Id: <200212121600.gBCG0AYv097157@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to des@freebsd.org using -f From: Dag-Erling Smorgrav Subject: PERFORCE change 22200 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=22200 Change 22200 by des@des.at.des.thinksec.com on 2002/12/12 07:59:21 Add an array containing the API names for the PAM primitives. Affected files ... .. //depot/projects/openpam/lib/openpam_load.c#15 edit Differences ... ==== //depot/projects/openpam/lib/openpam_load.c#15 (text+ko) ==== @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/openpam_load.c#14 $ + * $P4: //depot/projects/openpam/lib/openpam_load.c#15 $ */ #include @@ -42,6 +42,15 @@ #include "openpam_impl.h" +const char *_pam_func_name[PAM_NUM_PRIMITIVES] = { + "pam_authenticate", + "pam_setcred", + "pam_acct_mgmt", + "pam_open_session", + "pam_close_session", + "pam_chauthtok" +}; + const char *_pam_sm_func_name[PAM_NUM_PRIMITIVES] = { "pam_sm_authenticate", "pam_sm_setcred", To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message