Date: Wed, 30 Jan 2002 16:25:04 -0800 From: Alfred Perlstein <bright@mu.org> To: Julian Elischer <julian@elischer.org> Cc: Jonathan BENSAMOUN <jonathan.bensamoun@wanadoo.fr>, hackers@freebsd.org Subject: Re: kernel fork & execve Message-ID: <20020130162504.R13686@elvis.mu.org> In-Reply-To: <Pine.BSF.4.21.0201301544390.58251-100000@InterJet.elischer.org>; from julian@elischer.org on Wed, Jan 30, 2002 at 03:44:51PM -0800 References: <000d01c1a9e7$3b75cd00$0100a8c0@johnport> <Pine.BSF.4.21.0201301544390.58251-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Julian Elischer <julian@elischer.org> [020130 16:09] wrote: > check where init is called from.. Y'know, exec call could be made into a "do_exec", all that seems to matter is whether or not uap->fname is UIO_USERSPACE or UIO_SYSSPACE. > 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 -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020130162504.R13686>