11.1Schristos/*- 21.1Schristos * Copyright (c) 2001 Mark R V Murray 31.1Schristos * All rights reserved. 41.1Schristos * Copyright (c) 2001 Networks Associates Technology, Inc. 51.1Schristos * All rights reserved. 61.1Schristos * 71.1Schristos * Portions of this software were developed for the FreeBSD Project by 81.1Schristos * ThinkSec AS and NAI Labs, the Security Research Division of Network 91.1Schristos * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 101.1Schristos * ("CBOSS"), as part of the DARPA CHATS research program. 111.1Schristos * 121.1Schristos * Redistribution and use in source and binary forms, with or without 131.1Schristos * modification, are permitted provided that the following conditions 141.1Schristos * are met: 151.1Schristos * 1. Redistributions of source code must retain the above copyright 161.1Schristos * notice, this list of conditions and the following disclaimer. 171.1Schristos * 2. Redistributions in binary form must reproduce the above copyright 181.1Schristos * notice, this list of conditions and the following disclaimer in the 191.1Schristos * documentation and/or other materials provided with the distribution. 201.1Schristos * 3. The name of the author may not be used to endorse or promote 211.1Schristos * products derived from this software without specific prior written 221.1Schristos * permission. 231.1Schristos * 241.1Schristos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 251.1Schristos * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 261.1Schristos * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 271.1Schristos * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 281.1Schristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 291.1Schristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 301.1Schristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 311.1Schristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 321.1Schristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 331.1Schristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 341.1Schristos * SUCH DAMAGE. 351.1Schristos * 361.1Schristos * $FreeBSD: src/lib/libpam/modules/pam_login_access/pam_login_access.h,v 1.2 2002/03/14 23:27:57 des Exp $ 371.1Schristos */ 381.1Schristos 391.1Schristosextern int login_access(const char *, const char *); 40