Re: execute a user process in the kernel
From: Mike Meyer (mwm_at_mired.org)
Date: 09/23/04
- Previous message: Dag-Erling Smørgrav: "Re: Copy data from kernel to user space memory"
- In reply to: Gordon David: "Re: execute a user process in the kernel"
- Next in thread: Dag-Erling Smørgrav: "Re: execute a user process in the kernel"
- Reply: Dag-Erling Smørgrav: "Re: execute a user process in the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 10:18:21 -0500 To: "Gordon David" <kylincsos@hotmail.com>
In <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com>, Gordon David <kylincsos@hotmail.com> typed:
>
> >From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
> >To: Gordon David <kylincsos@hotmail.com>
> >CC: freebsd-hackers@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
> /dev/fooctl
> > > 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
-- Mike Meyer <mwm@mired.org> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Dag-Erling Smørgrav: "Re: Copy data from kernel to user space memory"
- In reply to: Gordon David: "Re: execute a user process in the kernel"
- Next in thread: Dag-Erling Smørgrav: "Re: execute a user process in the kernel"
- Reply: Dag-Erling Smørgrav: "Re: execute a user process in the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]