From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2740FC433F5 for ; Fri, 8 Oct 2021 22:47:58 +0000 (UTC) Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.kernel.org (Postfix) with SMTP id 76C5360EB6 for ; Fri, 8 Oct 2021 22:47:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 76C5360EB6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.openwall.com Received: (qmail 30275 invoked by uid 550); 8 Oct 2021 22:47:51 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Received: (qmail 30255 invoked from network); 8 Oct 2021 22:47:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=IDL1dGbYQGd5Z4n8MbIk3dyJApzaVNleP7ehAou5XC4=; b=k/DtfYhTXoNzDDeSt76IrPgiHKVbJzl+yCmhiVP/k9h8OwZ+VHDbs2A9FEOSncQ6Nu c0oNPpuSA0nexNb/AGdFb+q1kORF6YZCNXJNkA0aiLO369TZ7sk5ShzhZMZeTnhRLb7A UNQpET4n7Z7KsW9liWrD/WoMIMHK7Ci23ktRY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=IDL1dGbYQGd5Z4n8MbIk3dyJApzaVNleP7ehAou5XC4=; b=r8beTfFW5lz5+5KN+leOLJn1TpP8GhEbcWjk14Iokm/m7Q0ICN4tLceL/2XAvgWo0+ O84zFlcFQEOsr6N/3VcmHJb7Wu64ZkUNj3xfFpDelv5D03FMNoUXLbd7ScTXVuf9mgaI mB6pHVAQ+oxhUTTMVPah/434Hf+Ab+KHynboOxWuhB33qq4HNXRtv9VD78+jxvCjpwrl 3vmSDS2PyHwZjjkkvBU0IWV+DLMx4DTsTV3CNxhlz/2/EVUdNZawJrAgE9UYM2L+UqBd B7coAS1j7h558nzIWoTc9F6wBZwK8gJuRF04aJMPvTRJQ0FLP+hIYxFYhRDhqkuDnMT6 H2sA== X-Gm-Message-State: AOAM533KS7xixSC6iGrntD9SAGuQWe5yOCXP8SlN4OSerK0eXGwKwGm2 GwBv0KRQse0z6BtdTcUE2/KZzg== X-Google-Smtp-Source: ABdhPJwvnmLJjnp89CGi8tOitxi5+0+62XoRbPGjNi0V+bAyRDLPPpqmm4mrkramzCbREIT8ipI6YQ== X-Received: by 2002:a05:6a00:1944:b0:438:d002:6e35 with SMTP id s4-20020a056a00194400b00438d0026e35mr12543299pfk.20.1633733258954; Fri, 08 Oct 2021 15:47:38 -0700 (PDT) Date: Fri, 8 Oct 2021 15:47:37 -0700 From: Kees Cook To: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Cc: Al Viro , Andrew Morton , Aleksa Sarai , Andy Lutomirski , Arnd Bergmann , Casey Schaufler , Christian Brauner , Christian Heimes , Deven Bowers , Dmitry Vyukov , Eric Biggers , Eric Chiang , Florian Weimer , Geert Uytterhoeven , James Morris , Jan Kara , Jann Horn , Jonathan Corbet , Lakshmi Ramasubramanian , "Madhavan T . Venkataraman" , Matthew Garrett , Matthew Wilcox , Miklos Szeredi , Mimi Zohar , Paul Moore , Philippe =?iso-8859-1?Q?Tr=E9buchet?= , Scott Shell , Shuah Khan , Steve Dower , Steve Grubb , Thibaut Sautereau , Vincent Strubel , kernel-hardening@lists.openwall.com, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH v14 0/3] Add trusted_for(2) (was O_MAYEXEC) Message-ID: <202110081545.8D8C2980@keescook> References: <20211008104840.1733385-1-mic@digikod.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211008104840.1733385-1-mic@digikod.net> On Fri, Oct 08, 2021 at 12:48:37PM +0200, Mickaël Salaün wrote: > This patch series is mainly a rebase on v5.15-rc4 with some cosmetic > changes suggested by Kees Cook. Andrew, can you please consider to > merge this into your tree? Thanks for staying on this series! This is a good step in the right direction for finally plugging the "interpreter" noexec hole. I'm pretty sure Chrome OS will immediately use this as they've been carrying similar functionality for a long time. -- Kees Cook