Date: Wed, 22 Sep 2004 08:49:11 +0000 From: "Gordon David" <kylincsos@hotmail.com> To: freebsd-hackers@freebsd.org Subject: execute a user process in the kernel Message-ID: <BAY1-F12o3npvqnJNeO00048b8a@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I have a question. Anyone would like to tell me how to execute a user process or shell script in the kernel? As we know, the kernel forks a process named initproc and executes /sbin/init, etc. If I want to execute a user level process, such as a simple printf("Hello world") in a driver, what shall I do? Thanks Gordon _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY1-F12o3npvqnJNeO00048b8a>