Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1476574imc; Mon, 11 Mar 2019 14:52:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmmX8ivb9GMl3k5QwM4U1oNTAIyaWThYkF1MeQXuCHtols29uCgO3iq74yA1TuVvtQ/ivU X-Received: by 2002:a63:5349:: with SMTP id t9mr7599590pgl.262.1552341130041; Mon, 11 Mar 2019 14:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552341130; cv=none; d=google.com; s=arc-20160816; b=NQoAeLm8zgUL6mKnPNUcquvYJLjC92mvvrmwCBc9FcnT0v1iKpFlHWxqT7S/Y8rMRS 8swX1DWx/rDZ+a5z7NljjQRGdVGNyUtAU/srMlRJs3pEyszxZc5Kh2ZGRgQMjxq0vJMh vh1fvy40YjWRPw+9ZQvkzC7aytpsQsh56HJIeYpbNeGAAV1DgVt+WuHreHjpB8RsJ4cb w36wuIsGQlDwDHdIYAW+cZYR6OtFbM9qv8/Gf+RscUxzF1woDKkWNOvY61p+yuV7qAw6 mF+Tb75QidgJnnJp6hT0jLGl9lLwQSt3Hu8TMNO3B9/MrPiNofG+7URjqwEOYoA2tKwj G7IA== 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-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date; bh=4vxa1OceYQ4FGyR8txchY9aBb0XgkGpvr9TUQdc+JBA=; b=XoMWZRNIZcZ/n6Bt0dthSaPIPsG0Im2Rx1puhzo8EdpdSV6pYTtikHLk6lnJdL8uci ftd7OARhmfSP8rgA6gw/0LH5efjKfGoLW+bXWIXW98oGLEZZIH/4ZH6WBZoo5XcHTf8b UBYHotYYlzuls43a60UxfJW6Fg69GcDYxgcKw1kanfYElDg4vLQztGpF7fx9Dn5/Qnhi leEkW+2oZEy+5BbdkEn8cGABC1YbqlS9G19HyGCHOBl+/DCyNtccdshoPX2XBAoWuoBv 29lTEcLnzSYZ35am6oVUz0f3hTcyo8obF+lB+JOm6zJ5MhotGoLN6rqk72fRXksdh9dp Kegg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3si6221892pll.417.2019.03.11.14.51.54; Mon, 11 Mar 2019 14:52:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728196AbfCKVvT (ORCPT + 99 others); Mon, 11 Mar 2019 17:51:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:52598 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727008AbfCKVvS (ORCPT ); Mon, 11 Mar 2019 17:51:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6F22CB12F; Mon, 11 Mar 2019 21:51:17 +0000 (UTC) Date: Mon, 11 Mar 2019 22:51:15 +0100 From: Petr Vorel To: Mimi Zohar Cc: linux-integrity@vger.kernel.org, linux-kselftest@vger.kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Dave Young , Matthew Garrett Subject: Re: [PATCH v3 0/7] selftests/ima: add kexec and kernel module tests Message-ID: <20190311215115.GB13024@x230> Reply-To: Petr Vorel References: <1552304473-3966-1-git-send-email-zohar@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1552304473-3966-1-git-send-email-zohar@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mimi, > Mimi Zohar (6): > selftests/ima: cleanup the kexec selftest > selftests/ima: define a set of common functions > selftests/ima: define common logging functions > kselftest/ima: define "require_root_privileges" > selftests/ima: kexec_file_load syscall test > selftests/ima: loading kernel modules Whole patchset LGTM. Reviewed-by: Petr Vorel > Petr Vorel (1): > selftests/ima: Add missing '=y' to config options > tools/testing/selftests/ima/Makefile | 3 +- > tools/testing/selftests/ima/config | 7 +- > tools/testing/selftests/ima/ima_common_lib.sh | 173 +++++++++++++++++++ > tools/testing/selftests/ima/test_kernel_module.sh | 93 ++++++++++ > .../testing/selftests/ima/test_kexec_file_load.sh | 190 +++++++++++++++++++++ > tools/testing/selftests/ima/test_kexec_load.sh | 53 ++---- > 6 files changed, 476 insertions(+), 43 deletions(-) > create mode 100755 tools/testing/selftests/ima/ima_common_lib.sh > create mode 100755 tools/testing/selftests/ima/test_kernel_module.sh > create mode 100755 tools/testing/selftests/ima/test_kexec_file_load.sh Kind regards, Petr