1 /* LINTLIBRARY */
   2 /* PROTOLIB1 */
   3 
   4 /*
   5  * CDDL HEADER START
   6  *
   7  * The contents of this file are subject to the terms of the
   8  * Common Development and Distribution License (the "License").
   9  * You may not use this file except in compliance with the License.
  10  *
  11  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  12  * or http://www.opensolaris.org/os/licensing.
  13  * See the License for the specific language governing permissions
  14  * and limitations under the License.
  15  *
  16  * When distributing Covered Code, include this CDDL HEADER in each
  17  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  18  * If applicable, add the following below this CDDL HEADER, with the
  19  * fields enclosed by brackets "[]" replaced with your own identifying
  20  * information: Portions Copyright [yyyy] [name of copyright owner]
  21  *
  22  * CDDL HEADER END
  23  *
  24  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25  * Use is subject to license terms.
  26  */
  27 
  28 #include <includes.h>
  29 #include <atomicio.h>
  30 #include <base64.h>
  31 #include <bindresvport.h>
  32 #include <bsd-arc4random.h>
  33 #include <bsd-cray.h>
  34 #include <bsd-cygwin_util.h>
  35 #include <bsd-getpeereid.h>
  36 #include <bsd-misc.h>
  37 #include <bsd-snprintf.h>
  38 #include <bsd-waitpid.h>
  39 #include <config.h>
  40 #include <crc32.h>
  41 #include <deattack.h>
  42 #include <defines.h>
  43 #include <dirname.h>
  44 #include <dispatch.h>
  45 #include <entropy.h>
  46 #include <fake-gai-errnos.h>
  47 #include <fake-getaddrinfo.h>
  48 #include <fake-getnameinfo.h>
  49 #include <fake-socket.h>
  50 #include <getcwd.h>
  51 #include <getgrouplist.h>
  52 #include <getopt.h>
  53 #include <getput.h>
  54 #include <glob.h>
  55 #include <groupaccess.h>
  56 #include <inet_ntoa.h>
  57 #include <inet_ntop.h>
  58 #include <log.h>
  59 #include <match.h>
  60 #include <misc.h>
  61 #include <mktemp.h>
  62 #include <openbsd-compat.h>
  63 #include <pathnames.h>
  64 #include <port-aix.h>
  65 #include <port-irix.h>
  66 #include <proxy-io.h>
  67 #include <readpass.h>
  68 #include <readpassphrase.h>
  69 #include <realpath.h>
  70 #include <rresvport.h>
  71 #include <rsa.h>
  72 #include <setproctitle.h>
  73 #include <sigact.h>
  74 #include <strlcat.h>
  75 #include <strlcpy.h>
  76 #include <strmode.h>
  77 #include <sys-queue.h>
  78 #include <sys-tree.h>
  79 #include <tildexpand.h>
  80 #include <uuencode.h>
  81 #include <version.h>
  82 #include <xmalloc.h>
  83 #include <xmmap.h>