xref: /titanic_50/usr/src/cmd/ssh/libssh/common/llib-lssh (revision 1d03c31e0733adea0edef54f0d5d2ea9639ecd2a)
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 <monitor_fdpass.h>
88#include <monitor.h>
89#include <monitor_mm.h>
90#include <monitor_wrap.h>
91#include <mpaux.h>
92#include <msg.h>
93#include <myproposal.h>
94#include <openbsd-compat.h>
95#include <packet.h>
96#include <pathnames.h>
97#include <port-aix.h>
98#include <port-irix.h>
99#include <proxy-io.h>
100#include <readconf.h>
101#include <readpass.h>
102#include <readpassphrase.h>
103#include <realpath.h>
104#include <rresvport.h>
105#include <rsa.h>
106#include <servconf.h>
107#include <serverloop.h>
108#include <session.h>
109#include <setproctitle.h>
110#include <sftp-common.h>
111#include <sftp.h>
112#include <sftp-client.h>
113#include <sigact.h>
114#include <ssh1.h>
115#include <ssh2.h>
116#include <sshconnect.h>
117#include <ssh-dss.h>
118#include <sshlogin.h>
119#include <sshpty.h>
120#include <ssh-rsa.h>
121#include <sshtty.h>
122#include <strlcat.h>
123#include <strlcpy.h>
124#include <strmode.h>
125#include <strsep.h>
126#include <sys-queue.h>
127#include <sys-tree.h>
128#include <tildexpand.h>
129#include <uidswap.h>
130#include <uuencode.h>
131#include <version.h>
132#include <xlist.h>
133#include <xmalloc.h>
134#include <xmmap.h>
135
136extern uid_t original_real_uid;
137extern char *__progname;
138
139