From owner-freebsd-questions Thu Oct 14 9:10:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from po2.bbn.com (PO2.BBN.COM [192.1.50.36]) by hub.freebsd.org (Postfix) with ESMTP id 1BF7D14FAC for ; Thu, 14 Oct 1999 09:10:49 -0700 (PDT) (envelope-from bschwart@echo.bbn.com) Received: from echo.bbn.com (ECHO.BBN.COM [128.89.11.186]) by po2.bbn.com (8.9.1/8.9.1) with ESMTP id MAA01268; Thu, 14 Oct 1999 12:11:32 -0400 (EDT) Message-ID: <38060073.4FD0443B@echo.bbn.com> Date: Thu, 14 Oct 1999 12:10:27 -0400 From: Bev Schwartz Reply-To: bschwart@bbn.com Organization: BBN Technologies X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: mmap and MAP_INHERIT Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The man page for mmap describes a parameter MAP_INHERIT as follows: Permit regions to be inherited across execve(2) system calls. I would like a fork'ed and exec'ed child to be able to access mapped memory that the parent set up, but I have not yet figured out how to make this work. Anyone have suggestions, or better, a piece of working code that does this? -Bev -- # # Bev Schwartz email: bschwart@bbn.com ### ### ### BBN Technologies voice: 617-873-2453 # # # # # # 10 Moulton Street fax: 617-873-6091 ### ### # # Cambridge, MA 02138 office: 6/503 Mailstop 6/5C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message