Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 7998 invoked by uid 6000); 27 Dec 1997 19:41:09 -0000 Received: (qmail 7992 invoked from network); 27 Dec 1997 19:41:08 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 27 Dec 1997 19:41:08 -0000 Received: (qmail 21309 invoked by uid 500); 27 Dec 1997 19:48:39 -0000 Date: Sat, 27 Dec 1997 11:48:38 -0800 (PST) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: More on malloc stuff In-Reply-To: Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. Organization: Transmeta Corp. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On Sat, 27 Dec 1997, Marc Slemko wrote: > Are you sure that making it read-only (are you thinking of mprotect > or what?) will help Solaris? I thought that it still reserved > for such regions, but that could just be my faulty memory. You actually have to mmap() it a special way and then mprotect() that if I remember correctly. You can't do it with just malloc/mprotect. I could easily be wrong though. Dean