Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 1999 11:28:49 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@FreeBSD.ORG
Subject:   Quick vm_map_insert() question
Message-ID:  <XFMail.990203112849.jdp@polstra.com>

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



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