From owner-freebsd-current Wed Oct 18 15:33:49 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA25829 for current-outgoing; Wed, 18 Oct 1995 15:33:49 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA25824 ; Wed, 18 Oct 1995 15:33:44 -0700 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id PAA27155; Wed, 18 Oct 1995 15:33:41 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id PAA29572; Wed, 18 Oct 1995 15:30:13 -0700 Message-Id: <199510182230.PAA29572@corbin.Root.COM> To: Terry Lambert cc: wollman@lcs.mit.edu (Garrett A. Wollman), bde@zeta.org.au, bakul@netcom.com, current@freefall.freebsd.org, hackers@freefall.freebsd.org Subject: Re: getdtablesize() broken? In-reply-to: Your message of "Wed, 18 Oct 95 14:45:44 PDT." <199510182145.OAA01079@phaeton.artisoft.com> From: David Greenman Reply-To: davidg@Root.COM Date: Wed, 18 Oct 1995 15:30:06 -0700 Sender: owner-current@FreeBSD.org Precedence: bulk >> > ] #define ARG_MAX 65536 /* max bytes for an exec function */ >> >> > Type: Bogus. >> >> Type: POSIX. >> >> > Required by: The process environment being in the user's address >> > space instead of attached to the proc structure and >> > accessed through system calls. >> >> BZZZZT! Wrong, but thanks for playing. You can ask David or John >> about the memory-fragmentation issues which mandate the use of a >> separate VM submap to hold this data while it is being staged between >> the old process and the new process. > >BZZZZT! Replace the enviornment with logical names and hang the logical >name table off the proc struct instead of copying it like this and it >won't *need* to be staged. Bye bye, staging area. Mark the environment >as a shared copy-on-modification structure. BZZZZT! Not if you want argv[] to work. We're not talking about just the environment variables. -DG