From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3436FC433DF for ; Mon, 24 Aug 2020 17:24:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B4BA20738 for ; Mon, 24 Aug 2020 17:24:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="K5Pjs5SU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgHXRYj (ORCPT ); Mon, 24 Aug 2020 13:24:39 -0400 Received: from linux.microsoft.com ([13.77.154.182]:57598 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbgHXRYH (ORCPT ); Mon, 24 Aug 2020 13:24:07 -0400 Received: from [192.168.0.104] (c-73-42-176-67.hsd1.wa.comcast.net [73.42.176.67]) by linux.microsoft.com (Postfix) with ESMTPSA id 2D58820B4908; Mon, 24 Aug 2020 10:24:07 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2D58820B4908 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1598289847; bh=P+vH+9CgoxlkQcVVKVkVbeTTeVPmRvrMgEOQZfqs2Qw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=K5Pjs5SUP1ef+4WPSV7JOZBxbrNTXB3+yQ/+Fk2wtRuyZB04Pk4+M33NA9awaKWPQ dSbq5XK4lcuSe/9jKlvDtON3uSSoFARvVQqn86yG9O4eeUbJOQUOKxYJvGLxswA/de lJwNseAxO8usIcbmXmU+G8d28PJerE0RQSsLihbk= Subject: Re: [LTP v4 1/5] IMA/ima_keys.sh: Fix policy content check usage To: Petr Vorel , ltp@lists.linux.it Cc: Mimi Zohar , linux-integrity@vger.kernel.org References: <20200820090824.3033-1-pvorel@suse.cz> <20200820090824.3033-2-pvorel@suse.cz> <20200824171943.GA15693@dell5510> From: Lakshmi Ramasubramanian Message-ID: <9bd0a70c-ba3f-3538-cf4f-fddcdb14c383@linux.microsoft.com> Date: Mon, 24 Aug 2020 10:24:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200824171943.GA15693@dell5510> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On 8/24/20 10:19 AM, Petr Vorel wrote: Hi Petr, > >> require_ima_policy_content cannot be used in subshell $() evaluation, >> because tst_brk does not quit the test. It calls cleanup for the >> subshell process and main process then continue: > ... > > Merged this one to at least fix ima_keys.sh test. > I'll wait little longer before merging the rest of v4 patchset > https://patchwork.ozlabs.org/project/ltp/list/?series=196621 > Sorry for the late response. I applied your v4 patches and ran keys tests. The issues reported earlier by Mimi are fixed. thanks, -lakshmi