Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4010839img; Tue, 26 Mar 2019 00:51:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2KC6NSuxd5oOEwdLAIlzGiCYNaF9kv5qIayLav94rnwNU1C3r7FEXpMp6SVhDMf+ypAZs X-Received: by 2002:a63:54b:: with SMTP id 72mr26979616pgf.323.1553586666936; Tue, 26 Mar 2019 00:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553586666; cv=none; d=google.com; s=arc-20160816; b=VvbdukbqyYFb0e/WMYrPRy0M8Mh1SA9hxZOBXUI4SgS8l5YgEYUg/Rdd3ZaK5Y547F KCBQZG/usjuvD0iI+73XlEsSg745zXDI05AKhCOTeI/j+5M0eIP9TdInrAavPjYOxma7 0n7nVPwc5B7/JSdmhxah2YdBwlGPNyZlDxRHs+zNxWCIfcqevdoY91HarNGcplK3enTG npvrD+Vz3QtlrhHSQqNZWa+eRv/HzHrplD2nf6I1YxF+xurUQbOGfL04q6olksaDx45a 0veA3dS8ZUUvzTvb2s/RiOFCaCpbySMQk2alZpH3bfcAmUjekveGmmpX1rj1CyFop3VO +rGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=8wnFk35qY7j8KyNAz2E6LpIAG5Bf9BS8rhhfXKzFf7o=; b=BEzYQy2VuzyGHOWxtb3na0sdmDI4MDXwwC/qKuPFgzpTzF/5N8uk/CvaaSkvY/E+hS nmr8pQJxGMZSUt8q0mmy4/jMu58hY5plVStvNj49qwTqv6hA0zzXEAU3k1GBevHZAP1Y tLIQb0CWU3ipaLeC+tiMjqgT8KpyAM1yxF9+TnamjG9CAAVYZz8F7RJIOoYSDE5qJfjn V0MTwPylbBLTIzjbAfBuYAZhyJJfAKRhLjcrdQ7WoMzF5xfPZXY/7BOKbU6Ky4UIoTzF 2hWP3od8+fH4/0j+0HS5pPo4WqZ1roiKQHscN4X+DGwZxvKwpdNxlCIMQ7BAtZUsUT6X dH6Q== 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 t19si15954432plr.402.2019.03.26.00.50.52; Tue, 26 Mar 2019 00:51:06 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731003AbfCZHtu (ORCPT + 99 others); Tue, 26 Mar 2019 03:49:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51762 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfCZHtu (ORCPT ); Tue, 26 Mar 2019 03:49:50 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D3E2A2D7E6; Tue, 26 Mar 2019 07:49:49 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-32.pek2.redhat.com [10.72.12.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9408860A9F; Tue, 26 Mar 2019 07:49:46 +0000 (UTC) Date: Tue, 26 Mar 2019 15:49:42 +0800 From: Dave Young To: Mimi Zohar Cc: linux-integrity@vger.kernel.org, linux-kselftest@vger.kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Petr Vorel , Matthew Garrett Subject: Re: [PATCH v4a 1/2] selftests/kexec: make tests independent of IMA being enabled Message-ID: <20190326074942.GA19708@dhcp-128-65.nay.redhat.com> References: <1553283351-6310-1-git-send-email-zohar@linux.ibm.com> <20190325080935.GA12497@dhcp-128-65.nay.redhat.com> <1553546236.5561.7.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1553546236.5561.7.camel@linux.ibm.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 26 Mar 2019 07:49:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/25/19 at 04:37pm, Mimi Zohar wrote: > On Mon, 2019-03-25 at 16:09 +0800, Dave Young wrote: > > Hi Mimi > > On 03/22/19 at 03:35pm, Mimi Zohar wrote: > > > Verify IMA is enabled before failing tests or emitting irrelevant > > > messages. Also, don't skip the test if signatures are not required. > > > > > > Suggested-by: Dave Young > > > Signed-off-by: Mimi Zohar > > > --- > > > Dave, if this patch resolves the outstanding issues, I can fold these > > > changes into the original patches. (Reminder, these patches will need to > > > be updated to support the "lockdown" patch set.) > > > > They looks good to me, thanks for the update > > I've folded the kexec_file_load changes into the kexec_file_load test. > ?The remaining kexec_load change is left as a separate patch, since it > is dependent on the ikconfig change. > > > Feel free to add my reviewed-by, I did some tests although not cover all > > ima cases. > > Thanks! ?Is this meant as a general "reviewed-by" for all of the > patches or just this specific one? Thank you for taking this as a separate kexec tests, I think it can be used for these delta fixes I read all the patches and reviewed the kexec stuff, but I do not understand all the IMA logic yet although I did some simple ima tests. Thanks Dave