From owner-freebsd-current Tue Dec 17 17:34:23 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA06939 for current-outgoing; Tue, 17 Dec 1996 17:34:23 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA06901 for ; Tue, 17 Dec 1996 17:34:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id RAA09636; Tue, 17 Dec 1996 17:32:45 -0800 (PST) Message-Id: <199612180132.RAA09636@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Terry Lambert cc: jkh@time.cdrom.com (Jordan K. Hubbard), wollman@lcs.mit.edu, current@freebsd.org Subject: Re: Plan for integrating Secure RPC -- comments wanted In-reply-to: Your message of "Tue, 17 Dec 1996 13:28:23 MST." <199612172028.NAA08796@phaeton.artisoft.com> From: David Greenman Reply-To: dg@root.com Date: Tue, 17 Dec 1996 17:32:45 -0800 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> > Better to just fix the LKM mechanism to not need it... There are ways >> > to do this, but they are all sort of unappealing. >> >> Yeah, I've heard the "move ld into the kernel" arguments too. >> >> That's why I was suggesting this as an interim work-around solution. > >mmap() the loader into the address space of the moload process, and >call it from kernel mode. That won't work for a variety of reasons. For one thing, the kernel is not going to like demand paging (COW, zero-fill, regular page faults) in the context of the kernel. For another, the kernel stack is of finite size and can't deal with typical programs. Using the user's stack is "a major problem" in it's own right. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project