Received: by 10.223.185.116 with SMTP id b49csp5212454wrg; Wed, 7 Mar 2018 08:05:02 -0800 (PST) X-Google-Smtp-Source: AG47ELvGLrb/y2N+rYhyhmDyboI9zxYBov0uS09r3UtK0DmyDr/hv/Nh63cmZlJ6fylmbq2Utbq3 X-Received: by 2002:a17:902:76c4:: with SMTP id j4-v6mr21446888plt.410.1520438702829; Wed, 07 Mar 2018 08:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520438702; cv=none; d=google.com; s=arc-20160816; b=zpeuTt5Zw82C7M4tId37CPq49IS+R/0lKdDGo3jtw8nz1sCRZ4ckNPM5SB2UrWk/TJ FLwYQPgKZpMDuLiX8aOI0JxP2Wdmz54F6jBAVbnYRF34xuC0D6uJAQewwKjYqMXNv0lw //ltkERlO+x/tJPtrAmsSxRAvW9lgSL7527s28jnq30pFwapWTyUCZX7nUUBC8StE+0T C1GkLJrZJM/oVygoNLmmvwF6DwfZ/jcbx6avUVneDFUDjmVAnC39rD+zd7Ulq054FVmx G86eCECC08hcE0liMNbJ/oKafs/NncKMZbOMs2phGtuuYBpiOKqLgEq6FURJ3boIqzU/ 0bpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=5G/1aVpjbsfuetCOMumy0bckSyEHAurwdEr8HAnO8TU=; b=dl70fXzbH4rCwXjTEVONfErV363tORLRzaMxyWfe49XMxFqTgNIZMlharBku3/sVrQ gAhYvKFwt8u3aTeJRrWdY0AhWnMhOxUe2kE8fKFAwjmkf8p2tPqTXHtXpcA4KHKfS5kj YHZzNRVal+BTlf9AfURx9+V28mc6rnRcvy+H6cWH0Yn0bS6oNqI5C3cz32NKgK9T2DZh agvZ+IludBqU0E0TNHaY4/anyP5VVVr9AkdNgdnC23F6w3w9S4TM8sTxePuBDonfSX8h md8j5BXG8P3xpixzXiCf5z6oIBrH6PBUYdUUKWzQDrcbxFQ0FkZkP9LlAuV9ERYgKs2d Va1w== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r20si11551048pgu.423.2018.03.07.08.04.48; Wed, 07 Mar 2018 08:05:02 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933989AbeCGQDW (ORCPT + 99 others); Wed, 7 Mar 2018 11:03:22 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:37490 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933335AbeCGQDT (ORCPT ); Wed, 7 Mar 2018 11:03:19 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4865681A8122; Wed, 7 Mar 2018 16:03:19 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-121-88.rdu2.redhat.com [10.10.121.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8F1E41134CD6; Wed, 7 Mar 2018 16:03:18 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20180228175521.10287-1-nayna@linux.vnet.ibm.com> References: <20180228175521.10287-1-nayna@linux.vnet.ibm.com> To: Nayna Jain Cc: dhowells@redhat.com, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org Subject: Re: [PATCH 1/3] certs: define a trusted platform keyring MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31488.1520438598.1@warthog.procyon.org.uk> Date: Wed, 07 Mar 2018 16:03:18 +0000 Message-ID: <31489.1520438598@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 07 Mar 2018 16:03:19 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 07 Mar 2018 16:03:19 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. David