tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sys/device.h from userland?

On Mon, Feb 11, 2008 at 01:44:15AM -0500, der Mouse wrote:
> > Is there any legitimate reason that userland should #include
> > <sys/device.h>, especially since struct device is now supposed to be
> > opaque to even the kernel?
> Maybe to access one of the other things <sys/device.h> exports?  kmem
> grovelers walking autoconfig data structures?  kcore grovelers?

In cube-autoconf, device_t-specific stuff is in device.h, everything
else about autoconf(9) is in autoconf.h.

In any case, nothing has to be exposed to userland.

Quentin Garnier - -
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpf6RexD2WoB.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index