From owner-freebsd-hackers Wed Jan 30 16: 6: 3 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id DBED137B90D for ; Wed, 30 Jan 2002 16:01:47 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020131000020.GARZ3578.rwcrmhc52.attbi.com@InterJet.elischer.org>; Thu, 31 Jan 2002 00:00:20 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA58350; Wed, 30 Jan 2002 15:44:52 -0800 (PST) Date: Wed, 30 Jan 2002 15:44:51 -0800 (PST) From: Julian Elischer To: Jonathan BENSAMOUN Cc: hackers@freebsd.org Subject: Re: kernel fork & execve In-Reply-To: <000d01c1a9e7$3b75cd00$0100a8c0@johnport> Message-ID: MIME-Version: 1.0 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 check where init is called from.. On Thu, 31 Jan 2002, Jonathan BENSAMOUN wrote: > Hi, > I would like to add a new syscall in my kernel which execute an execve in a > forked process. > I call the fork1 function and hook inside it to execute my execve. > > Has anyone an example of calling execve from kernel ? > I have some problem to pass the arguments ... > > Thanks > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message