diff options
author | des <des@FreeBSD.org> | 2007-12-21 11:49:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-12-21 11:49:29 +0000 |
commit | e05e8ab881c687386fca2c534083bee2a0a51c6a (patch) | |
tree | e0ebac8083c1e5e6132058a1e1f258d528230d2d /contrib/openpam/modules/pam_deny/pam_deny.c | |
parent | ea144ae9da6f54d800cd57d9f9292c0db5e08d80 (diff) | |
download | FreeBSD-src-e05e8ab881c687386fca2c534083bee2a0a51c6a.zip FreeBSD-src-e05e8ab881c687386fca2c534083bee2a0a51c6a.tar.gz |
Vendor import of OpenPAM Hydrangea.
Diffstat (limited to 'contrib/openpam/modules/pam_deny/pam_deny.c')
-rw-r--r-- | contrib/openpam/modules/pam_deny/pam_deny.c | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/contrib/openpam/modules/pam_deny/pam_deny.c b/contrib/openpam/modules/pam_deny/pam_deny.c index e2d9a80..f892b65 100644 --- a/contrib/openpam/modules/pam_deny/pam_deny.c +++ b/contrib/openpam/modules/pam_deny/pam_deny.c @@ -1,5 +1,6 @@ /*- * Copyright (c) 2002-2003 Networks Associates Technology, Inc. + * Copyright (c) 2004-2007 Dag-Erling Smørgrav * All rights reserved. * * This software was developed for the FreeBSD Project by ThinkSec AS and @@ -31,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/modules/pam_deny/pam_deny.c#10 $ + * $Id: pam_deny.c 408 2007-12-21 11:36:24Z des $ */ #ifdef HAVE_CONFIG_H @@ -47,6 +48,10 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { + (void)pamh; + (void)flags; + (void)argc; + (void)argv; return (PAM_AUTH_ERR); } @@ -55,6 +60,10 @@ pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { + (void)pamh; + (void)flags; + (void)argc; + (void)argv; return (PAM_CRED_ERR); } @@ -63,6 +72,10 @@ pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { + (void)pamh; + (void)flags; + (void)argc; + (void)argv; return (PAM_AUTH_ERR); } @@ -71,6 +84,10 @@ pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { + (void)pamh; + (void)flags; + (void)argc; + (void)argv; return (PAM_SESSION_ERR); } @@ -79,6 +96,10 @@ pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { + (void)pamh; + (void)flags; + (void)argc; + (void)argv; return (PAM_SESSION_ERR); } @@ -87,6 +108,10 @@ pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { + (void)pamh; + (void)flags; + (void)argc; + (void)argv; return (PAM_AUTHTOK_ERR); } |