Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2641922pxm; Mon, 28 Feb 2022 03:20:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXqO9yg1P9M1gwIDKjIlGlMhMnCInrSg1f5e6IyJbphvFF0NYis1C0pwhpBDtcKaxpPfnZ X-Received: by 2002:a63:7e45:0:b0:374:2e45:5b51 with SMTP id o5-20020a637e45000000b003742e455b51mr16497524pgn.454.1646047259035; Mon, 28 Feb 2022 03:20:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646047259; cv=none; d=google.com; s=arc-20160816; b=S9LD93sYAQWbQQBu0bgpX6GCX8fTjh+Zj66D/PrDHSzaAQiM1dU/GBuKOgrvx3yDUe UqVaRq/uNHpOnAUzCibGgQ9xIHRuygKNihrHz1xSiwoLGURkQCHmXpDTVx15sL9nk76X M1gF8zrvtyT7KuwCl3tjx5/2lbPS++K56JSQj5PRZy75sAOqDiRiuTL/GcqAfeXa4E4G I7DzjI+W1ctocTP1XKfZBVw0v3xuHwo/HsEkk98HDS2Q4kW4q8qzawqCZIr/ScoTa8nh TCbovtmZLFgtli6XYr7LQ9tva/TmJC3jmy3dRkggyAzTjYif6tF/zruRZcBFHd7dqzgZ u55w== 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=3aenC7upKAM7UHf4ZoyzXzc5eO/Vu7Tg8vLrHuAlij0=; b=v3pU3iMCOAuctnBneb5OjoK42K9SJ1LypgnXCkO9XNRWd8s11ItCSAraQyePtMn9Bs TNTlEBCKrp9dXOEdxdSaDqDdUlWBgWxNTbXBfBMFXYw2xHZNr2IyelWHgzHDL/+Pa9JA PtagbsEHswGo1ZVNbv1rxrBtmaXy6iv/jMFcNcgfGAacfGVKDUHa4e/38JWqnxgzq0NH fVINdm+cxQNc1pLLnSX3esSQZRfcWb+98IqXQc2TB0BJ8mUdd9W1h8iSq3bK+yYfnETo C753t/lBBkMMF5Y1B+z4x1AFhQN9re06n9HQyiGkhFAp7R/hVgidkmhebYu9XxQqK7xK 8Ifw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vLHZSPnM; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a63f651000000b003759f87ee65si8863703pgj.442.2022.02.28.03.20.45; Mon, 28 Feb 2022 03:20:59 -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=@linuxfoundation.org header.s=korg header.b=vLHZSPnM; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234826AbiB1Kog (ORCPT + 99 others); Mon, 28 Feb 2022 05:44:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbiB1Koe (ORCPT ); Mon, 28 Feb 2022 05:44:34 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC9A6387AC; Mon, 28 Feb 2022 02:43:55 -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 ams.source.kernel.org (Postfix) with ESMTPS id 3DAB3B80FD4; Mon, 28 Feb 2022 10:43:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C84BC340E7; Mon, 28 Feb 2022 10:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646045032; bh=q6N/NvoiVt/nRwHbH0HFmIxbGn9klhqF/V7IKGiwFlw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vLHZSPnM3sfCqvs3Yak3CaQI5vmbppmheBQVr+BGlw8fSOsioZaPEsa77JwL7gaqP 4ixSK+FSSn5bJVlKUFg4iRfNvZFJEZIssyklXKaH9JKX+G6ogcq5OSZKgLcHdeUwhi IIkOFM7T4Qu0BbbkonLGusGnY8lhGdNk3vWEqGok= Date: Mon, 28 Feb 2022 11:43:49 +0100 From: Greg Kroah-Hartman To: Roberto Sassu Cc: Mimi Zohar , "shuah@kernel.org" , "ast@kernel.org" , "daniel@iogearbox.net" , "andrii@kernel.org" , "kpsingh@kernel.org" , "revest@chromium.org" , "linux-integrity@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-kselftest@vger.kernel.org" , "netdev@vger.kernel.org" , "bpf@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 0/6] bpf-lsm: Extend interoperability with IMA Message-ID: References: <20220215124042.186506-1-roberto.sassu@huawei.com> <408a96085814b2578486b2859e63ff906f5e5876.camel@linux.ibm.com> <5117c79227ce4b9d97e193fd8fb59ba2@huawei.com> <223d9eedc03f68cfa4f1624c4673e844e29da7d5.camel@linux.ibm.com> <6a838878fdb3430b8e1d3e47aab7f22b@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a838878fdb3430b8e1d3e47aab7f22b@huawei.com> X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 28, 2022 at 09:12:35AM +0000, Roberto Sassu wrote: > > From: Roberto Sassu > > Sent: Monday, February 28, 2022 10:08 AM > > > From: Mimi Zohar [mailto:zohar@linux.ibm.com] > > > Sent: Friday, February 25, 2022 8:11 PM > > > On Fri, 2022-02-25 at 08:41 +0000, Roberto Sassu wrote: > > > > > From: Mimi Zohar [mailto:zohar@linux.ibm.com] > > > > > Sent: Friday, February 25, 2022 1:22 AM > > > > > Hi Roberto, > > > > > > > > > > On Tue, 2022-02-15 at 13:40 +0100, Roberto Sassu wrote: > > > > > > Extend the interoperability with IMA, to give wider flexibility for the > > > > > > implementation of integrity-focused LSMs based on eBPF. > > > > > > > > > > I've previously requested adding eBPF module measurements and signature > > > > > verification support in IMA. There seemed to be some interest, but > > > > > nothing has been posted. > > > > > > > > Hi Mimi > > > > > > > > for my use case, DIGLIM eBPF, IMA integrity verification is > > > > needed until the binary carrying the eBPF program is executed > > > > as the init process. I've been thinking to use an appended > > > > signature to overcome the limitation of lack of xattrs in the > > > > initial ram disk. > > > > > > I would still like to see xattrs supported in the initial ram disk. > > > Assuming you're still interested in pursuing it, someone would need to > > > review and upstream it. Greg? > > > > I could revise this work. However, since appended signatures > > would work too, I would propose to extend this appraisal > > mode to executables, if it is fine for you. > > Regarding this patch set, I kindly ask if you could accept it, > after I make the changes suggested. > > The changes are simple, and waiting another kernel cycle > seems too long. 3 months is not a long time, get it right first, there is no deadline here. thanks, greg k-h