cvs commit: src/sys/kern tty_compat.c src/sys/sys tty.h

Ed Schouten ed at FreeBSD.org
Thu Sep 4 16:31:43 UTC 2008


ed          2008-09-04 16:30:53 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty_compat.c 
    sys/sys              tty.h 
  Log:
  SVN rev 182763 on 2008-09-04 16:30:53Z by ed
  
  Fix an awful bug inside our COMPAT_43TTY code.
  
  When I migrated tty_compat.c to MPSAFE TTY, I just hooked it up to the
  build and fixed it until it compiled and somewhat worked. It turns out
  this was not the smartest thing, because the old TTY layer also had a
  field called t_flags, which contained a set of sgtty flags.
  
  This means our current COMPAT_43TTY code overwrites the TTY flags,
  causing all strange problems to occur. Fix this code to use a new struct
  member called t_compatflags. This commit may cause kern/127054 to be
  fixed, but this still has to be tested/confirmed by the originator. It
  has to be fixed anyway.
  
  PR:             kern/127054
  
  Revision  Changes    Path
  1.41      +14 -12    src/sys/kern/tty_compat.c
  1.106     +1 -0      src/sys/sys/tty.h


More information about the cvs-src mailing list