Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4197609pxj; Tue, 25 May 2021 02:32:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2hAEUa8wUH+WewkpEz17kX5mRoVDeNVWQFJIoXStV4jgddsMqRpn7gBjCWsjVOeY8Z7xE X-Received: by 2002:a17:906:1986:: with SMTP id g6mr15794317ejd.265.1621935156488; Tue, 25 May 2021 02:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621935156; cv=none; d=google.com; s=arc-20160816; b=qLCRCeKeoIDiFNdyrsfW3UV4h5cWuocISyiATNj17wFtUlFfhflMic/DXTOePfDSar NfBZ28pCCOHAfpdgooAKIJKkfeRalo8w2Q1uzhqtucKqneQpoAn15XFK2DuE5kzfFdGK zsRoX7I9icFFVlISykqVqSWflXPsRXnor2l4CG4/hM4yy3NYoj57RWp0u+GFcW+iiP7X 6lSwZ2In+wLv+kxCP0RxQLGFEYjOQSCYJeIeynB/ezkOJOWWBUyVMVyTgt+jDvXoSppK WuyEVNankGcBxstRgujz+sCf4aXfe7rKY9e6p8UyZSjmEK09tfjVXa1d0UOD5quWSVPH yf4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=ZFou9zqsgJq4TAYbiCey5eVb6AJAyBbafIcn/kk0OpQ=; b=MseVLQYc+YaxE7VjZgux+fUmvOyGy41zwgnngVKKZZ+llJDoB9PgGYJro80c7TFZMd o1dJAvKiW34wh6eimvyLVVayU6LbWUzTpwu/hXMf8V99OfNDgbQWvvNFsioOU4BfwCZi hSSVj6yIuiPMgmu24CeEmDxkCsXIlDA15K2xONnYWttI8PGMYy6/xqV+K2Y5FGrj/eam wXjamfASPrva7OS0uCaHPoEEAZKQESCO89ztJi93QSlz/ytnipI5WTZJEs+5XQsWw73o 2JaiU0l2eq8jYTv2d2bRWm4sDsdxNe6YDlTrYhLv4VjECfVk9H5fB4/WiLyEGXXLPNC9 PvTw== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si145236ejp.181.2021.05.25.02.32.13; Tue, 25 May 2021 02:32:36 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232658AbhEYJbH (ORCPT + 99 others); Tue, 25 May 2021 05:31:07 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3093 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232620AbhEYJaz (ORCPT ); Tue, 25 May 2021 05:30:55 -0400 Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Fq7l82j3xz6T0s3; Tue, 25 May 2021 17:17:24 +0800 (CST) Received: from fraeml714-chm.china.huawei.com (10.206.15.33) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 25 May 2021 11:29:23 +0200 Received: from fraeml714-chm.china.huawei.com ([10.206.15.33]) by fraeml714-chm.china.huawei.com ([10.206.15.33]) with mapi id 15.01.2176.012; Tue, 25 May 2021 11:29:23 +0200 From: Roberto Sassu To: Bighead Wang , "zohar@linux.ibm.com" CC: "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: EVM gives no_label error due to security_kernfs_init_security Thread-Topic: EVM gives no_label error due to security_kernfs_init_security Thread-Index: AQHXUUc0KpPQcZofIk6SqEiHrt07sarz7awg Date: Tue, 25 May 2021 09:29:23 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.221.98.153] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBCaWdoZWFkIFdhbmcgW21haWx0bzpleDIwMDIwODA0OUBnbWFpbC5jb21dDQo+IFNl bnQ6IFR1ZXNkYXksIE1heSAyNSwgMjAyMSAxMToxOSBBTQ0KPiBJbiBjZ3JvdXAgZmlsZXN5c3Rl bSwgc2VjdXJpdHlfa2VybmZzX2luaXRfc2VjdXJpdHkoKSB3aWxsIGluaXRpYWxpemUNCj4gdGhl IHNlY3VyaXR5IGRhdGEgZm9yIG5ld2x5IGNyZWF0ZWQga2VybmZzIG5vZGUgYWZ0ZXIga2VybmVs IDUuMi4sDQo+IGhvd2V2ZXIsIG5ldyBFVk0geGF0dHIgdmFsdWUgaXMgbm90IGluaXRpYWxpemVk LCBhbmQgdGhlIG5vX2xhYmVsDQo+IGVycm9yIGFwcGVhcnMgd2hlbiBldm1fdmVyaWZ5X2htYWMo KSBpcyB0cmlnZ2VyZWQuDQo+IA0KPiANCj4gVGhlIGRldGFpbGVkIGRlc2NyaXB0aW9uOg0KPiBX aGVuIHN5c3RlbSBib290cyB1cCB3aXRoIElNQS9FVk0gYW5kIFNFTGludXggZW5hYmxlZCwgd2Ug Z2V0Og0KPiAiIE1heSAyNSAxNDoxMzowMSByYXNwYmVyc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