[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: kernel fork & execve
From: Alfred Perlstein <bright () mu ! org>
Date: 2002-01-31 0:25:04
[Download RAW message or body]
* 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic