xref: /titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/llib-lopenbsd-compat (revision 44991a1c1bb35cccb6bf99cb6dce14864dcee19c)
17c478bd9Sstevel@tonic-gate/* LINTLIBRARY */
27c478bd9Sstevel@tonic-gate/* PROTOLIB1 */
37c478bd9Sstevel@tonic-gate
47c478bd9Sstevel@tonic-gate/*
57c478bd9Sstevel@tonic-gate * CDDL HEADER START
67c478bd9Sstevel@tonic-gate *
77c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the
8743541abSjp161948 * Common Development and Distribution License (the "License").
9743541abSjp161948 * You may not use this file except in compliance with the License.
107c478bd9Sstevel@tonic-gate *
117c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
127c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
137c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions
147c478bd9Sstevel@tonic-gate * and limitations under the License.
157c478bd9Sstevel@tonic-gate *
167c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
177c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
187c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
197c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
207c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
217c478bd9Sstevel@tonic-gate *
227c478bd9Sstevel@tonic-gate * CDDL HEADER END
237c478bd9Sstevel@tonic-gate *
24*44991a1cSVladimir Kotal * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
257c478bd9Sstevel@tonic-gate * Use is subject to license terms.
267c478bd9Sstevel@tonic-gate */
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate#include <includes.h>
297c478bd9Sstevel@tonic-gate#include <atomicio.h>
307c478bd9Sstevel@tonic-gate#include <base64.h>
317c478bd9Sstevel@tonic-gate#include <bindresvport.h>
327c478bd9Sstevel@tonic-gate#include <bsd-arc4random.h>
337c478bd9Sstevel@tonic-gate#include <bsd-cray.h>
347c478bd9Sstevel@tonic-gate#include <bsd-cygwin_util.h>
357c478bd9Sstevel@tonic-gate#include <bsd-getpeereid.h>
367c478bd9Sstevel@tonic-gate#include <bsd-misc.h>
377c478bd9Sstevel@tonic-gate#include <bsd-snprintf.h>
387c478bd9Sstevel@tonic-gate#include <bsd-waitpid.h>
397c478bd9Sstevel@tonic-gate#include <config.h>
407c478bd9Sstevel@tonic-gate#include <crc32.h>
417c478bd9Sstevel@tonic-gate#include <deattack.h>
427c478bd9Sstevel@tonic-gate#include <defines.h>
437c478bd9Sstevel@tonic-gate#include <dirname.h>
447c478bd9Sstevel@tonic-gate#include <dispatch.h>
457c478bd9Sstevel@tonic-gate#include <entropy.h>
467c478bd9Sstevel@tonic-gate#include <fake-gai-errnos.h>
477c478bd9Sstevel@tonic-gate#include <fake-getaddrinfo.h>
487c478bd9Sstevel@tonic-gate#include <fake-getnameinfo.h>
497c478bd9Sstevel@tonic-gate#include <fake-socket.h>
507c478bd9Sstevel@tonic-gate#include <getcwd.h>
517c478bd9Sstevel@tonic-gate#include <getgrouplist.h>
527c478bd9Sstevel@tonic-gate#include <getopt.h>
537c478bd9Sstevel@tonic-gate#include <getput.h>
547c478bd9Sstevel@tonic-gate#include <glob.h>
557c478bd9Sstevel@tonic-gate#include <groupaccess.h>
567c478bd9Sstevel@tonic-gate#include <inet_ntoa.h>
577c478bd9Sstevel@tonic-gate#include <inet_ntop.h>
587c478bd9Sstevel@tonic-gate#include <log.h>
597c478bd9Sstevel@tonic-gate#include <match.h>
607c478bd9Sstevel@tonic-gate#include <misc.h>
617c478bd9Sstevel@tonic-gate#include <mktemp.h>
627c478bd9Sstevel@tonic-gate#include <openbsd-compat.h>
637c478bd9Sstevel@tonic-gate#include <pathnames.h>
647c478bd9Sstevel@tonic-gate#include <port-aix.h>
657c478bd9Sstevel@tonic-gate#include <port-irix.h>
667c478bd9Sstevel@tonic-gate#include <proxy-io.h>
677c478bd9Sstevel@tonic-gate#include <readpass.h>
687c478bd9Sstevel@tonic-gate#include <readpassphrase.h>
697c478bd9Sstevel@tonic-gate#include <realpath.h>
707c478bd9Sstevel@tonic-gate#include <rresvport.h>
717c478bd9Sstevel@tonic-gate#include <rsa.h>
727c478bd9Sstevel@tonic-gate#include <setproctitle.h>
737c478bd9Sstevel@tonic-gate#include <sigact.h>
747c478bd9Sstevel@tonic-gate#include <strlcat.h>
757c478bd9Sstevel@tonic-gate#include <strlcpy.h>
767c478bd9Sstevel@tonic-gate#include <strmode.h>
777c478bd9Sstevel@tonic-gate#include <sys-queue.h>
787c478bd9Sstevel@tonic-gate#include <sys-tree.h>
797c478bd9Sstevel@tonic-gate#include <tildexpand.h>
807c478bd9Sstevel@tonic-gate#include <uuencode.h>
817c478bd9Sstevel@tonic-gate#include <version.h>
827c478bd9Sstevel@tonic-gate#include <xmalloc.h>
837c478bd9Sstevel@tonic-gate#include <xmmap.h>
84