diff options
author | Richard Lowe <richlowe@richlowe.net> | 2013-06-20 00:27:41 +0000 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2017-01-25 12:40:33 -0500 |
commit | 2209d3c850d80c0681948f966816f28f767575cb (patch) | |
tree | c6b8f9f9f8f3c87f002c2ed6c50eca5304a95da0 /usr/src/lib/libnsl/rpc/rpc_comdata1.c | |
parent | 2fc78efe68572a35081bd6d8b1deb2560619c3e6 (diff) | |
download | illumos-joyent-2209d3c850d80c0681948f966816f28f767575cb.tar.gz |
3772 consider raising default descriptor soft limit
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Juraj Lutter <juraj@lutter.sk>
Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libnsl/rpc/rpc_comdata1.c')
-rw-r--r-- | usr/src/lib/libnsl/rpc/rpc_comdata1.c | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/usr/src/lib/libnsl/rpc/rpc_comdata1.c b/usr/src/lib/libnsl/rpc/rpc_comdata1.c deleted file mode 100644 index ccfc8ca160..0000000000 --- a/usr/src/lib/libnsl/rpc/rpc_comdata1.c +++ /dev/null @@ -1,64 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ - -/* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -/* - * FD_SETSIZE definition must precede any save isa_defs.h since that - * is where _LP64 is defined.... - */ -#include "mt.h" -#include <sys/isa_defs.h> -#if !defined(_LP64) -#ifdef FD_SETSIZE -#undef FD_SETSIZE -#endif -#define FD_SETSIZE 65536 - -#include <sys/select.h> - -/* - * This file should only contain common data (global data) that is exported - * by public interfaces - */ - -/* - * Definition of alternate fd_set for svc_fdset to be used when - * someone redefine SVC_FDSETSIZE. This is here solely to - * protect against someone doing a svc_fdset = a_larger_fd_set. - * If we're not a 64 bit app and someone defines fd_setsize > 1024 - * then svc_fdset is redefined to be _new_svc_fdset (in <rpc/svc.h>) - * which we size here at the maximum size. - */ - -fd_set _new_svc_fdset; -#else - -#include <sys/select.h> - -extern fd_set svc_fdset; /* to avoid "empty translation unit" */ -#endif |