From owner-svn-src-all@FreeBSD.ORG Wed Mar 21 16:42:01 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B64001065677; Wed, 21 Mar 2012 16:42:01 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9815F8FC0C; Wed, 21 Mar 2012 16:42:00 +0000 (UTC) Received: by lboi15 with SMTP id i15so1284909lbo.13 for ; Wed, 21 Mar 2012 09:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JWy9Yl4mkgm1y9LbHWWV7j3KHtypw6SUETZX+vTpU7o=; b=vF8xhftpIVU6XnU8lAKpt3TsW5f2iiCa+9bLR2+MWq6Aoa161DTG5qk3zo7946GjA+ iu7tUS6cJtbeGDzALGo6+xOH9AI90qFjwfm9Q1uX6CojbnEvbv0lDn4MA+TW+3GqmpS7 y/V9iAoaJikKUo5f35ulLOhwDAaR6mF2IlyBnQDhCOqA/MNB+LN/VKWnuNmbfJveozTM MWZ9UxX1j76fkDVuts7AwgNZpg+GBqPsX+svZG519E4szbAuAI6eSFF9MlALXHwlgDQN lIWPcAbsIWN0eoWtnLhIWnTtJuGUDYNKfHw3Hu9rasMNdTAAJjOJ5tw/46eotP1OFBpq CpyA== MIME-Version: 1.0 Received: by 10.112.100.232 with SMTP id fb8mr1635689lbb.86.1332348119513; Wed, 21 Mar 2012 09:41:59 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.152.21.73 with HTTP; Wed, 21 Mar 2012 09:41:59 -0700 (PDT) In-Reply-To: <201203210942.05146.jhb@freebsd.org> References: <201203210838.q2L8chUM062260@svn.freebsd.org> <20120321104409.GL87507@hoeg.nl> <201203210942.05146.jhb@freebsd.org> Date: Wed, 21 Mar 2012 19:41:59 +0300 X-Google-Sender-Auth: 9eFtdyNTndQoAPzKsWSLDRsih9I Message-ID: From: Sergey Kandaurov To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, Ed Schouten , svn-src-all@freebsd.org, 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 16:42:01 -0000 On 21 March 2012 17:42, John Baldwin wrote: > 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 link= ed it > is still using older versions of the pty lookup routines. =A0It will like= ly need > pty(4) forever. =A0Perhaps you could enable pty(4) by default if one of t= he > relevant COMPAT_FREEBSD options is included? > Hmm.. I just tested misc/mc on amd64 recent head (after pty removal from GENERIC) inside 6.2-RELEASE i386, and it works there without pty(4) in kernel. If I made testing right, that means nothing should be changed. --=20 wbr, pluknet