Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1235468ybi; Fri, 14 Jun 2019 10:54:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfsH4hgMadcxBWUpfKTpHZDryl532qYibtQsLnxY/wz4+fBt0q8d3PvE/Zmf9s3DF3uHL6 X-Received: by 2002:a62:1652:: with SMTP id 79mr36626309pfw.20.1560534886478; Fri, 14 Jun 2019 10:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560534886; cv=none; d=google.com; s=arc-20160816; b=F1RxnenwGHP0eefyS+ZV1ADEuVKfbUMc5O3lH3KqTY1BGey/y/Rcoq6zkOsumJYO6D 41jtMNw/gB7qAo+STSaCYKhxe7+r9BPuLGldWNumEXf1qK1ylEKCKRVgJ5pZl7llk9ED DApy5g5ZpG3TyoKogt55fbSG1KUiXMNgkd6py313CLFAGrVCUUTSwaw8agwhOiLet6bt sE84hPQq+pOS8cJ8vCM6HLVmMx7ihXccrQDOBjWIF2NCmimABWJDzRcgzTMZ0od8EwXK Rj3rCijxYyLLMPYYejQVQQlezzRofIPt27ugiGXVAmE4nxjvgI43pCw9jGuJPFQ9GoaN anyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZWIf587I0I/IIO3dm5/wm1By4rJHZ+H19lkvJnydh20=; b=LmgNdQUmhrStcgw9PMWLpBV8CRLjrSKxFw10djsfQEtHJM049xP5Uled/7RYZDgKu1 UewfzMiRwCjobcPls+vTYJzlloyd9o0PTyTjBmfT3bvIMwdbjnebSuPz67I9Q1jYLOX8 5FJhW+enDfrGRq/Wd1ZqqGA3TegeyBEfTwtJBhncekxf2v71NEe7wophhtHdPDbUyrCY dnvyiGK0AwE4sWW1f2wTKkzfIAs4XlXWhmcUUaLkKnN6dAKmbo9yFhintp2HYqlU9rcB gBnagafW/uPcMWqR4SyQ3Gf5vtRFKETIiuxHjxwyrPB1y6uUJEk3RMlJWcUOa3gzXLwH IUfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=milTqAIR; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si3126011pgk.223.2019.06.14.10.54.31; Fri, 14 Jun 2019 10:54:46 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=milTqAIR; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727291AbfFNRwv (ORCPT + 99 others); Fri, 14 Jun 2019 13:52:51 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35492 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727257AbfFNRwr (ORCPT ); Fri, 14 Jun 2019 13:52:47 -0400 Received: by mail-ot1-f68.google.com with SMTP id j19so3468158otq.2; Fri, 14 Jun 2019 10:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZWIf587I0I/IIO3dm5/wm1By4rJHZ+H19lkvJnydh20=; b=milTqAIRSdQkbg+N9Pa3KMpKvZDfQHcxJqP+24UT886LqQASMh+9tLPsoFbHhkmLhM cDxD3zdC3MY2sIYyeHmGdAUsx+NFQ3DMOxErlCmNTGLs4jp3ms2nc7iV4Nud4UChVh7h TQXphH1ZouQfXp6NWtHXjye70r/2+/r0JMHTP17p5y4XqqpzmR8lxUnUQ9yyN+936YhH aiI8aaxRrF9lByfeoFT40ulwJ8loD7sqcBFPxNdEmKA+prvMQmhB8OmTCzJI8WK894ke BbG0hi0dj8xIusdAwL1e3pS7KhE+ur14WbclFJCX78gaF0bPW7tLl3Lhio8wy+6YvRFI 50hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZWIf587I0I/IIO3dm5/wm1By4rJHZ+H19lkvJnydh20=; b=jZXlXQtzuBOW+Su7L8RPo21bkgvQqmM8tgcge/4kviWZupeI0yO4YCuzWdz6y8l7Cs xRUfRTFopFVp4zqzMKsNuqXnmsfb6KRE87KtOdYQWxQNeWU10+blDzx5dDzEwd6GOjzB T8ndlsQDj3t/NEhM2OtmmZz6lwaDdV6ABVsljiPwi69WWHP/rlvpwCKKHnE0zc4vRH+8 DS/0y7O+oDkXy4IMVTFrlTYADZ/B3KjMAIkYcPG3DMHjg6q4bmhhY6s2yvnuKlsj8Xb8 QRjkTadI1ly3CMXE12VnfrXMlWzPfGsGhpprGkRFCeAtmiKCXUA3vzmxaKg6M6BFBpr8 ozJQ== X-Gm-Message-State: APjAAAXNw7ozXL7sgIW6XxKNFeevI6Iqn+y+kfrqtah+cnqvliHlIQ3J 69C3BuXC7hB2Txm3d5TPEpS2I/yhBITOkPis+gToD4Et X-Received: by 2002:a9d:5911:: with SMTP id t17mr393254oth.159.1560534766509; Fri, 14 Jun 2019 10:52:46 -0700 (PDT) MIME-Version: 1.0 References: <20190612221549.28399-1-prsriva02@gmail.com> <20190612221549.28399-3-prsriva02@gmail.com> <1560455980.4805.57.camel@linux.ibm.com> <1560509860.4171.13.camel@linux.ibm.com> <1560521651.4072.7.camel@linux.ibm.com> In-Reply-To: <1560521651.4072.7.camel@linux.ibm.com> From: prakhar srivastava Date: Fri, 14 Jun 2019 10:52:35 -0700 Message-ID: Subject: Re: [PATCH V8 2/3] Define a new ima template field buf To: Mimi Zohar Cc: linux-integrity , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Roberto Sassu , thiago Jung Bauermann Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 14, 2019 at 7:14 AM Mimi Zohar wrote: > > > > > diff --git a/security/integrity/ima/ima_init.c b/security/integrity/ima/ima_init.c > > > > index 993d0f1915ff..c8591406c0e2 100644 > > > > --- a/security/integrity/ima/ima_init.c > > > > +++ b/security/integrity/ima/ima_init.c > > > > @@ -50,7 +50,7 @@ static int __init ima_add_boot_aggregate(void) > > > > struct ima_template_entry *entry; > > > > struct integrity_iint_cache tmp_iint, *iint = &tmp_iint; > > > > struct ima_event_data event_data = {iint, NULL, boot_aggregate_name, > > > > - NULL, 0, NULL}; > > > > + NULL, 0, NULL, NULL, 0}; > > > > > > here, don't belong in this patch. It belongs in "IMA: support for per > > > policy rule template formats", in case it should ever be backported. > > > Please post this as a separate patch, that will be squashed with > > > "IMA: support for per policy rule template formats". > > > > My mistake. I should have picked up Thaigo's "ima: Use designated > > initializers for struct ima_event_data". Please drop these changes > > instead. > > Sorry for the confusion. I just pushed out Thiago's patch. > Just to clarify: - no split up of patch is needed. - only formatting needs to cleaned up. Apologies for the formatting issues, my editor switches back to tab as 4 chars. Thanks, Prakhar Srivastava > thanks, > > Mimi >