Date: Wed, 30 Jul 1997 03:05:19 -0700 (PDT) From: John-Mark Gurney <jmg@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern tty_pty.c Message-ID: <199707301005.DAA27936@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmg 1997/07/30 03:05:19 PDT Modified files: sys/kern tty_pty.c Log: fix a few problems with pty. warn about how if you only have 1 pty defined, your really getting 32. Also warn about how you can't have more than 256 pty's when your using DEVFS (non DEVFS can use more, just the makedev script doesn't know how to make >256). it also doesn't allocate more memory than needed in this case. Make sure that the signal passed in TIOCSIG isn't 0 as it might cause a panic. I personally haven't seen this happen, but after a similar bug in syscons crashed my machine, I'm acutely aware of this one. :) Revision Changes Path 1.44 +16 -13 src/sys/kern/tty_pty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707301005.DAA27936>