1
0
linux-glibc-devel/linux-glibc-devel.SuSE.TIOCGDEV.patch

95 lines
4.6 KiB
Diff

---
usr/include/asm-arm/ioctls.h | 1 +
usr/include/asm-generic/ioctls.h | 1 +
usr/include/asm-ia64/ioctls.h | 1 +
usr/include/asm-parisc/ioctls.h | 1 +
usr/include/asm-powerpc/ioctls.h | 1 +
usr/include/asm-s390/ioctls.h | 1 +
usr/include/asm-sparc/ioctls.h | 1 +
7 files changed, 7 insertions(+)
Index: usr/include/asm-arm/ioctls.h
===================================================================
--- usr/include/asm-arm/ioctls.h.orig 2010-09-13 16:01:32.000000000 +0200
+++ usr/include/asm-arm/ioctls.h 2010-09-13 16:22:48.439806545 +0200
@@ -52,6 +52,7 @@
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
#define TIOCGRS485 0x542E
#define TIOCSRS485 0x542F
Index: usr/include/asm-generic/ioctls.h
===================================================================
--- usr/include/asm-generic/ioctls.h.orig 2010-09-13 16:11:55.000000000 +0200
+++ usr/include/asm-generic/ioctls.h 2010-09-13 16:22:48.455841012 +0200
@@ -65,6 +65,7 @@
#define TIOCSRS485 0x542F
#define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */
+#define TIOCGDEV _IOR('T', 0x32, unsigned int) /* Get real dev no below /dev/console */
#define TCGETX 0x5432 /* SYS5 TCGETX compatibility */
#define TCSETX 0x5433
#define TCSETXF 0x5434
Index: usr/include/asm-ia64/ioctls.h
===================================================================
--- usr/include/asm-ia64/ioctls.h.orig 2010-09-13 16:05:02.000000000 +0200
+++ usr/include/asm-ia64/ioctls.h 2010-09-13 16:22:48.455841012 +0200
@@ -59,6 +59,7 @@
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
#define FIOCLEX 0x5451
Index: usr/include/asm-parisc/ioctls.h
===================================================================
--- usr/include/asm-parisc/ioctls.h.orig 2010-09-13 16:08:11.000000000 +0200
+++ usr/include/asm-parisc/ioctls.h 2010-09-13 16:22:48.456816994 +0200
@@ -52,6 +52,7 @@
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
#define FIOCLEX 0x5451
Index: usr/include/asm-powerpc/ioctls.h
===================================================================
--- usr/include/asm-powerpc/ioctls.h.orig 2010-09-13 16:08:42.000000000 +0200
+++ usr/include/asm-powerpc/ioctls.h 2010-09-13 16:22:48.456816994 +0200
@@ -93,6 +93,7 @@
#define TIOCSRS485 0x542f
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
#define TIOCSERCONFIG 0x5453
#define TIOCSERGWILD 0x5454
Index: usr/include/asm-s390/ioctls.h
===================================================================
--- usr/include/asm-s390/ioctls.h.orig 2010-09-13 16:09:16.000000000 +0200
+++ usr/include/asm-s390/ioctls.h 2010-09-13 16:22:48.474625906 +0200
@@ -60,6 +60,7 @@
#define TCSETSF2 _IOW('T',0x2D, struct termios2)
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
+#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
#define FIOCLEX 0x5451
Index: usr/include/asm-sparc/ioctls.h
===================================================================
--- usr/include/asm-sparc/ioctls.h.orig 2010-09-13 16:10:54.000000000 +0200
+++ usr/include/asm-sparc/ioctls.h 2010-09-13 16:22:48.474806773 +0200
@@ -80,6 +80,7 @@
/* Get minor device of a pty master's FD -- Solaris equiv is ISPTM */
#define TIOCGPTN _IOR('t', 134, unsigned int) /* Get Pty Number */
#define TIOCSPTLCK _IOW('t', 135, int) /* Lock/unlock PTY */
+#define TIOCGDEV _IOW('t', 0x32, unsigned int)
/* Little f */
#define FIOCLEX _IO('f', 1)