Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbeABShO (ORCPT + 1 other); Tue, 2 Jan 2018 13:37:14 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.154.211]:55745 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbeABShM (ORCPT ); Tue, 2 Jan 2018 13:37:12 -0500 Date: Tue, 2 Jan 2018 18:35:08 +0000 From: "Maciej W. Rozycki" To: Miodrag Dinic CC: Paul Burton , Aleksandar Markovic , Aleksandar Markovic , James Hogan , "David Daney" , "linux-mips@linux-mips.org" , Andrew Morton , DengCheng Zhu , Ding Tianhong , Douglas Leung , "Frederic Weisbecker" , Goran Ferenc , "Ingo Molnar" , James Cowgill , "Jonathan Corbet" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Marc Zyngier , "Matt Redfearn" , Mimi Zohar , "Paul E. McKenney" , Petar Jovanovic , Raghu Gandham , "Ralf Baechle" , Thomas Gleixner , "Tom Saeger" Subject: RE: [PATCH v2] MIPS: Add nonxstack=on|off kernel parameter In-Reply-To: <48924BBB91ABDE4D9335632A6B179DD6A8E6B2@MIPSMAIL01.mipstec.com> Message-ID: References: <1511272574-10509-1-git-send-email-aleksandar.markovic@rt-rk.com> <48924BBB91ABDE4D9335632A6B179DD6A8CFEA@MIPSMAIL01.mipstec.com> <20171130100957.GG5027@jhogan-linux.mipstec.com> <48924BBB91ABDE4D9335632A6B179DD6A8D102@MIPSMAIL01.mipstec.com> ,<20171206182400.6va3pqdmgisbino7@pburton-laptop> <48924BBB91ABDE4D9335632A6B179DD6A8E6B2@MIPSMAIL01.mipstec.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-BESS-ID: 1514918139-321459-14509-231746-8 X-BESS-VER: 2017.16-r1712230000 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.21 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.188580 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.20 PR0N_SUBJECT META: Subject has letters around special characters (pr0n) 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH META: Sender Domain Matches Recipient Domain X-BESS-Outbound-Spam-Status: SCORE=0.21 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, PR0N_SUBJECT, BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Miodrag, > > I presume what you > > actually want here is for the kernel to lie & indicate to whatever part > > of Android that performs this check that the stack is non-executable > > even when it is really executable? > > Basically yes, because we do not have other options at this point. Please make the purpose of this option unambiguous in documentation then, along with suitable precautionary notes about any adverse consequences of its use. Maciej