Re: [PATCH] Re: [PATCH] scsi.h uses "u8" which isn't defined.

From: Sam Ravnborg
Date: Mon Aug 18 2003 - 13:17:03 EST


On Mon, Aug 18, 2003 at 01:24:51PM +0100, Christoph Hellwig wrote:
> On Mon, Aug 18, 2003 at 02:19:41PM +0200, Andries.Brouwer@xxxxxx wrote:
> > The right approach is not to break userspace without any kernel
> > benefit whatsoever, but to eliminate the accumulated cruft from
> > scsi.h.
>
> Userspace is supposed to use the glibc <scsi/scsi.h> which is there
> for exactly that reason.

Hi Christoph & others.
Does anyone see a good way to provide a framework to auto-generate
user-space headers from the kernel versions?

hpa IIRC suggested to create a separate directory:
include/abi
and then all relevant parts of the kernel should publish their public
interface in the abi directory. Would that be usefull?

Another way could be to preprocess headerfiles, and store the output
in an abi directory.

Either way it could be good to have a sketch outlined, then
something could be made in 2.7 about this.

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