cvs commit: src/sys/kern tty_pty.c

Ed Schouten ed at FreeBSD.org
Sat Aug 23 16:03:11 UTC 2008


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


More information about the cvs-src mailing list