From owner-cvs-src@FreeBSD.ORG Wed Jul 28 09:19:20 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D157716A4CE; Wed, 28 Jul 2004 09:19:20 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAA4443D5F; Wed, 28 Jul 2004 09:19:20 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 8A2DB5C899; Wed, 28 Jul 2004 02:19:20 -0700 (PDT) Date: Wed, 28 Jul 2004 11:19:20 +0200 From: Maxime Henrion To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20040728091920.GU82302@elvis.mu.org> References: <200407280912.i6S9CsfA088910@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407280912.i6S9CsfA088910@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i Subject: Re: cvs commit: src/sys/sys _task.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 09:19:21 -0000 Maxime Henrion wrote: > mux 2004-07-28 09:12:54 UTC > > FreeBSD src repository > > Modified files: > sys/sys _task.h > Log: > Remove (at least temporarily) the check that prevents us from including > this file from userland. Since we export struct ifnet to userland, and > that struct ifnet now contains a struct task, userland needs to know > what struct task looks like. > > We need to consider having a pointer to a struct task here instead and > forward declare struct task in the !_KERNEL case. Or have a struct ifnet for kernel and a struct xifnet for userland, as we do in other places. Maxime