Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1093877imu; Wed, 23 Jan 2019 10:37:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN7zilo8GqN4QH0Y6W13L+xcl9YOwLhNHy9h13y/WRuB2K9dbj3dpsqZ2gbFyOhp4GCLOrrt X-Received: by 2002:a17:902:7c85:: with SMTP id y5mr3306221pll.63.1548268645228; Wed, 23 Jan 2019 10:37:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548268645; cv=none; d=google.com; s=arc-20160816; b=IDlYOYJiGWECvUL02ZdH9NFgbXHBqD0hYllNR0AHuGP1zHOdVBRHkDIILzmSVASqzx 3yvR3ktjoOzaTYv9ZaqCVb82LItnX7NEz6fnpPKXWMSNAfiiUCoGW889QaWgQik/3AE9 5QWa1zCbHFogZ2zPn66C+VpZOj6EdNjpEM1crC5js2lKzdnue0meNO7KZZCCaH8puQ+x JTajY60kbHcTjksNW9gBJkUWr+2DhOeerZMSz1ruFKRWOskynDr0SVK57MSfxqGvS6hu xaKq7QNVlJDdXDLvd9kUjdnV92LFLonXFaaMfAv+5ERisWuFIUnMRIv//d3x/OKoT06j Hj5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject; bh=C7CZmE9HTxmqTzpym5AkeYYQREtOcJCBAIRRmX3Cwyk=; b=bIB5M8oy5vlSTJ7db4pnIksSZ5Kvm45S/c3merAqnHAYcACOVBL+mM4x3t+2cN3gUB OaReAUX92uL2rKSu9wZ3Qaa7d87tcfA5+QOtCc+XY2aqclpvUgJJtrSVzsETnWaVUata yMXeTsbFZs5rAF6KZoHWJhalmJUj9BZFLmwOCj+hXZducFOkzjrxkOuuStoNHUVuzYvV QNfPKAGITcA8MADoJ2wc0403OPHowyJQIwRI/FPWSaL/ItRJRdpfUypA5zzXJr/mUkxQ t0YzE9V9N7RJuFnbA2CrbrP69oKJ7Wsw9Zj9LhhAbTyg5JoIQVqrxyPON9wIUNw4lgI0 xtdQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i62si562508pfc.17.2019.01.23.10.37.10; Wed, 23 Jan 2019 10:37:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbfAWSgg (ORCPT + 99 others); Wed, 23 Jan 2019 13:36:36 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:34338 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726981AbfAWSgV (ORCPT ); Wed, 23 Jan 2019 13:36:21 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0NIYIMa118274 for ; Wed, 23 Jan 2019 13:36:20 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2q6u80pu40-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 23 Jan 2019 13:36:19 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 23 Jan 2019 18:36:17 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 23 Jan 2019 18:36:14 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x0NIaCLA62128164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 23 Jan 2019 18:36:13 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D9DB34C044; Wed, 23 Jan 2019 18:36:12 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 26A114C040; Wed, 23 Jan 2019 18:36:11 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.107.54]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 23 Jan 2019 18:36:11 +0000 (GMT) Subject: Re: [PATCH v5 0/2] let kexec_file_load use platform keyring to verify the kernel image From: Mimi Zohar To: Kairui Song , linux-kernel@vger.kernel.org Cc: dhowells@redhat.com, dwmw2@infradead.org, jwboyer@fedoraproject.org, keyrings@vger.kernel.org, jmorris@namei.org, serge@hallyn.com, bauerman@linux.ibm.com, ebiggers@google.com, nayna@linux.ibm.com, dyoung@redhat.com, linux-integrity@vger.kernel.org, kexec@lists.infradead.org Date: Wed, 23 Jan 2019 13:36:00 -0500 In-Reply-To: <20190121095929.26915-1-kasong@redhat.com> References: <20190121095929.26915-1-kasong@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 19012318-4275-0000-0000-00000303300B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19012318-4276-0000-0000-00003811658A Message-Id: <1548268560.3971.2.camel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-23_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=791 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901230136 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-01-21 at 17:59 +0800, Kairui Song wrote: > This patch series adds a .platform_trusted_keys in system_keyring as the > reference to .platform keyring in integrity subsystem, when platform > keyring is being initialized it will be updated, so it will be > accessable for verifying PE signed kernel image. There were some scripts/checkpatch.pl errors/warnings emitted on these patches.  I've fixed them, but in the future please follow the guidelines in Documentation/process/submitting-patches.rst. These patches are now queued in the next-integrity branch of https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git Mimi