Re: [PATCH] incorrect use of sizeof() in ioctl definitions

From: Matthew Wilcox
Date: Wed Oct 08 2003 - 08:46:23 EST


On Wed, Oct 08, 2003 at 07:42:23PM +0800, Tian, Kevin wrote:
> Thanks. :) Now I see... but are there any rules to decide which part
> should be upgraded even breaking the backward compatibility? You know,

Nothing should break. Linux does not require userspace to be recompiled.
Binaries from the 0.99 days still run today. An exception to this would
be ioctls that were introduced during the 2.5 cycle as they have not
appeared in a stable release yet.

Also, please remember that the size part of the ioctl is only a hint.
Very few things really care about it (which is why the breakage wasn't
discovered before).

--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
-
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/