Date: Thu, 4 Sep 2008 16:30:53 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty_compat.c src/sys/sys tty.h Message-ID: <200809041631.m84GVhvI084020@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809041631.m84GVhvI084020>