Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2002 23:25:31 -0400 (EDT)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        FreeBSD-Stable <stable@freebsd.org>
Subject:   Re: who's been smoking crack in freebsd land now ?
Message-ID:  <20020411232106.B13867-100000@topperwein.dyndns.org>
In-Reply-To: <200204111408.AAA16167@caligula.anu.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Apr 2002, Darren Reed wrote:

> In some mail from Brian T.Schellenberger, sie said:
> >
> >
> > Geez, calm down.  You catch more flies with honey than with vinegar.
> >
> > Also, isn't the warning pretty self-explanatory?
>
> No, it isn't.
>
> > "man ioctl" shows that sys/ioctl.h is expected to be used in userland.
>
> Yes.
>
> Last I checked, <sys/*.h> is also expected to be used by the kernel.
>
> Nearly all of <sys/*.h> is expected to be included in userland programs
> as well as the kernel.  Or is FreeBSD going to have a completely different
> /usr/include/sys for user programs and the kernel just in case there is
> anybody out there that cares about portability that FreeBSD hasn't fucked
> over yet ?

    FYI:  this change was made *five* *years* ago.  I'm not sure what
the rationale was, but it certainly wasn't a recent "on a lark" change.

    FWIW, the one Linux driver I wrote doesn't include <sys/ioctl.h>
either--it uses <linux/ioctl.h>.  FWIW, it's an LKM.

    This non-committer will sit down and shut up now.

-- 
Chris BeHanna
Software Engineer                   (Remove "bogus" before responding.)
behanna@bogus.zbzoom.net
I was raised by a pack of wild corn dogs.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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