execute a user process in the kernel
mwm at mired.org
Thu Sep 23 08:34:39 PDT 2004
In <BAY1-F10eZZfm95LyRk00055aa3 at hotmail.com>, Gordon David <kylincsos at hotmail.com> typed:
> >From: "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net>
> >To: Gordon David <kylincsos at hotmail.com>
> >CC: freebsd-hackers at freebsd.org
> >Subject: Re: execute a user process in the kernel
> >Date: Thu, 23 Sep 2004 08:02:18 +0000 (UTC)
> >On Thu, 23 Sep 2004, Gordon David wrote:
> > > That's the point. I do not want the userland program to check
> > > from time to time. I want the kernel to notify the userland program
> > > instead. So how shall I do it? Maybe linker_load_file is a better way.
> >man 2 kqueue ?
> Kqueue is a good method to notify the user. But I want the code in the
> kernel directly calls a user program.
How about starting with the code in kern/kern_exec.c?
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
More information about the freebsd-hackers