Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2004 11:19:20 +0200
From:      Maxime Henrion <mux@freebsd.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys _task.h
Message-ID:  <20040728091920.GU82302@elvis.mu.org>
In-Reply-To: <200407280912.i6S9CsfA088910@repoman.freebsd.org>
References:  <200407280912.i6S9CsfA088910@repoman.freebsd.org>

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



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