Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2002 08:00:10 -0800 (PST)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 22200 for review
Message-ID:  <200212121600.gBCG0AYv097157@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <dlfcn.h>
@@ -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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212121600.gBCG0AYv097157>