1. 17 12月, 2010 1 次提交
  2. 11 8月, 2010 1 次提交
    • H
      tty: Add EXTPROC support for LINEMODE · 26df6d13
      hyc@symas.com 提交于
      This patch is against the 2.6.34 source.
      
      Paraphrased from the 1989 BSD patch by David Borman @ cray.com:
      
           These are the changes needed for the kernel to support
           LINEMODE in the server.
      
           There is a new bit in the termios local flag word, EXTPROC.
           When this bit is set, several aspects of the terminal driver
           are disabled.  Input line editing, character echo, and mapping
           of signals are all disabled.  This allows the telnetd to turn
           off these functions when in linemode, but still keep track of
           what state the user wants the terminal to be in.
      
           New ioctl:
               TIOCSIG         Generate a signal to processes in the
                               current process group of the pty.
      
           There is a new mode for packet driver, the TIOCPKT_IOCTL bit.
           When packet mode is turned on in the pty, and the EXTPROC bit
           is set, then whenever the state of the pty is changed, the
           next read on the master side of the pty will have the TIOCPKT_IOCTL
           bit set.  This allows the process on the server side of the pty
           to know when the state of the terminal has changed; it can then
           issue the appropriate ioctl to retrieve the new state.
      
      Since the original BSD patches accompanied the source code for telnet
      I've left that reference here, but obviously the feature is useful for
      any remote terminal protocol, including ssh.
      
      The corresponding feature has existed in the BSD tty driver since 1989.
      For historical reference, a good copy of the relevant files can be found
      here:
      
      http://anonsvn.mit.edu/viewvc/krb5/trunk/src/appl/telnet/?pathrev=17741Signed-off-by: NHoward Chu <hyc@symas.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      26df6d13
  3. 28 7月, 2008 1 次提交
    • S
      sparc, sparc64: use arch/sparc/include · a439fe51
      Sam Ravnborg 提交于
      The majority of this patch was created by the following script:
      
      ***
      ASM=arch/sparc/include/asm
      mkdir -p $ASM
      git mv include/asm-sparc64/ftrace.h $ASM
      git rm include/asm-sparc64/*
      git mv include/asm-sparc/* $ASM
      sed -ie 's/asm-sparc64/asm/g' $ASM/*
      sed -ie 's/asm-sparc/asm/g' $ASM/*
      ***
      
      The rest was an update of the top-level Makefile to use sparc
      for header files when sparc64 is being build.
      And a small fixlet to pick up the correct unistd.h from
      sparc64 code.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a439fe51
  4. 18 7月, 2008 1 次提交
    • S
      sparc: Merge asm-sparc{,64}/ioctls.h · f1ba03ca
      Sam Ravnborg 提交于
      Trivial differenses in comments - used the version from sparc64
      
      :$ diff -u include/asm-sparc/ioctls.h include/asm-sparc64/ioctls.h
      :-- include/asm-sparc/ioctls.h	2008-06-13 08:46:29.000000000 +0200
      :++ include/asm-sparc64/ioctls.h	2008-06-13 08:46:29.000000000 +0200
      :@@ -1,5 +1,5 @@
      :-#ifndef _ASM_SPARC_IOCTLS_H
      :-#define _ASM_SPARC_IOCTLS_H
      :+#ifndef _ASM_SPARC64_IOCTLS_H
      :+#define _ASM_SPARC64_IOCTLS_H
      :
      : #include <asm/ioctl.h>
      :
      :@@ -22,7 +22,7 @@
      :
      : /* Note that all the ioctls that are not available in Linux have a
      :  * double underscore on the front to: a) avoid some programs to
      :- * thing we support some ioctls under Linux (autoconfiguration stuff)
      :+ * think we support some ioctls under Linux (autoconfiguration stuff)
      :  */
      : /* Little t */
      : #define TIOCGETD	_IOR('t', 0, int)
      :@@ -110,7 +110,7 @@
      : #define TIOCSERGETLSR   0x5459 /* Get line status register */
      : #define TIOCSERGETMULTI 0x545A /* Get multiport config  */
      : #define TIOCSERSETMULTI 0x545B /* Set multiport config */
      :-#define TIOCMIWAIT	0x545C /* Wait input */
      :+#define TIOCMIWAIT	0x545C /* Wait for change on serial input line(s) */
      : #define TIOCGICOUNT	0x545D /* Read serial port inline interrupt counts */
      :
      : /* Kernel definitions */
      :@@ -133,4 +133,4 @@
      : #define TIOCPKT_NOSTOP		16
      : #define TIOCPKT_DOSTOP		32
      :
      :-#endif /* !(_ASM_SPARC_IOCTLS_H) */
      :+#endif /* !(_ASM_SPARC64_IOCTLS_H) */
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f1ba03ca
  5. 22 4月, 2008 1 次提交
  6. 18 10月, 2007 1 次提交
  7. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4