openpam_dispatch.c (271624) | openpam_dispatch.c (280031) |
---|---|
1/*- 2 * Copyright (c) 2002-2003 Networks Associates Technology, Inc. 3 * Copyright (c) 2004-2011 Dag-Erling Sm��rgrav 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by ThinkSec AS and 7 * Network Associates Laboratories, the Security Research Division of 8 * Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 --- 103 unchanged lines hidden (view full) --- 112 pamh->primitive = primitive; 113 pamh->current = chain; 114 debug = (openpam_get_option(pamh, "debug") != NULL); 115 if (debug) 116 ++openpam_debug; 117 openpam_log(PAM_LOG_LIBDEBUG, "calling %s() in %s", 118 pam_sm_func_name[primitive], chain->module->path); 119 r = (chain->module->func[primitive])(pamh, flags, | 1/*- 2 * Copyright (c) 2002-2003 Networks Associates Technology, Inc. 3 * Copyright (c) 2004-2011 Dag-Erling Sm��rgrav 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by ThinkSec AS and 7 * Network Associates Laboratories, the Security Research Division of 8 * Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 --- 103 unchanged lines hidden (view full) --- 112 pamh->primitive = primitive; 113 pamh->current = chain; 114 debug = (openpam_get_option(pamh, "debug") != NULL); 115 if (debug) 116 ++openpam_debug; 117 openpam_log(PAM_LOG_LIBDEBUG, "calling %s() in %s", 118 pam_sm_func_name[primitive], chain->module->path); 119 r = (chain->module->func[primitive])(pamh, flags, |
120 chain->optc, (const char **)chain->optv); | 120 chain->optc, (const char **)(intptr_t)chain->optv); |
121 pamh->current = NULL; 122 openpam_log(PAM_LOG_LIBDEBUG, "%s: %s(): %s", 123 chain->module->path, pam_sm_func_name[primitive], 124 pam_strerror(pamh, r)); 125 if (debug) 126 --openpam_debug; 127 } 128 --- 126 unchanged lines hidden --- | 121 pamh->current = NULL; 122 openpam_log(PAM_LOG_LIBDEBUG, "%s: %s(): %s", 123 chain->module->path, pam_sm_func_name[primitive], 124 pam_strerror(pamh, r)); 125 if (debug) 126 --openpam_debug; 127 } 128 --- 126 unchanged lines hidden --- |