Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1663855pxb; Wed, 2 Feb 2022 09:42:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRHpat0eyR1tzXRpKAYvDo5+2H0Whsjtaz426a35FYX0EZz9su+okgkt7wiJgvU96/Xl/R X-Received: by 2002:a17:903:1d0:: with SMTP id e16mr31528307plh.65.1643823776687; Wed, 02 Feb 2022 09:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643823776; cv=none; d=google.com; s=arc-20160816; b=lv5R2yLb3hEri2i39fm6C+2xT3ciBBNYK1Y0qSkCocNykbC8VPZrRJag+a6RBVwcpA GFsTq6c06M25rCN7orYy0BqPKgOib5i23BDGDpsxDevErN2/bOjQoyXQn/uLABBYc4GF dg3phpVdmA/6+jLUkqlSN5oSZdBuh/SvXbdZzbQMpqAdr4/Gr4PYC2T6/R/M9ejZAF6Q 7Pjfjb1pUZnkR8zSLSmZ9LPExLAIVVznAR/FOgaG2R0mVowKd4xSokvGtGneP+lVRB1w cmQdV/+Z6ZwlshJDia/Qwjtu4D2A48CkDm6Xk6SLGNriQdpSZ9PQj0++Lezl/nJgozD3 9niQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=94MxsoX3pzqCVvJ73JGdsRUKDrq5oLzpuXTMrF7YH3I=; b=olVSnvE2t6tgVQfj4ZyYLMLjFqyVhjPISmLjdRxWrEPHmcrMVBr/CC64Mkv+ohjyb7 fRKsUdhEF18JLeO670sdY4hE4ou15HXCh4OVr+GUkC46qw15n+tKyE9HWckCKAL8IEN3 982GXfJYW9thEnniOu192agf+11nyXmb8U02YJqcmCFYwnEByZdY3IvnBtnuMaVeX7uN 0BkztnIbh/Ow+FehTW2kXzr22K2Xgkg62bRkcwoExHMqfUeO+TByZhFaaz32MfFanGYd aM0DRV26CNiiQdNLWiW7n4IbxvfZXtew2uilUPsWi18VgLyV1t+qNkyBWRJWrPaN8iTQ Cbpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oXynr+Oc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10si23670100plg.153.2022.02.02.09.42.44; Wed, 02 Feb 2022 09:42:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oXynr+Oc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344830AbiBBOR7 (ORCPT + 99 others); Wed, 2 Feb 2022 09:17:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbiBBOR4 (ORCPT ); Wed, 2 Feb 2022 09:17:56 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97819C061714; Wed, 2 Feb 2022 06:17:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 382E2617E1; Wed, 2 Feb 2022 14:17:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F192CC004E1; Wed, 2 Feb 2022 14:17:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643811475; bh=Kk7niat406HYHKy3pgAGX/5iWKJRtBzR6KIcTCFSZPU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oXynr+OclZsvxHtmkDsgZiCqI5jM8LpZNvIyB4hMzeu1Y1VwK4d6xxdcZA6bTFiSy hGMy7KiH9hzKJ7GN77bQx1j8a7XYxjnY9nppjSmLqVoUJR4PpYS0vEJb29BiH70QDr KoZLvx/kbcWnUZleG/e93Lj0uZm66G0ONK9X/ku/JxZgY3X6Yzt/VhL7y7MxCuJRgZ ZAZO1ghdR4yw/tuoFnGW10ZwjmvTz8IR33XiOFdyv/nNaKXQ0Laf2NbmrKodG0tDRP yRK20oi/+z7eTh2KpEn6OZiU3izLjexTo7UpIEDlgK8jKj/gl6upX9vD/6IkUfgMxR XsTakfbP6Mzvw== Date: Wed, 2 Feb 2022 15:17:43 +0100 From: Christian Brauner To: Stefan Berger Cc: linux-integrity@vger.kernel.org, zohar@linux.ibm.com, serge@hallyn.com, christian.brauner@ubuntu.com, containers@lists.linux.dev, dmitry.kasatkin@gmail.com, ebiederm@xmission.com, krzysztof.struczynski@huawei.com, roberto.sassu@huawei.com, mpeters@redhat.com, lhinds@redhat.com, lsturman@redhat.com, puiterwi@redhat.com, jejb@linux.ibm.com, jamjoom@us.ibm.com, linux-kernel@vger.kernel.org, paul@paul-moore.com, rgb@redhat.com, linux-security-module@vger.kernel.org, jmorris@namei.org Subject: Re: [PATCH v10 02/27] ima: Do not print policy rule with inactive LSM labels Message-ID: <20220202141743.nqs6tprbmmmufbyw@wittgenstein> References: <20220201203735.164593-1-stefanb@linux.ibm.com> <20220201203735.164593-3-stefanb@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220201203735.164593-3-stefanb@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 01, 2022 at 03:37:10PM -0500, Stefan Berger wrote: > Before printing a policy rule scan for inactive LSM labels in the policy > rule. Inactive LSM labels are identified by args_p != NULL and > rule == NULL. > > Fixes: b16942455193 ("ima: use the lsm policy update notifier") > Signed-off-by: Stefan Berger > --- Ok, Acked-by: Christian Brauner