Date: Thu, 05 Feb 1998 08:20:08 -0800 From: John Polstra <jdp@polstra.com> To: abial@nask.pl Cc: current@FreeBSD.ORG Subject: Re: Custom init(8) (and some ideas) Message-ID: <199802051620.IAA09900@austin.polstra.com> In-Reply-To: <Pine.NEB.3.95.980205100537.18163B-100000@korin.warman.org.pl> References: <Pine.NEB.3.95.980205100537.18163B-100000@korin.warman.org.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.NEB.3.95.980205100537.18163B-100000@korin.warman.org.pl>, Andrzej Bialecki <abial@nask.pl> wrote: > Also, IMHO it would be a good option to the kernel and/or ld.so to tell > them not to load .text at all (it could apply to .text section of binaries > as well as shared libs), just to mmap it, if the backing filesystem is of > MFS type. Both the kernel and ld.so do that (use mmap), no matter what type of filesystem the executable or shared library is on. Actually, they mmap not only text, but also data and bss. Copy-on-write prevents that from causing problems. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802051620.IAA09900>