From nobody Mon Sep 15 08:04:40 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C890C61DB3 for ; Fri, 13 Jan 2023 15:46:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230250AbjAMPqD (ORCPT ); Fri, 13 Jan 2023 10:46:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230138AbjAMPpW (ORCPT ); Fri, 13 Jan 2023 10:45:22 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 841DE82FA8 for ; Fri, 13 Jan 2023 07:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673624107; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M+e8LXuZohWsWAKx1dvrBva8MxDrnRmzpeJF6iBcKD4=; b=FWz3ZL4U4EX3jGV8E7NBugkyeIK3pmGE0BSbTeUrhaVXwiRJuPZc5CdhC+zm/PTdlVWbrp QV2k8can/YyzhfVueRJBdpQ7/FR1GUPXCW6bDqQbPSvFhOUxJOkblablTKb12euSd78Du5 7WNihYvaCnWJfaOCLHGDKk5zP80U2WU= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-489-g5x9ol7mOQarsWBh8Ibl4g-1; Fri, 13 Jan 2023 10:35:06 -0500 X-MC-Unique: g5x9ol7mOQarsWBh8Ibl4g-1 Received: by mail-lf1-f70.google.com with SMTP id q9-20020a19a409000000b004b6ee156e03so8426481lfc.5 for ; Fri, 13 Jan 2023 07:35:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M+e8LXuZohWsWAKx1dvrBva8MxDrnRmzpeJF6iBcKD4=; b=tofCL16jq3odmG4UKlICa5F19beiMpVlRDp7Mkol8pZ84+oBLyur5a4wTaeMsQnQ0r 9paI5nQOeUvu1vJK5llDPFV9qNuwsnFGvcjj0xAV6bsBHYgU9smLQtBv2xmz5ZDp6hjs 1HCjBdnLPh2VcNNL4xTKstmP68qzK29c8UVQgMcKUN/s14+m9D4zEGjfXZKgvnGAtWt2 2yBWRDIYQipdVSQa6f0F3OMpK210uaYoA/GW9i9a1cgb3KlHI1KKJwoTEd3kMlz6sND9 NdaaIgO2dQDTzv6lwzQkhp9hlT0BY/TynF670kU2tAOQn4CGuNff/vXjmUSUaAxA5BAu 3iig== X-Gm-Message-State: AFqh2krAv21E62kXpMTX26laWMr2sTJe9mRavc2qmnSpznLRIM41gKAC Ecyd1hkbNeDRXnWbnJm3ZlVH82r4fSCFLZIf2EMFayszEherk/YzIiPIQM3HLq4EdCW59KHHGBa F2fpUNoXBZHrWEkkepPpzhD4M X-Received: by 2002:a2e:9ccd:0:b0:27f:d941:82eb with SMTP id g13-20020a2e9ccd000000b0027fd94182ebmr14244561ljj.14.1673624104960; Fri, 13 Jan 2023 07:35:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXurzBcSbNHDnD97N/Jbb5UaRDPyfmiObjWJaHb4mIMzrQ90BcrNYqaObVK8QJ2Zuy+UbqB4VQ== X-Received: by 2002:a2e:9ccd:0:b0:27f:d941:82eb with SMTP id g13-20020a2e9ccd000000b0027fd94182ebmr14244556ljj.14.1673624104810; Fri, 13 Jan 2023 07:35:04 -0800 (PST) Received: from localhost.localdomain (c-e6a5e255.022-110-73746f36.bbcust.telenor.se. [85.226.165.230]) by smtp.googlemail.com with ESMTPSA id p20-20020a2e9a94000000b00289bb528b8dsm725473lji.49.2023.01.13.07.35.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 07:35:04 -0800 (PST) From: Alexander Larsson To: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, gscrivan@redhat.com, Alexander Larsson Subject: [PATCH v2 1/6] fsverity: Export fsverity_get_digest Date: Fri, 13 Jan 2023 16:33:54 +0100 Message-Id: <772d16b63f0eba74b8b09167f9e426fbb33ae546.1673623253.git.alexl@redhat.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Composefs needs to call this when built in module form, so we need to export the symbol. This uses EXPORT_SYMBOL_GPL like the other fsverity functions do. Signed-off-by: Alexander Larsson --- fs/verity/measure.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/verity/measure.c b/fs/verity/measure.c index 5c79ea1b2468..875d143e0c7e 100644 --- a/fs/verity/measure.c +++ b/fs/verity/measure.c @@ -85,3 +85,4 @@ int fsverity_get_digest(struct inode *inode, *alg =3D hash_alg->algo_id; return 0; } +EXPORT_SYMBOL_GPL(fsverity_get_digest); --=20 2.39.0