Re: [Lse-tech] [RFC] fork historic module
From: Manfred Spraul
Date: Fri Dec 17 2004 - 11:56:00 EST
Andi wrote:
+/* IOCTL numbers */
+/* If you add a new IOCTL number don't forget to update FH_MAXNR */
+#define FH_MAGIC 0x35
+#define FH_REGISTER _IO(FH_MAGIC,0)
+#define FH_UNREGISTER _IO(FH_MAGIC,1)
Is this really unique? 32bit emulation currently needs unique ioctl numbers.
Are there plans to fix that? Perhaps move the emulation callback into
struct file?
--
Manfred
-
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/