Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp618760pxk; Wed, 23 Sep 2020 11:25:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTmPw0i5wewD8yecRsygE0R3s/7HS8txhge1TdtxKGPezbXWqpy+alSe2aN/ofT0M61Utt X-Received: by 2002:a17:906:6a50:: with SMTP id n16mr919825ejs.107.1600885554288; Wed, 23 Sep 2020 11:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600885554; cv=none; d=google.com; s=arc-20160816; b=YUIiFpWAT/kwdNfmbY+tLL8RVwG6Ji+GMLNX3dAnK4bI8r5189G/1WZKDIyWlyNTUH hx3A66sTTP0glrglkWb9DBQHy3HUfK3Afv7WxL6Y68JpkrKxDS+jiRY3PfP/+WN2vuu6 pOE8GS0AC8SbVqJ8S1kkinROQOHSteTx6H7iZmw/d+IlDOsN3HH3kbfE9NdsMNxrLrDB y5a5M1H+TX0ULJdzufWDYhofcs02h7mlFcyukMI+7hL7TV/Sv2Bygu3X+Vb1CzfIcRJ+ DUCBXiyjrtBGEUAazeOrqw7VKVIe3/44jgVqmzmyXFPxHO4shwpN5bUPerD1otKUma3+ z/yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AgJgGLJFIM3MdNKtITsDL5bqXzq7bQ3CSMGvZyZ1Wqg=; b=PRtBMtlSHLO9HQGpyoFjuCFxojLXHGRIS3Yob8+WDNI9ubzX66r7fdSmUEPNho7D94 e6gwVM2G9dpCt7YgJFfFrkE59arPhZBD2T6tq1xoSm2eqJFgCn8E7jLB40XXqLIexZP0 tLvByt8HrA0mpF3XMClJ+jrq+YO4Ka2rKK6ZPV4M/zhfS4Dib2C0KFCndXMWM12W390K 9BRmRW+xSlc6BNZer13x7yxHWLIwfkd7QBtsQbuLuVjKZFkkWSOVZi53txac5D+/ajm1 u/YcIflUjNW8cU3h95nHaddqRSMsCh9ucZCwA2ZM3o23eqFn+Bc2Emo5EgEuLmtrFuXX R1lQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si443288ejd.647.2020.09.23.11.25.29; Wed, 23 Sep 2020 11:25:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726557AbgIWSVo (ORCPT + 99 others); Wed, 23 Sep 2020 14:21:44 -0400 Received: from mother.openwall.net ([195.42.179.200]:36810 "HELO mother.openwall.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726604AbgIWSVn (ORCPT ); Wed, 23 Sep 2020 14:21:43 -0400 Received: (qmail 28047 invoked from network); 23 Sep 2020 18:21:41 -0000 Received: from localhost (HELO pvt.openwall.com) (127.0.0.1) by localhost with SMTP; 23 Sep 2020 18:21:41 -0000 Received: by pvt.openwall.com (Postfix, from userid 503) id 56DAEAB844; Wed, 23 Sep 2020 20:21:34 +0200 (CEST) Date: Wed, 23 Sep 2020 20:21:34 +0200 From: Solar Designer To: Pavel Machek Cc: madvenka@linux.microsoft.com, kernel-hardening@lists.openwall.com, linux-api@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, oleg@redhat.com, x86@kernel.org, luto@kernel.org, David.Laight@ACULAB.COM, fweimer@redhat.com, mark.rutland@arm.com, mic@digikod.net, Rich Felker Subject: Re: [PATCH v2 0/4] [RFC] Implement Trampoline File Descriptor Message-ID: <20200923182134.GA8990@openwall.com> References: <20200922215326.4603-1-madvenka@linux.microsoft.com> <20200923081426.GA30279@amd> <20200923091456.GA6177@openwall.com> <20200923141102.GA7142@openwall.com> <20200923151835.GA32555@duo.ucw.cz> <20200923180007.GA8646@openwall.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200923180007.GA8646@openwall.com> User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 23, 2020 at 08:00:07PM +0200, Solar Designer wrote: > A couple of other things Brad kindly pointed out: > > SELinux already has similar protections (execmem, execmod): > > http://lkml.iu.edu/hypermail/linux/kernel/0508.2/0194.html > https://danwalsh.livejournal.com/6117.html Actually, that's right in Madhavan's "Introduction": "LSMs such as SELinux implement W^X" and "The W^X implementation today is not complete." I'm sorry I jumped into this thread out of context. Alexander