Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753379AbbGNU6D (ORCPT ); Tue, 14 Jul 2015 16:58:03 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:38413 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683AbbGNU6C (ORCPT ); Tue, 14 Jul 2015 16:58:02 -0400 Date: Tue, 14 Jul 2015 22:57:38 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Michal Marek , Andy Lutomirski , Borislav Petkov , Linus Torvalds , Andi Kleen , Pedro Alves , x86@kernel.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 2/4] x86/stackvalidate: Compile-time stack validation Message-ID: <20150714205738.GO19282@twins.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 776 Lines: 16 On Tue, Jul 14, 2015 at 12:14:08PM -0500, Josh Poimboeuf wrote: > This adds a CONFIG_STACK_VALIDATION option which enables a host tool > named stackvalidate which runs at compile time. It analyzes every .o > file and ensures the validity of its stack metadata. It enforces a set > of rules on asm code and C inline assembly code so that stack traces can > be reliable. > > Currently it checks frame pointer usage. I plan to add DWARF CFI > validation as well. Validation or Annotation, as in the generation of DWARF CFI info? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/