Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 12:10:27 -0400
From:      Bev Schwartz <bschwart@echo.bbn.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   mmap and MAP_INHERIT
Message-ID:  <38060073.4FD0443B@echo.bbn.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38060073.4FD0443B>