187173Smarkm/*- 2330449Seadler * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3330449Seadler * 487173Smarkm * Copyright (c) 2001 FreeBSD, Inc 587173Smarkm * 687173Smarkm * Redistribution and use in source and binary forms, with or without 787173Smarkm * modification, are permitted provided that the following conditions 887173Smarkm * are met: 987173Smarkm * 1. Redistributions of source code must retain the above copyright 1087173Smarkm * notice, this list of conditions and the following disclaimer. 1187173Smarkm * 2. Redistributions in binary form must reproduce the above copyright 1287173Smarkm * notice, this list of conditions and the following disclaimer in the 1387173Smarkm * documentation and/or other materials provided with the distribution. 1487173Smarkm * 1587173Smarkm * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1687173Smarkm * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1787173Smarkm * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1887173Smarkm * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1987173Smarkm * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2087173Smarkm * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2187173Smarkm * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2287173Smarkm * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2387173Smarkm * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2487173Smarkm * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2587173Smarkm * SUCH DAMAGE. 2687173Smarkm * 2787173Smarkm * $FreeBSD: stable/11/usr.bin/login/login.h 330449 2018-03-05 07:26:05Z eadler $ 2887173Smarkm */ 2987173Smarkm 3092920Simpvoid login_fbtab(char *, uid_t, gid_t); 3187173Smarkm 32165152Scsjp#ifdef USE_BSM_AUDIT 33155312Swsalamonvoid au_login_success(void); 34169342Sdwmalonevoid au_login_fail(const char *errmsg, int na); 35169342Sdwmalonevoid audit_logout(void); 36165152Scsjp#endif 37155312Swsalamon 38155312Swsalamonextern char **environ; 39155312Swsalamonextern struct passwd *pwd; 40