Received: by 10.223.185.116 with SMTP id b49csp5324169wrg; Wed, 7 Mar 2018 09:50:45 -0800 (PST) X-Google-Smtp-Source: AG47ELss+8GbBmbQIodMMbce7McsWOhcMn2C2T+ZPJmUs8pXZkx3f6pJnqBpUd2TiGqwnwfZYUT8 X-Received: by 2002:a17:902:bd46:: with SMTP id b6-v6mr15787239plx.247.1520445045598; Wed, 07 Mar 2018 09:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520445045; cv=none; d=google.com; s=arc-20160816; b=IZwalKq9Oij6G+kKlJkQs4p66hh9dZuDwtmPocvQitqNwIxz/oDGCexRj7vE5bQltH xGtto0XlbAw0ruUtlN7Wto8TaYhTxR+Fr4TymX2iU5UG9SwqckyByjDLxsB/310DjzBZ glDcTtc7vkUGkh1g85xujj5lvMyFoTO1CnTaBi1GgNUNLX3YLg9V1ldzaFvSh6nAXwzs tkX31EkGA4kifzDVn1bw2QXPNMTY1kS29H09s6dD48iLq/e85pLR83wO9L8ttOB63Y4e lvSmyJnWScWWVERotvn1+cwuyZETmoPS1JBpSjdlv8p1pBYHFbmUIkXe8ASzbLcmynKL Omuw== 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-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=87xfolKlhimUR8ZXBHT251Gi5C3lpsONWjepHl9v3Ms=; b=evTRaIf05bHEQu5AG+m6tlUC4C9wtdtlIFOxgiV+RA24bfZrA3Z2Gg1ibfsuIOWkaF 004qBKF2zM9/s3qqUsMzL2155OXxM91LVc998i1VQhqfGo8PQ7RPlyHMbPTe6TxV4/3t FCCF2UXqzW1s2Kaj2MJE2ZETrdqugr6jIWxfW2zw7J7AXP0Wp7l+kxe0F2MYhnyHMGF2 w71DGjySIk1FJmCk8FIISfj/0OtvGS1mNh5cG68iKW9Wb3Mm1QmLuOFeFtZ993DBG25M 2KZ3nc0wwkFuNmR/CCLq40VLAS4n9gAZRA4voEqLj5Ij847WLDKP3DarSpVX4O/1HJ+u 5iMg== 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 m13si1950046pgc.35.2018.03.07.09.50.29; Wed, 07 Mar 2018 09:50:45 -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 S933903AbeCGRtE (ORCPT + 99 others); Wed, 7 Mar 2018 12:49:04 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:49568 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933533AbeCGRtA (ORCPT ); Wed, 7 Mar 2018 12:49:00 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w27HmYEJ005111 for ; Wed, 7 Mar 2018 12:49:00 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gjkd23y84-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 07 Mar 2018 12:48:59 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Mar 2018 12:48:58 -0500 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 7 Mar 2018 12:48:55 -0500 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w27HmsYY56950812; Wed, 7 Mar 2018 17:48:54 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BFC3112403F; Wed, 7 Mar 2018 13:51:07 -0500 (EST) Received: from [9.84.223.209] (unknown [9.84.223.209]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP id 19874124044; Wed, 7 Mar 2018 13:51:05 -0500 (EST) Subject: Re: [PATCH 1/3] certs: define a trusted platform keyring To: David Howells Cc: keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org References: <20180228175521.10287-1-nayna@linux.vnet.ibm.com> <31489.1520438598@warthog.procyon.org.uk> From: Nayna Jain Date: Wed, 7 Mar 2018 23:17:46 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <31489.1520438598@warthog.procyon.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18030717-0048-0000-0000-00000246326B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008630; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.00999668; UDB=6.00508501; IPR=6.00779073; MB=3.00019896; MTD=3.00000008; XFM=3.00000015; UTC=2018-03-07 17:48:57 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18030717-0049-0000-0000-0000445D3122 Message-Id: <8873df7f-490f-28e0-249e-34bb3b133015@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-07_08:,, 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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803070203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/07/2018 09:33 PM, David Howells wrote: > Nayna Jain wrote: > >> + key = key_create_or_update(make_key_ref(keyring, 1), >> + "asymmetric", >> + NULL, >> + p, >> + plen, >> + ((KEY_POS_ALL & ~KEY_POS_SETATTR) | >> + KEY_USR_VIEW | KEY_USR_READ), >> + KEY_ALLOC_NOT_IN_QUOTA | >> + KEY_ALLOC_BUILT_IN | >> + KEY_ALLOC_BYPASS_RESTRICTION); > There's no need to reindent here. Please line up all the arguments: either > push the first argument over onto the next line if you need to or line them > all up with the char after the opening bracket. Thanks David for the feedback. I will post the v2 version with this fix. Are there any other changes ? Thanks & Regards,    - Nayna > > David >