Lines Matching defs:type

471 			if (auth_rep->type != NULL)
472 free(auth_rep->type);
488 d->type = strdup(s->type);
489 if (d->type == NULL)
514 item ? (((struct pam_repository *)item)->type ?
515 ((struct pam_repository *)item)->type : "NULL") :
587 *item ? (((struct pam_repository *)*item)->type ?
588 ((struct pam_repository *)*item)->type : "NULL") :
1007 * Run through the PAM service module stack for the given module type.
1010 run_stack(pam_handle_t *pamh, const char *pam_config, int flags, int type,
1033 pamh->type = type;
1054 type)) != PAM_SUCCESS) {
1068 modulep = pamh->pam_conf_info[pamh->include_depth][type];
1100 service, type)) != PAM_SUCCESS) {
1111 [pamh->include_depth][type];
1120 if ((err = load_modules(pamh, type, sm_name(ind),
1122 [pamh->include_depth][type])) != PAM_SUCCESS) {
1129 } else if ((err = load_modules(pamh, type, sm_name(ind),
1678 retval = run_stack(pamh, conf_path, pamh->flags, pamh->type,
1697 load_modules(pam_handle_t *pamh, int type, char *function_name,
1726 switch (type) {
1906 "load_modules[%d:%s](%p, %s): unsupported type %d",
1908 (void *)pamh, function_name, type);
2177 int type)
2190 if (read_pam_conf(pamh, PAM_CONFIG, service, type,
2192 if (read_pam_conf(pamh, NULL, service, type,
2195 type, B_FALSE) != PAM_SUCCESS) {
2197 "other", type, B_TRUE));
2211 if (read_pam_conf(pamh, pam_config, service, type,
2213 if (read_pam_conf(pamh, pam_config, "other", type,
2216 type, B_TRUE) != PAM_SUCCESS) {
2218 "other", type, B_TRUE));
2232 read_pam_conf(pam_handle_t *pamh, const char *config, char *service, int type,
2320 /* no entry found for the specified service module type */
2321 if (pamh->pam_conf_info[i][type] == NULL) {
2326 "service = %s type = %d pam.d = %d error = %d", i,
2328 "/etc/pam.d/<service>", service, type, pamdotd, error);
2416 /* get module type (e.g. authentication, acct mgmt) */
2434 * If the token read isn't a PAM service module type then it is
2449 "type: %s", pam_trace_cname(pamh), current_line,
2729 * but, the type, flag, line overflow, or path is in error.
2766 if (auth_rep->type != NULL)
2767 free(auth_rep->type);
3043 * and "type" is:
3049 * and "type" is:
3059 __pam_get_authtok(pam_handle_t *pamh, int source, int type, char *prompt,
3078 switch (type) {
3082 if ((error = pam_get_item(pamh, type,
3096 "__pam_get_authtok() invalid type: %d", type);
3120 if (type) {
3121 if ((error = pam_get_item(pamh, type,
3127 (void) pam_set_item(pamh, type, ret_resp->resp);