Date: Sat, 23 Aug 2008 16:03:00 +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_pty.c Message-ID: <200808231603.m7NG3B8Q014730@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-08-23 16:03:00 UTC
FreeBSD src repository
Modified files:
sys/kern tty_pty.c
Log:
SVN rev 182069 on 2008-08-23 16:03:00Z by ed
Allow the user to suppress the rate-limited pty(4) warning.
The pty(4) driver raises up to warnings when an old BSD-style PTY is
created. The reason why I added this warning, was to make it easier to
spot applications that allocate BSD-style PTY's, while they should just
use openpty() or posix_openpt().
Add a sysctl, which allows you to override the number of remaining
messages, making it possible to suppress the warnings.
Requested by: kib
Reviewed by: kib
Revision Changes Path
1.161 +5 -1 src/sys/kern/tty_pty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808231603.m7NG3B8Q014730>
