From owner-freebsd-current Wed Feb 3 11:28:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA06982 for freebsd-current-outgoing; Wed, 3 Feb 1999 11:28:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06970 for ; Wed, 3 Feb 1999 11:28:52 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id LAA19192 for ; Wed, 3 Feb 1999 11:28:50 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id LAA17206 for current@freebsd.org; Wed, 3 Feb 1999 11:28:49 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 03 Feb 1999 11:28:49 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: current@FreeBSD.ORG Subject: Quick vm_map_insert() question Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hopefully somebody who knows the VM system better than I do can answer this easily. In "sys/kern/imgact_elf.c", vm_map_insert() is used to map the segments of an ELF file. In all of the calls, the address of the mapping is specified explicitly. I'd like to experiment with letting the system choose the address itself for the ELF dynamic linker. In other words, I want it to be mapped just as if a userland call to mmap(0, ...) had been done. Can somebody tell me how to do that? Thanks, John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message