* Julian Elischer <[EMAIL PROTECTED]> [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 [EMAIL PROTECTED] > > with "unsubscribe freebsd-hackers" in the body of the message > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message -- -Alfred Perlstein [[EMAIL PROTECTED]] '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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message