cvs commit: src/sys/sys _task.h

Maxime Henrion mux at freebsd.org
Wed Jul 28 02:19:21 PDT 2004


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


More information about the cvs-src mailing list