Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4330627img; Tue, 26 Mar 2019 07:27:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSOeYaYCdVZoKL3C3mZ6D4wEFa+ACNjhP0TYiuNL58M5pBn8EanbCZziDy5TpYGdhqfk+E X-Received: by 2002:a63:c84c:: with SMTP id l12mr29168180pgi.287.1553610475468; Tue, 26 Mar 2019 07:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553610475; cv=none; d=google.com; s=arc-20160816; b=DTqTKR2l9Q/HlhzSNexsPySbPhTdotX+7kJ0H5zVgJxd2vVBaCYx1EnmeHDRNiZ5sy Klkq/c4iuXBc90HsA3kJ4N2T+WwZcP6h8Jf9zOuXtARrOw9ValgaKxeqwOPRq7BDfGhP rTsL6I9/qG0bdRDcIpCczLBn0P+XkziaK1N5vY0ODNHPrCs/AY8TQIF0LobH7L+FztDS QIzPdzUku0n/duETRck5ll3gBp9dhdxysz3dicEZlzEMWolW7WfQe14k65Fud8H+az3z v59FysucoaDr0Q+l5qbWf0IUQGMXWDdeLrkShBGR22DIO3hlOv208sIGp4BOxfClIWIs iPvg== 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=RxrzDiQBqHhsBckBKZRxwtxHRibkwwvDD2KKVY2IOKo=; b=C2tH7ZjNK6Zcg0Xb22tJlFntiGpHhxoLkIWvmbKXDNgwTRvGWnmkLWkmEvzoELCU4X RYaFmYRBs0WFu/hgekFHw4rOSfpgOq4KeLFG3Aht/b2Z9Dd6vCSHrykP7aoet3+4bZu7 sfg2MSmtDQz9ZGbIlcpbi2yDhZqywoREdEmgBMMhGeA+dLBY/vgfhKegtKfUiHdDvcFs 2XYX7ghvp372E8+6KFD/lzyMXB3gei76I/keIJYY6O9mzz9Bj5XfDHHPoaYmg/HUDCLc enJKcXVIXQAUowfSlWUpIH9ILXAjya6Ebsck0Ui8c2kwjMGX0HVRsS9P8AI8rLXTYsYz LNxA== 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 r133si16244490pgr.175.2019.03.26.07.27.39; Tue, 26 Mar 2019 07:27:55 -0700 (PDT) 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 S1731464AbfCZO1E (ORCPT + 99 others); Tue, 26 Mar 2019 10:27:04 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49960 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726111AbfCZO1E (ORCPT ); Tue, 26 Mar 2019 10:27:04 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2QEQsg1099634 for ; Tue, 26 Mar 2019 10:27:02 -0400 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0b-001b2d01.pphosted.com with ESMTP id 2rfmc852yy-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 26 Mar 2019 10:26:58 -0400 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 26 Mar 2019 14:25:24 -0000 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 26 Mar 2019 14:25:20 -0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x2QEPJ7I7536848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Mar 2019 14:25:19 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 08EC7AE060; Tue, 26 Mar 2019 14:25:19 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 985F0AE062; Tue, 26 Mar 2019 14:25:17 +0000 (GMT) Received: from jarvis.ext.hansenpartnership.com (unknown [9.85.205.129]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Tue, 26 Mar 2019 14:25:17 +0000 (GMT) Subject: Re: Bad file pattern in MAINTAINERS section 'KEYS-TRUSTED' From: James Bottomley To: Mimi Zohar , Jarkko Sakkinen , Joe Perches Cc: linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, Mimi Zohar , David Howells , James Morris , Denis Kenzior , Marcel Holtmann , James Morris Date: Tue, 26 Mar 2019 07:25:17 -0700 In-Reply-To: <1553602220.3960.29.camel@linux.ibm.com> References: <7cd8d12f59bcacd18a78f599b46dac555f7f16c0.camel@perches.com> <20190325212705.26837-1-joe@perches.com> <20190326113725.GA10898@linux.intel.com> <1553602220.3960.29.camel@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19032614-0040-0000-0000-000004D77ECD X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010818; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000282; SDB=6.01179957; UDB=6.00606765; IPR=6.00960672; MB=3.00026164; MTD=3.00000008; XFM=3.00000015; UTC=2019-03-26 14:25:23 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19032614-0041-0000-0000-000008E29FB3 Message-Id: <1553610317.2900.2.camel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-26_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=842 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903260101 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-03-26 at 08:10 -0400, Mimi Zohar wrote: > Hi Jarrko, > > On Tue, 2019-03-26 at 13:37 +0200, Jarkko Sakkinen wrote: > > Mimi, > > > > Can you fix this and I can ack and send PR through my tree? > > Making the "trusted.h" include file public was part of David's "KEYS: > Support TPM-wrapped key and crypto ops" patch set. I wasn't involved > in reviewing or upstreaming this patch set. As I recall, it was > upstreamed rather quickly without much review. As it is TPM related, > it should have at least been posted on the linux-integrity mailing > list. I have no idea if "trusted.h" should have been made public. > > I'm not sure just "fixing" the MAINTAINERS file is the right > solution. I was hoping to look at it later this week. Perhaps you > and James could take a look? Looking at the contents of linux/keys/trusted.h, it looks like the wrong decision to move it. The contents are way too improperly named and duplicative to be in a standard header. It's mostly actually TPM code including a redefinition of the tpm_buf structure, so it doesn't even seem to be necessary for trusted keys. If you want to fix this as a bug, I'd move it back again, but long term I think it should simply be combined with trusted.c because nothing else can include it sanely anyway. James