Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7619309rwp; Tue, 18 Jul 2023 19:34:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlF/5aIJNeGI+5rj1d1Dz4v8SveoT2R1LKd+pd6XzAgqkt4dfPMR22CrCzkDm8LNZQ8qSOMl X-Received: by 2002:a05:6a21:9985:b0:137:477c:e8b2 with SMTP id ve5-20020a056a21998500b00137477ce8b2mr226009pzb.1.1689734047645; Tue, 18 Jul 2023 19:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689734047; cv=none; d=google.com; s=arc-20160816; b=VYAUtrgy2g/o+CKjOC+cg4QpNecQfOvv485oBkkle0bo4iNAJCnJuuu4j4YrAVxuj7 pihPtWj1RngwpUaun/7K57BSaWiGYmTRmtiIrqiu0vqRUVA35JGV8hs4YNbLeql2dsfP wVTtEuxKcmFtHAaHjQ5pfLdJLgraQ9YZxvzTMcpPV8uQS6fUOS5UG4puZ6bNNot5sp5Q OabtPbYt/E1OC6y8zFMjZq1loYZqciI4NrrJt3ZlRufv2PZDArNadUsnGvD4bTheVCRM v789ktHxa7efFVZYEE6zEBX7BN5PEZUV3qzoonXTm43F0cJvUtLN7xRkkyOd76adpeDv 1MHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=F9eL+vRLh2IMmmWxtSCYk4DtifazKKWTBnb901S3j94=; fh=hr2TT/AGdF/LazLYc3qEK9WhylRjNUDEFeBYG9HgU9I=; b=cfXUNArQ6GDmk/jVUDgcUsT84YHAn5iVPHtBiPvh0Oggr5c0MG3HI/Iz16Oz6r0rWu 5ihONHhHgFlmt9L1BGrJc4lvw2HBvkz4hX7J+l7O9pKgqje+4pwuwgwXGMmX/XhubDxv 3D70XaTBXmPOJX92d+8fR3W6HN/dnkiQlp1iUKPQhkRrI5s59G0gRGtSDYTxu8SvZXHP jqBfx4d6wpnx+rQAfnY9//wpjEhtJSGGWA+2JnbZSHmYMjRqQyoizsIjy2kT1wxNtkLl CGhydSo/Svs3j2S6Pu2DoxvvxGgEjMy338XbBgpTWoRMzzXHGO+jeHRISPuQFUzvvmRY I/4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=E0qagBYe; 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=paul-moore.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x64-20020a636343000000b0054f993d7f29si2446985pgb.563.2023.07.18.19.33.55; Tue, 18 Jul 2023 19:34:07 -0700 (PDT) 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=@paul-moore.com header.s=google header.b=E0qagBYe; 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=paul-moore.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229703AbjGSCOi (ORCPT + 99 others); Tue, 18 Jul 2023 22:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbjGSCOg (ORCPT ); Tue, 18 Jul 2023 22:14:36 -0400 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BCCF1FC8 for ; Tue, 18 Jul 2023 19:14:28 -0700 (PDT) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-579d5d89b41so65612037b3.2 for ; Tue, 18 Jul 2023 19:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1689732867; x=1692324867; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F9eL+vRLh2IMmmWxtSCYk4DtifazKKWTBnb901S3j94=; b=E0qagBYe20SR0SALzjMEgzAAwWZNBuyNfIuFOB5oHd7/unduwTPDowOXpp+9jaIhsk yWWws98rOg0AI15RrkDBVlvYl+q+EWOCtTO4U5wc9SPXFO1NrHsi1lJhfbpMLnVvCYSu oaogCqHUw7nH2YLUiLkB73e/lfZwIXPUSJs7W+SWDWF5uZgcQ+XMineDaONtZ9cLz3x6 qFIwAxqXBML/rim1qQxNWhMp2wpGTXV7YkFVf+0lJR5qbVIjM/GxPwfH1ltdJggyZlow mW571RQ0nZa7z2F/9ExiiTsk1vBPkwJLlWHYvCs5k2sRgQGq40SZGqPgHZcShBBgy7hi TVaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689732867; x=1692324867; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F9eL+vRLh2IMmmWxtSCYk4DtifazKKWTBnb901S3j94=; b=fDHqNsSNIC6TCaX0rxizqKYK/Tm5xAlJhuOeCsgE3wiraNOQgfFanz4aQH4kM+jLUb vvpwBTXewNCLbwlzYi6xGM8NKJWy/nL1ms2W9fTKloZwUARMtYjqY4U+YiCDvcRfnY62 8eJduhu1RrRO86Qa1j9JnxujeU3xx+TMQUoh9IDFKzZ4EKubKA1idpbKpbZm2LLA3CHh 6vkd3i6io25QPSAGs2xe4S5ojqwMK5z3IwmomhLI1lpFLYsvTwjpGi648RYFgl8WOKVY 1OHDlFTOd73g0WXhp6Lyggms1LWcXLNGWJWifGc/QYrcDma3OG38clnj/CDB6vstZqtH czUw== X-Gm-Message-State: ABy/qLYZDazecqrwOEUnqtkheEp5AILS5e+mf/e97+VZUNX3Tx6wTOu8 sU1d2w4RRAcy7QltJszIL+gnRLJsDsiu6MOsPxPx X-Received: by 2002:a0d:e843:0:b0:56d:2ad0:cb45 with SMTP id r64-20020a0de843000000b0056d2ad0cb45mr17052519ywe.1.1689732867591; Tue, 18 Jul 2023 19:14:27 -0700 (PDT) MIME-Version: 1.0 References: <20230718234512.1690985-1-seanjc@google.com> <20230718234512.1690985-12-seanjc@google.com> In-Reply-To: <20230718234512.1690985-12-seanjc@google.com> From: Paul Moore Date: Tue, 18 Jul 2023 22:14:16 -0400 Message-ID: Subject: Re: [RFC PATCH v11 11/29] security: Export security_inode_init_security_anon() for use by KVM To: Sean Christopherson Cc: Paolo Bonzini , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Matthew Wilcox (Oracle)" , Andrew Morton , James Morris , "Serge E. Hallyn" , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Chao Peng , Fuad Tabba , Jarkko Sakkinen , Yu Zhang , Vishal Annapurve , Ackerley Tng , Maciej Szmigiero , Vlastimil Babka , David Hildenbrand , Quentin Perret , Michael Roth , Wang , Liam Merwick , Isaku Yamahata , "Kirill A . Shutemov" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jul 18, 2023 at 7:48=E2=80=AFPM Sean Christopherson wrote: > > Signed-off-by: Sean Christopherson > --- > security/security.c | 1 + > 1 file changed, 1 insertion(+) Acked-by: Paul Moore > diff --git a/security/security.c b/security/security.c > index b720424ca37d..7fc78f0f3622 100644 > --- a/security/security.c > +++ b/security/security.c > @@ -1654,6 +1654,7 @@ int security_inode_init_security_anon(struct inode = *inode, > return call_int_hook(inode_init_security_anon, 0, inode, name, > context_inode); > } > +EXPORT_SYMBOL_GPL(security_inode_init_security_anon); > > #ifdef CONFIG_SECURITY_PATH > /** > -- > 2.41.0.255.g8b1d071c50-goog -- paul-moore.com