Date: Tue, 1 Dec 2009 19:14:57 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty.c Message-ID: <200912011915.nB1JFRoH092225@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-12-01 19:14:57 UTC
FreeBSD src repository
Modified files:
sys/kern tty.c
Log:
SVN rev 199998 on 2009-12-01 19:14:57Z by ed
Don't allocate an input buffer for a TTY when the receiver is turned off.
When the termios CREAD flag is not set, it makes little sense to
allocate an input buffer. Just set the size to 0 in this case to reduce
memory footprint.
Disallow CREAD to be disabled for pseudo-devices to prevent
foot-shooting.
Revision Changes Path
1.334 +4 -2 src/sys/kern/tty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912011915.nB1JFRoH092225>
