Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp599610imp; Wed, 20 Feb 2019 05:54:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IaI4/PatM9tW6lWOk2DeHL5M13bwXsn1zBoyIJ3mX5WAGq6CB2Yf70tQxa2/4C5QC4Goe7V X-Received: by 2002:a17:902:2dc3:: with SMTP id p61mr36169688plb.166.1550670857361; Wed, 20 Feb 2019 05:54:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550670857; cv=none; d=google.com; s=arc-20160816; b=1EVwJHsS7bhERqrt7gkrouwTZ/zhIUpE/lTPHRtQHK9vGY0GtsimvzQ+QYqwMgyVgX 62pybYcFCE80acSRGKtBoP3GNgsUItima2fqPVcOJa9p+b8BF0dZRFs/TEesSmueCAl6 UEBbydyAToyzJWhWzdoNn4qnVzLjLpfsLWCKpsfuBNFTAr/+NrDc8uSMSn4kcfOwOxRN JBqxbp98mC3gEGMER1X4kgDYMWvEnbIcxmcSHVGKOb2XX5MWW996V8/cOHdAmbl4ZJ2I WqXto7z5IcCqaX3wsirFVWfKKNt43ZohXlsEqwfKV29AgbzAUOsfMvoSd/IMaY4wvGS9 bmyA== 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=e+Kzsxy+zdgzmnMFIaXVkbVdhNXSx2olHB516yPmAII=; b=CkXmlVZrrPNLoLkqEWDgZRcRqw4FUaNyEbkQ24jQKILi0bzV6Gy76OKB4PfuC9Bo/N XIFmfzEoDqM6l2xh4LrLhZFdfq18XbEsOx7cF0bcIIgv+UK5Bcu1mHs3i5F8sOkNll8l cviitOzoyVO3epYtY7436EJPUpexaP7KDyXrmh+Uh3jKJPvibi1Rv8QlF2L2GDSgyU0x DBVc3YHXm5BS7y6lYBwd9K9b6nMo6y0B/62MNyUceb+wfBQVKQAKdvq6+krDjB6AeNyw VNl7aMqA4EtWInKpsWb8ZKkHX+IfFollrvrUKmIDEfZ+uNameY/W8aWsqVVuu7HrwOc0 I5Ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g75si2522671pfg.49.2019.02.20.05.54.01; Wed, 20 Feb 2019 05:54:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726191AbfBTNwB (ORCPT + 99 others); Wed, 20 Feb 2019 08:52:01 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([146.101.78.151]:55517 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbfBTNwA (ORCPT ); Wed, 20 Feb 2019 08:52:00 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-3-bPYqFGAfPcihNxlGMAzATg-1; Wed, 20 Feb 2019 13:51:57 +0000 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; Wed, 20 Feb 2019 13:52:40 +0000 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; Wed, 20 Feb 2019 13:52:40 +0000 From: David Laight To: 'David Howells' , "jmorris@namei.org" CC: Aaro Koskinen , "stable@vger.kernel.org" , Eric Biggers , Aaro Koskinen , "keyrings@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] KEYS: user: Align the payload buffer Thread-Topic: [PATCH] KEYS: user: Align the payload buffer Thread-Index: AQHUySDST0ZEr/LQC0mQ8ti2hSdKCKXotDKQ Date: Wed, 20 Feb 2019 13:52:40 +0000 Message-ID: <6bf441ffc1a54d06ad27ed01c6d06a58@AcuMS.aculab.com> References: <155066953188.21038.12015964986007814182.stgit@warthog.procyon.org.uk> In-Reply-To: <155066953188.21038.12015964986007814182.stgit@warthog.procyon.org.uk> 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-MC-Unique: bPYqFGAfPcihNxlGMAzATg-1 X-Mimecast-Spam-Score: 0 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 RnJvbTogRGF2aWQgSG93ZWxscw0KPiBTZW50OiAyMCBGZWJydWFyeSAyMDE5IDEzOjMyDQo+IA0K PiBGcm9tOiBFcmljIEJpZ2dlcnMgPGViaWdnZXJzQGdvb2dsZS5jb20+DQo+IA0KPiBBbGlnbiB0 aGUgcGF5bG9hZCBvZiAidXNlciIgYW5kICJsb2dvbiIga2V5cyBzbyB0aGF0IHVzZXJzIG9mIHRo ZQ0KPiBrZXlyaW5ncyBzZXJ2aWNlIGNhbiBhY2Nlc3MgaXQgYXMgYSBzdHJ1Y3QgdGhhdCByZXF1 aXJlcyBtb3JlIHRoYW4NCj4gMi1ieXRlIGFsaWdubWVudC4gIGZzY3J5cHQgY3VycmVudGx5IGRv ZXMgdGhpc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