From owner-freebsd-stable@FreeBSD.ORG Wed Jan 30 21:42:35 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 774E29CA for ; Wed, 30 Jan 2013 21:42:35 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 1DD9D887 for ; Wed, 30 Jan 2013 21:42:35 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.5/8.14.5) with ESMTP id r0ULgXCZ093407; Wed, 30 Jan 2013 16:42:33 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <510993C3.9050301@sentex.net> Date: Wed, 30 Jan 2013 16:42:27 -0500 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Kimmo Paasiala Subject: Re: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9 References: <50F6D20A.6070306@FreeBSD.org> <20130117001116.GD29437@lor.one-eyed-alien.net> <50F81588.5020106@FreeBSD.org> <51081E18.60303@sentex.net> In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 64.7.153.18 Cc: FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 21:42:35 -0000 On 1/30/2013 1:21 AM, Kimmo Paasiala wrote: > On Wed, Jan 30, 2013 at 7:27 AM, James wrote: >> I was able to correct the problem as well by prefixing strnvis, avoiding the >> symbol collision. I also found PR: ports/172941 which also has a fix. >> >> Using my patch or the patch in ports/172941 fixes the segfault for me in >> stable/9. However, I quickly ran into another problem. I can't remember the >> error message exactly, it was something like "Unable to initialize PAM: >> Unknown file descriptor". A ktrace didn't reveal anything obvious. I'll try >> to test it out tomorrow. >> >> -- >> James. > > Try the attached patch. Just drop it into > /usr/ports/security/pam_ssh_agent_auth/files directory and recompile. Thanks very much! This does fix it for me too! ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/