Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 10:18:21 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "Gordon David" <kylincsos@hotmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: execute a user process in the kernel
Message-ID:  <16722.59709.451226.932084@guru.mired.org>
In-Reply-To: <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com>
References:  <BAY1-F10eZZfm95LyRk00055aa3@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16722.59709.451226.932084>