patch-2.4.10 linux/include/asm-mips64/ioctl.h
Next file: linux/include/asm-mips64/ioctls.h
Previous file: linux/include/asm-mips64/io.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Sep 9 10:43:02 2001
- Orig file:
v2.4.9/linux/include/asm-mips64/ioctl.h
- Orig date:
Wed Jul 25 17:10:25 2001
diff -u --recursive --new-file v2.4.9/linux/include/asm-mips64/ioctl.h linux/include/asm-mips64/ioctl.h
@@ -38,6 +38,11 @@
#define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
/*
+ * We to additionally limit parameters to a maximum 255 bytes.
+ */
+#define _IOC_SLMASK 0xff
+
+/*
* Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit.
* And this turns out useful to catch old ioctl numbers in header
* files for us.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)