Re: [v4l-dvb-maintainer] [PATCH] DVB: Delete unused header file linux/dvb/version.h.

From: Manu Abraham
Date: Sun Mar 25 2007 - 08:03:58 EST


On 3/25/07, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:


> There are cases where we need an API update since newer systems do show up.
> In such a case, the only way is to provide backward compatibility
> while adding in newer stuff.
>
> Currently we use the version major/minor for the userspace to identify
> the in kernel API, while the userspace apps can remain binary
> compatible

this is the problem exactly! Your userspace binary knows about the
kernel headers it was compiled against, not about the actual running
kernel! They are very likely not the same.

Well, we could go for an IOCTL in such a case to avoid the unpleasant scenario.


Manu
-
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/