From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 17 12:25:21 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C86816A4CE for ; Sun, 17 Apr 2005 12:25:21 +0000 (GMT) Received: from hydra.bec.de (www.ostsee-abc.de [62.206.222.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1EF343D41 for ; Sun, 17 Apr 2005 12:25:20 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (wlan032024.uni-rostock.de [139.30.32.24]) by hydra.bec.de (Postfix) with ESMTP id EE3B835707 for ; Sun, 17 Apr 2005 14:25:18 +0200 (CEST) Received: by britannica.bec.de (Postfix, from userid 1001) id C53A57D03; Sun, 17 Apr 2005 14:25:13 +0200 (CEST) Date: Sun, 17 Apr 2005 14:25:13 +0200 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20050417122513.GA3106@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <426249D0.6010504@binturong.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <426249D0.6010504@binturong.us> User-Agent: Mutt/1.5.9i Subject: Re: linux call_usermodehelper equivalent in freebsd? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 12:25:21 -0000 On Sun, Apr 17, 2005 at 12:34:40PM +0100, Andrew Tappert wrote: > Is there an equivalent in FreeBSD to the Linux kernel function > 'call_usermodehelper' which wraps execve to do as its name suggests, > call a user mode helper program? BSD kernels normally don't try to execute helper programs. Setting up a process from scratch is not trivial work. Can you give us for information on what you want to do? Maybe there is a better solution available. Joerg > > If there is, what is it? > > If not, can some kind person please point me to some code in the > kernel--if there is any--which does something similar (i.e., exec's a > usermode program from the kernel), so I may see how it's properly done? > In what context is it ok just to do the exec? How do I set it up? > > Thanks, > Andrew > _______________________________________________ > 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"