From owner-freebsd-current@FreeBSD.ORG Sun Mar 3 19:25:11 2013 Return-Path: Delivered-To: current@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 D183A39C; Sun, 3 Mar 2013 19:25:11 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id 933DE38F; Sun, 3 Mar 2013 19:25:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1UCEWs-0002JE-Fc; Sun, 03 Mar 2013 22:25:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:Subject:Cc:To:From; bh=uvH//GqQpU4SA/N20OilrWPutBBQJzkueeylrGKu62U=; b=WH9lYQltB1VqqivYOBTTuNC1Cnc143Tx3MMhj+yO1PopjNPf4/FUBci8T72z8SN/c69qIRNXYSqVwkoR1XrTYDAOD32z7oR+fSv2JX1+XWi3FIPUY/ynxPBsNWloO1XIsoov37UuvqwOOQda3zAGumDHJEWUbXC0fZT+h6YgLrA=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1UCEUA-000Fgt-O5; Sun, 03 Mar 2013 19:22:16 +0000 From: Jan Beich To: Pawel Jakub Dawidek Subject: Re: HEADS UP: Capsicum overhaul. Date: Sun, 03 Mar 2013 22:18:02 +0300 References: <20130302020544.GF16664@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1UCEUA-000Fgt-O5@internal.tormail.org> Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Mar 2013 19:25:11 -0000 Pawel Jakub Dawidek writes: > I just committed pretty large change that affects not only Capsicum, but > also descriptor handling code in the kernel. If you will find some > strange problems after r243611 (like panics, unexpected application > errors, etc.) I may be at fault. I'll be looking at current@ mailing > list closly, so report here if you find problems that look related to my > change. tmux started to behave weirdly, sometimes failing to attach: $ printenv PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin OLDPWD=/ DISPLAY=:0 PWD=/home/foo TERM=xterm USER=foo HOME=/home/foo SHELL=/bin/sh $ ktrace -i tmux -L test -f /dev/null $ echo $? 1 $ kdump -r | pastebinit -a 'tmux fails to attach' http://pastebin.com/U3nCPrFY $ env -i TERM=$TERM ktrace -i /usr/local/bin/tmux -L test -f /dev/null $ ^D [exited] $ kdump -r | pastebinit -a 'tmux fails to attach (workaround)' http://pastebin.com/w1dsUAU4 I've tried so far: * booting allbsd.org snapshot -> no joy * enabling capsicum options -> no joy * reverting recent capsicum commits -> works fine