Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/usr.sbin/inetd Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/030d2771148f
branches: netbsd-7
changeset: 800379:030d2771148f
user: snj <snj%NetBSD.org@localhost>
date: Wed Jan 03 20:40:21 2018 +0000
description:
Pull up following revision(s) (requested by martin in ticket #1534):
usr.sbin/inetd/inetd.c: revision 1.125
Bump MAXARGV from 20 to 64 - with bozohttpd and all config on the command
line it is easy to hit the (silent) limit.
diffstat:
usr.sbin/inetd/inetd.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 2aa7d90cc605 -r 030d2771148f usr.sbin/inetd/inetd.c
--- a/usr.sbin/inetd/inetd.c Wed Jan 03 20:30:09 2018 +0000
+++ b/usr.sbin/inetd/inetd.c Wed Jan 03 20:40:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inetd.c,v 1.122 2014/04/05 23:36:10 khorben Exp $ */
+/* $NetBSD: inetd.c,v 1.122.2.1 2018/01/03 20:40:21 snj Exp $ */
/*-
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
#if 0
static char sccsid[] = "@(#)inetd.c 8.4 (Berkeley) 4/13/94";
#else
-__RCSID("$NetBSD: inetd.c,v 1.122 2014/04/05 23:36:10 khorben Exp $");
+__RCSID("$NetBSD: inetd.c,v 1.122.2.1 2018/01/03 20:40:21 snj Exp $");
#endif
#endif /* not lint */
@@ -101,7 +101,7 @@
* wait/nowait[:max] single-threaded/multi-threaded, max #
* user[:group] user/group to run daemon as
* server program full path name
- * server program arguments maximum of MAXARGS (20)
+ * server program arguments maximum of MAXARGV (64)
*
* For RPC services
* service name/version must be in /etc/rpc
@@ -110,7 +110,7 @@
* wait/nowait[:max] single-threaded/multi-threaded
* user[:group] user to run daemon as
* server program full path name
- * server program arguments maximum of MAXARGS (20)
+ * server program arguments maximum of MAXARGV (64)
*
* For non-RPC services, the "service name" can be of the form
* hostaddress:servicename, in which case the hostaddress is used
@@ -298,7 +298,7 @@
char *se_group; /* group name to run as */
struct biltin *se_bi; /* if built-in, description */
char *se_server; /* server program */
-#define MAXARGV 20
+#define MAXARGV 64
char *se_argv[MAXARGV+1]; /* program arguments */
#ifdef IPSEC
char *se_policy; /* IPsec poilcy string */
Home |
Main Index |
Thread Index |
Old Index