Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp522830ybj; Thu, 7 May 2020 01:09:30 -0700 (PDT) X-Google-Smtp-Source: APiQypKNTqwrMtFT5VTkecvgGs6jSxHCN8JcBxaTfL/HfP/sCpkeoo6Ehdz32b2ps4oBjMs/qlQN X-Received: by 2002:a17:906:31d7:: with SMTP id f23mr11232437ejf.59.1588838970074; Thu, 07 May 2020 01:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588838970; cv=none; d=google.com; s=arc-20160816; b=dIFw0U/D1mELmSVeiL3ybobW9zraDe34KZ5xvICbvwUF3Oi/154we1MF3qGNmpqRf7 3jCr2W9pXrOZe5n1nr7jbVbgFaLklDEWVK2AP1W5DTO4hWamUS3hN2IuFbY7fZOZlFxb kw44CcEVGHVd4fb+jEL4LnfnOsnDqbdbnIXUkFLGcWLr4UVQBdiaRHOKPH5BnLvvjdv1 UD5d6aubcCcTEyFSZ9cZrJJ8y1yt6aAhPcUOipxAeeCskFeAyRJlg5GwpvUXBNS8SfyG nuOSdz6YQNS8sRowcBpWb96AQtGTLWdRwJCz79bPM2/AoTS5h08SVY/8+PiE8kP/2cVQ 8KOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=znFHprO7Kj9WJhPtGrHyvp8lgK3uw9VkCS3ZeSIumXA=; b=zEv7908EiC8sBUiJBjYLbobBxuZVvoYjSENMd15ckxyBj52+OsQ0fwUTyQew0f41X+ GHy24xXvah8fKPHUqyE8syEangiKPI8HiVDfWnmCSwlVcsasK2AuIp4TrOD+/IG5hICS Vp0Ftz8tDI2ty6iJJP2c3I+MT77RlOMXGeE5ehM4b0uyHy0y+0p0/wHeBXHmrWKm77Oz 4kKFTJX38x+8xmvZeWtCIqvYj+HhCcjJR3iuvqbn7d++wN2xVzNOFxx5aALp8HA3vGog theDnOyUVRlhYegWBywC5geuH0QkPKiGXIGF2yPslttAsxMnRWM9z0XzBqRbTcxw4pzP ppDw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si3014833edh.424.2020.05.07.01.09.06; Thu, 07 May 2020 01:09:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726860AbgEGIFJ (ORCPT + 99 others); Thu, 7 May 2020 04:05:09 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:41175 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgEGIFJ (ORCPT ); Thu, 7 May 2020 04:05:09 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-222-zMK3yQ5kPIe6BMT91EbWpA-1; Thu, 07 May 2020 09:05:05 +0100 X-MC-Unique: zMK3yQ5kPIe6BMT91EbWpA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 7 May 2020 09:05:04 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Thu, 7 May 2020 09:05:04 +0100 From: David Laight To: =?utf-8?B?J01pY2thw6tsIFNhbGHDvG4n?= , "linux-kernel@vger.kernel.org" CC: Aleksa Sarai , Alexei Starovoitov , "Al Viro" , Andy Lutomirski , "Christian Heimes" , Daniel Borkmann , "Deven Bowers" , Eric Chiang , Florian Weimer , James Morris , Jan Kara , Jann Horn , Jonathan Corbet , Kees Cook , "Lakshmi Ramasubramanian" , Matthew Garrett , Matthew Wilcox , Michael Kerrisk , =?utf-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Mimi Zohar , =?utf-8?B?UGhpbGlwcGUgVHLDqWJ1Y2hldA==?= , Scott Shell , Sean Christopherson , Shuah Khan , Steve Dower , Steve Grubb , Thibaut Sautereau , Vincent Strubel , "kernel-hardening@lists.openwall.com" , "linux-api@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" Subject: RE: [PATCH v5 0/6] Add support for O_MAYEXEC Thread-Topic: [PATCH v5 0/6] Add support for O_MAYEXEC Thread-Index: AQHWIvJxeV/0BLZ+8kuLT1dTVkm+SqicRhNg Date: Thu, 7 May 2020 08:05:04 +0000 Message-ID: <20b24b9ca0a64afb9389722845738ec8@AcuMS.aculab.com> References: <20200505153156.925111-1-mic@digikod.net> In-Reply-To: <20200505153156.925111-1-mic@digikod.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTW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