Re: kernel headers & userland

Abraham vd Merwe (abraham@2d3d.co.za)
Mon, 6 Aug 2001 13:09:24 +0200


--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Eric!

> > Apparently Linus told Felix von Leitner (the author of dietlibc - a sma=
ll,
> > no nonsense glibc replacement C library) a while ago _not_ to include a=
ny
> > linux kernel headers in userland (i.e. the C library headers in this ca=
se).
> >=20
> > This imho is obviously wrong since there are definitely a need for incl=
uding
> > kernel headers on a linux platform.
>=20
> ??? Necessity no. Are there practical benefits yes.
>=20
> The policy of the kernel developers in general is that if your apps
> includes kernel headers and it breaks, it is a kernel problem.
>=20
> As for ioctl it is a giant mess that needs to be taken out and shot.
>=20
> And yes there are places where even the mighty glibc is in the wrong.

Just acknowledging that it is a problem doesn't solve the problem though.
The question remains how you approach the kernel headers issue at the momen=
t?

My guess is the only way is by including the kernel headers for now and
change it one day when someone decides to clean up the mess.

--=20

Regards
Abraham

Every absurdity has a champion who will defend it.

__________________________________________________________
Abraham vd Merwe - 2d3D, Inc.

Device Driver Development, Outsourcing, Embedded Systems

Cell: +27 82 565 4451 Snailmail:
Tel: +27 21 761 7549 Block C, Antree Park
Fax: +27 21 761 7648 Doncaster Road
Email: abraham@2d3d.co.za Kenilworth, 7700
Http: http://www.2d3d.com South Africa

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7bnrkzNXhP0RCUqMRAo9DAJ4uG5iVVw8W+0woX0UTKcDjeH/9owCgkdM1
YyGheDP9/cIq4s5inA/P8Yk=
=Z7lB
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/