Received: by mail.netbsd.org (Postfix, from userid 605) id B5C4714A17E; Thu, 8 Dec 2011 02:27:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A530A14A17D for ; Thu, 8 Dec 2011 02:27:15 +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 sf_jvyx4TAaC for ; Thu, 8 Dec 2011 02:27:15 +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 EC32B14A170 for ; Thu, 8 Dec 2011 02:27:14 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id D48B6175DD; Thu, 8 Dec 2011 02:27:14 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 8 Dec 2011 02:27:14 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: src/lib/libc/misc To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20111208022714.D48B6175DD@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: "Joerg Sonnenberger" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: joerg Date: Thu Dec 8 02:27:14 UTC 2011 Modified Files: src/lib/libc/misc: stack_protector.c Log Message: Use a constant array for the MIB. Newer LLVM decided that mib[] warranted stack protections, with the obvious crash after the setup was done. As a positive side effect, code size shrinks a bit. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/misc/stack_protector.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.