10Sstevel@tonic-gate/* LINTLIBRARY */
20Sstevel@tonic-gate/* PROTOLIB1 */
30Sstevel@tonic-gate
40Sstevel@tonic-gate/*
50Sstevel@tonic-gate * CDDL HEADER START
60Sstevel@tonic-gate *
70Sstevel@tonic-gate * The contents of this file are subject to the terms of the
8*5600Sjp161948 * Common Development and Distribution License (the "License").
9*5600Sjp161948 * You may not use this file except in compliance with the License.
100Sstevel@tonic-gate *
110Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
120Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
130Sstevel@tonic-gate * See the License for the specific language governing permissions
140Sstevel@tonic-gate * and limitations under the License.
150Sstevel@tonic-gate *
160Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
170Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
180Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
190Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
200Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
210Sstevel@tonic-gate *
220Sstevel@tonic-gate * CDDL HEADER END
230Sstevel@tonic-gate *
24*5600Sjp161948 * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
250Sstevel@tonic-gate * Use is subject to license terms.
260Sstevel@tonic-gate */
270Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
280Sstevel@tonic-gate
290Sstevel@tonic-gate#include <includes.h>
300Sstevel@tonic-gate#include <atomicio.h>
310Sstevel@tonic-gate#include <base64.h>
320Sstevel@tonic-gate#include <bindresvport.h>
330Sstevel@tonic-gate#include <bsd-arc4random.h>
340Sstevel@tonic-gate#include <bsd-cray.h>
350Sstevel@tonic-gate#include <bsd-cygwin_util.h>
360Sstevel@tonic-gate#include <bsd-getpeereid.h>
370Sstevel@tonic-gate#include <bsd-misc.h>
380Sstevel@tonic-gate#include <bsd-snprintf.h>
390Sstevel@tonic-gate#include <bsd-waitpid.h>
400Sstevel@tonic-gate#include <config.h>
410Sstevel@tonic-gate#include <crc32.h>
420Sstevel@tonic-gate#include <daemon.h>
430Sstevel@tonic-gate#include <deattack.h>
440Sstevel@tonic-gate#include <defines.h>
450Sstevel@tonic-gate#include <dirname.h>
460Sstevel@tonic-gate#include <dispatch.h>
470Sstevel@tonic-gate#include <entropy.h>
480Sstevel@tonic-gate#include <fake-gai-errnos.h>
490Sstevel@tonic-gate#include <fake-getaddrinfo.h>
500Sstevel@tonic-gate#include <fake-getnameinfo.h>
510Sstevel@tonic-gate#include <fake-socket.h>
520Sstevel@tonic-gate#include <getcwd.h>
530Sstevel@tonic-gate#include <getgrouplist.h>
540Sstevel@tonic-gate#include <getopt.h>
550Sstevel@tonic-gate#include <getput.h>
560Sstevel@tonic-gate#include <glob.h>
570Sstevel@tonic-gate#include <groupaccess.h>
580Sstevel@tonic-gate#include <inet_ntoa.h>
590Sstevel@tonic-gate#include <inet_ntop.h>
600Sstevel@tonic-gate#include <log.h>
610Sstevel@tonic-gate#include <match.h>
620Sstevel@tonic-gate#include <misc.h>
630Sstevel@tonic-gate#include <mktemp.h>
640Sstevel@tonic-gate#include <openbsd-compat.h>
650Sstevel@tonic-gate#include <pathnames.h>
660Sstevel@tonic-gate#include <port-aix.h>
670Sstevel@tonic-gate#include <port-irix.h>
680Sstevel@tonic-gate#include <proxy-io.h>
690Sstevel@tonic-gate#include <readpass.h>
700Sstevel@tonic-gate#include <readpassphrase.h>
710Sstevel@tonic-gate#include <realpath.h>
720Sstevel@tonic-gate#include <rresvport.h>
730Sstevel@tonic-gate#include <rsa.h>
740Sstevel@tonic-gate#include <setproctitle.h>
750Sstevel@tonic-gate#include <sigact.h>
760Sstevel@tonic-gate#include <strlcat.h>
770Sstevel@tonic-gate#include <strlcpy.h>
780Sstevel@tonic-gate#include <strmode.h>
790Sstevel@tonic-gate#include <strsep.h>
800Sstevel@tonic-gate#include <sys-queue.h>
810Sstevel@tonic-gate#include <sys-tree.h>
820Sstevel@tonic-gate#include <tildexpand.h>
830Sstevel@tonic-gate#include <uuencode.h>
840Sstevel@tonic-gate#include <version.h>
850Sstevel@tonic-gate#include <xmalloc.h>
860Sstevel@tonic-gate#include <xmmap.h>
87