Received: by mail.netbsd.org (Postfix, from userid 605) id 12C6E14A2CE; Thu, 15 Dec 2011 00:05:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C31A814A2CB for ; Thu, 15 Dec 2011 00:05:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Of0M2JPTJ1zi for ; Thu, 15 Dec 2011 00:05:18 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 54AE814A2CA for ; Thu, 15 Dec 2011 00:05:18 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 8F4C9175DD; Thu, 15 Dec 2011 00:05:18 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 15 Dec 2011 00:05:18 +0000 From: "Jared D. McNeill" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20111215000518.8F4C9175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jared D. McNeill" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: jmcneill Date: Thu Dec 15 00:05:18 UTC 2011 Modified Files: src/sys/kern: kern_lwp.c Log Message: In lwp_create, copy l_sigstk from the template. Previously sigaltstack wasn't inherited across fork (but SA_ONSTACK handlers was), causing the child process to crash when the handler is invoked. ok martin@, christos@ To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sys/kern/kern_lwp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.