Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754258AbbLOTPL (ORCPT ); Tue, 15 Dec 2015 14:15:11 -0500 Received: from mail.skyhub.de ([78.46.96.112]:55084 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbbLOTPJ (ORCPT ); Tue, 15 Dec 2015 14:15:09 -0500 Date: Tue, 15 Dec 2015 20:15:01 +0100 From: Borislav Petkov To: Linus Torvalds Cc: Pavel Machek , Andy Lutomirski , Arjan van de Ven , kernel list , Stephen Smalley , Brian Gerst , Denys Vlasenko , Peter Anvin , Mike Galbraith , Peter Zijlstra , Thomas Gleixner Subject: Re: 4.4-rc5: ugly warn on: 5 W+X pages found Message-ID: <20151215191501.GK25973@pd.tnic> References: <20151214090726.GA6472@amd> <20151214202627.GA15104@amd> <566F3378.8070009@linux.intel.com> <20151215094015.GA3677@amd> <20151215183004.GI25973@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 23 On Tue, Dec 15, 2015 at 11:06:38AM -0800, Linus Torvalds wrote: > We want to *warn* about PAGE_RW without PAGE_NX. No? Ah yes, we do: note_page: ... if (st->check_wx && (pr & _PAGE_RW) && !(pr & _PAGE_NX)) { I got confused, sorry. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- 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/