From owner-svn-src-head@FreeBSD.ORG Wed Mar 21 16:17:36 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B98A4106566B; Wed, 21 Mar 2012 16:17:36 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8931A8FC26; Wed, 21 Mar 2012 16:17:36 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 3569446B0A; Wed, 21 Mar 2012 12:17:36 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A4FC2B940; Wed, 21 Mar 2012 12:17:35 -0400 (EDT) From: John Baldwin To: Ed Schouten Date: Wed, 21 Mar 2012 09:42:05 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <201203210838.q2L8chUM062260@svn.freebsd.org> <20120321104409.GL87507@hoeg.nl> In-Reply-To: <20120321104409.GL87507@hoeg.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203210942.05146.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 21 Mar 2012 12:17:35 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Sergey Kandaurov , src-committers@freebsd.org Subject: Re: svn commit: r233271 - in head/sys: amd64/conf arm/conf i386/conf ia64/conf mips/conf pc98/conf powerpc/conf sparc64/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 16:17:36 -0000 On Wednesday, March 21, 2012 6:44:09 am Ed Schouten wrote: > Hi Sergey, > > * Sergey Kandaurov , 20120321 11:18: > > Will this affect old binaries like misc/mc build for e.g. 6.x running on GENERIC > > w/o kldoaded pty(4), so that I will have to `kldload pty'? > > Currently executing old mc results in emitting the following kernel message: > > > > pid 11948 (mc) is using legacy pty devices - not logging anymore > > If it's dynamically linked against libc and libutil, it's not a problem. > Otherwise you need to rebuild mc(1). If rebuilding mc(1) doesn't help, > let me know and I'll take a look at the port. > > If apps print the "is using legacy pty devices" message, you probably > need to load pty(4). 6.x predates the symbol versioned libc, so even if it is dynamically linked it is still using older versions of the pty lookup routines. It will likely need pty(4) forever. Perhaps you could enable pty(4) by default if one of the relevant COMPAT_FREEBSD options is included? -- John Baldwin