diff options
author | ed <ed@FreeBSD.org> | 2009-12-01 19:14:57 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-01 19:14:57 +0000 |
commit | 72b5ea2c05e0379e9c44721a12a9e1ede765941c (patch) | |
tree | de36d426aab828904e4584369a2db9411f0f1c21 /sys/dev/hwpmc | |
parent | 8116463c117204a8a71a275eb1ffe266fa350954 (diff) | |
download | FreeBSD-src-72b5ea2c05e0379e9c44721a12a9e1ede765941c.zip FreeBSD-src-72b5ea2c05e0379e9c44721a12a9e1ede765941c.tar.gz |
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.
Diffstat (limited to 'sys/dev/hwpmc')
0 files changed, 0 insertions, 0 deletions