pam_error.c (91094) | pam_error.c (91100) |
---|---|
1/*- 2 * Copyright (c) 2002 Networks Associates Technologies, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by ThinkSec AS and 6 * NAI Labs, the Security Research Division of Network Associates, Inc. 7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 8 * DARPA CHATS research program. --- 48 unchanged lines hidden (view full) --- 57 int r; 58 59 va_start(ap, fmt); 60 r = pam_vprompt(pamh, PAM_ERROR_MSG, &rsp, fmt, ap); 61 va_end(ap); 62 free(rsp); /* ignore response */ 63 return (r); 64} | 1/*- 2 * Copyright (c) 2002 Networks Associates Technologies, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by ThinkSec AS and 6 * NAI Labs, the Security Research Division of Network Associates, Inc. 7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 8 * DARPA CHATS research program. --- 48 unchanged lines hidden (view full) --- 57 int r; 58 59 va_start(ap, fmt); 60 r = pam_vprompt(pamh, PAM_ERROR_MSG, &rsp, fmt, ap); 61 va_end(ap); 62 free(rsp); /* ignore response */ 63 return (r); 64} |
65 66/* 67 * Error codes: 68 * 69 * !PAM_SYMBOL_ERR 70 * PAM_SYSTEM_ERR 71 * PAM_BUF_ERR 72 * PAM_CONV_ERR 73 */ 74 75/** 76 * The =pam_info function displays an error message through the 77 * intermediary of the given PAM context's conversation function. 78 * 79 * >pam_info 80 * >pam_prompt 81 * >pam_verror 82 */ |
|