From owner-cvs-all@FreeBSD.ORG Thu Dec 6 10:15:30 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50F7E16A417; Thu, 6 Dec 2007 10:15:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 409EE13C43E; Thu, 6 Dec 2007 10:15:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lB6AFTBt008629; Thu, 6 Dec 2007 10:15:29 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lB6AFTrP008628; Thu, 6 Dec 2007 10:15:29 GMT (envelope-from rwatson) Message-Id: <200712061015.lB6AFTrP008628@repoman.freebsd.org> From: Robert Watson Date: Thu, 6 Dec 2007 10:15:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libc/stdlib grantpt.c src/lib/libutil pty.c src/sys/conf files X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 10:15:30 -0000 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 Log: 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 1.7.2.1 +4 -0 src/lib/libc/stdlib/grantpt.c 1.17.2.2 +4 -0 src/lib/libutil/pty.c 1.1243.2.2 +1 -1 src/sys/conf/files