cvs commit: src/lib/libc/stdlib grantpt.c src/lib/libutil pty.c src/sys/conf files

Robert Watson rwatson at
Thu Dec 6 02:15:30 PST 2007

rwatson     2007-12-06 10:15:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libc/stdlib      grantpt.c 
    lib/libutil          pty.c 
    sys/conf             files 
  Disable support for /dev/ptmx in FreeBSD 7.0.  While it's a good idea in
  principle, the current devfs-based cloning facilit makes the current
  user<->kernel protocol for allocating new pts nodes difficult or
  impossible to do without leading to resource leaks or race conditions.
  We tentatively plan to reintroduce ptmx/pts support in FreeBSD 7.1 once
  a fixed version has settled out in HEAD.  People who really want to run
  with the current code can re-enable it but it will require tweaking
  conf files and unifdef'ing it.  By removing it now before the release,
  we avoid having to support the current allocation protocol in future
  releases in order to provide backwards compatibility with older libc's.
  Discussed with: cognet, erwin
  Approved by:    re (kensmith)
  Revision    Changes    Path     +4 -0      src/lib/libc/stdlib/grantpt.c    +4 -0      src/lib/libutil/pty.c
  1.1243.2.2  +1 -1      src/sys/conf/files

More information about the cvs-all mailing list