From owner-freebsd-hackers Fri Jul 6 8: 0:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bugz.infotecs.ru (bugz.infotecs.ru [195.210.139.22]) by hub.freebsd.org (Postfix) with ESMTP id 52FB237B406 for ; Fri, 6 Jul 2001 08:00:47 -0700 (PDT) (envelope-from vel@bugz.infotecs.ru) Received: (from root@localhost) by bugz.infotecs.ru (8.11.1/8.11.1) id f66FEWo01179; Fri, 6 Jul 2001 19:14:32 +0400 (MSD) (envelope-from vel) From: "Eugene L. Vorokov" Message-Id: <200107061514.f66FEWo01179@bugz.infotecs.ru> Subject: Re: kernel panic when trying to use init's address space In-Reply-To: <20010705195825.E8794@cicely20.cicely.de> "from Bernd Walter at Jul 5, 2001 07:58:25 pm" To: Bernd Walter Date: Fri, 6 Jul 2001 19:14:32 +0400 (MSD) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Thu, Jul 05, 2001 at 02:59:17PM +0200, Bernd Walter wrote: > > You are mmaping into the address space for the process you use the > > struct proc from. > > As long as it's this programm that is curproc everything is fine. Okay, I understand what the problem is. But what if I still want to simulate the syscall from the process which is not current ? Is it difficult to make kernel think that it's current process, how should it be done ? (Yes, I know this may look dumb, but still) Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message