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 2007 Sun Microsystems, Inc. All rights reserved. 25 * Use is subject to license terms. 26 */ 27#pragma ident "%Z%%M% %I% %E% SMI" 28 29#include <includes.h> 30#include <ssh.h> 31#include <atomicio.h> 32#include <auth.h> 33#include <auth-pam.h> 34#include <auth2-pam.h> 35#include <authfd.h> 36#include <authfile.h> 37#include <auth-options.h> 38#include <base64.h> 39#include <bindresvport.h> 40#include <bsd-arc4random.h> 41#include <bsd-cray.h> 42#include <bsd-cygwin_util.h> 43#include <bsd-getpeereid.h> 44#include <bsd-misc.h> 45#include <bsd-nextstep.h> 46#include <bsd-snprintf.h> 47#include <bsd-waitpid.h> 48#include <bufaux.h> 49#include <buffer.h> 50#include <canohost.h> 51#include <channels.h> 52#include <cipher.h> 53#include <clientloop.h> 54#include <compat.h> 55#include <compress.h> 56#include <config.h> 57#include <crc32.h> 58#include <daemon.h> 59#include <deattack.h> 60#include <defines.h> 61#include <dh.h> 62#include <dirname.h> 63#include <dispatch.h> 64#include <entropy.h> 65#include <fake-gai-errnos.h> 66#include <fake-getaddrinfo.h> 67#include <fake-getnameinfo.h> 68#include <fake-socket.h> 69#include <g11n.h> 70#include <getcwd.h> 71#include <getgrouplist.h> 72#include <getopt.h> 73#include <getput.h> 74#include <glob.h> 75#include <groupaccess.h> 76#include <hostfile.h> 77#include <inet_ntoa.h> 78#include <inet_ntop.h> 79#include <kex.h> 80#include <key.h> 81#include <log.h> 82#include <loginrec.h> 83#include <mac.h> 84#include <match.h> 85#include <misc.h> 86#include <mktemp.h> 87#include <mpaux.h> 88#include <msg.h> 89#include <myproposal.h> 90#include <openbsd-compat.h> 91#include <packet.h> 92#include <pathnames.h> 93#include <port-aix.h> 94#include <port-irix.h> 95#include <proxy-io.h> 96#include <readconf.h> 97#include <readpass.h> 98#include <readpassphrase.h> 99#include <realpath.h> 100#include <rresvport.h> 101#include <rsa.h> 102#include <servconf.h> 103#include <serverloop.h> 104#include <session.h> 105#include <setproctitle.h> 106#include <sftp-common.h> 107#include <sftp.h> 108#include <sftp-client.h> 109#include <sigact.h> 110#include <ssh1.h> 111#include <ssh2.h> 112#include <sshconnect.h> 113#include <ssh-dss.h> 114#include <sshlogin.h> 115#include <sshpty.h> 116#include <ssh-rsa.h> 117#include <sshtty.h> 118#include <strlcat.h> 119#include <strlcpy.h> 120#include <strmode.h> 121#include <strsep.h> 122#include <sys-queue.h> 123#include <sys-tree.h> 124#include <tildexpand.h> 125#include <uidswap.h> 126#include <uuencode.h> 127#include <version.h> 128#include <xlist.h> 129#include <xmalloc.h> 130#include <xmmap.h> 131 132extern uid_t original_real_uid; 133extern char *__progname; 134 135