Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7508673rwp; Tue, 18 Jul 2023 17:03:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlE09FOEdctYuFab5L2cXSVeGpL7Aj+vy+Rra9kyz76g2tEtcysyjhgaOne2Av0Q5R1sKxrx X-Received: by 2002:a17:906:3f49:b0:988:57b4:2853 with SMTP id f9-20020a1709063f4900b0098857b42853mr917989ejj.25.1689724999512; Tue, 18 Jul 2023 17:03:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689724999; cv=none; d=google.com; s=arc-20160816; b=qQwdRFB09ZNRSoJdUHMlUm0CRiY/bD5EGYJm4wserJNjrQ6xjg0cznFwOW9Ia8sGps MP6MPUUgnXI7XEq8UanoSyRMc05GskukU+cBhwSAA/ud2sEI1jCm8UhENfpiqt8Po1Pm FKd4OK6gqoLed81UqW2wxUlJsZJL0a1g7x19n1rK/Oo1PtrwlC0Ggtrnnvqwk3COBRM0 aKk+tF+yktzFAsD0kcoc3nNLSW4CfGAudw9cRIAHmUXnG+XDHZkDmFb1doX3yPpay0WF 9d2kkxJcMUdf1uTlCWhwmum0uWBU1qXbzgqo1PHkr0yT0V/RFxVJJreCuPZulqvmVGT3 S80A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:reply-to:dkim-signature; bh=SDxWIrfosG9XJ1i6+ao4lNZmMm/71hk0CPfpAh3rles=; fh=D6d5aNryYQiYyjenfSFWOT3594jRd4xJmyqVXmIxeQo=; b=P37Kp+r2vfjy3ERoYbpljhAm3jORtvHnOasLvts5hAoLicfD4Ue6/WcJqJHt8MsQz7 d3d5GdSdjv2NB4gUYXOaVFngOFzwuMh4+3XEk/1vkF5nI9fw1zfZXASA7DyANhHiJW/c YNYvN0OrHtloXKG0sY2hAeviwfx16A8vXur46B9MlGSujtAqDmVElYWEHchxqF5jLdb9 +VQr3ywAPy4bX4jz8CfMeWKGWNupVxMi4FCi4j4FPmb8G+VnJuKi34iEOnL0LbocoypP 1gSBpMRmEIqOkI2voa2jLbh3p2Mwbo7XQYsBRb3co5ySlRxkOvr08N00dj4bfcQ65P9p xQPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=oKgQFwiC; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a170906364900b00992acc3ed0bsi1911872ejb.369.2023.07.18.17.02.45; Tue, 18 Jul 2023 17:03:19 -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=@google.com header.s=20221208 header.b=oKgQFwiC; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231356AbjGRXuq (ORCPT + 99 others); Tue, 18 Jul 2023 19:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231158AbjGRXty (ORCPT ); Tue, 18 Jul 2023 19:49:54 -0400 Received: from mail-pl1-x649.google.com (mail-pl1-x649.google.com [IPv6:2607:f8b0:4864:20::649]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACD3D2127 for ; Tue, 18 Jul 2023 16:48:54 -0700 (PDT) Received: by mail-pl1-x649.google.com with SMTP id d9443c01a7336-1b8a7734734so32264925ad.2 for ; Tue, 18 Jul 2023 16:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689724133; x=1692316133; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=SDxWIrfosG9XJ1i6+ao4lNZmMm/71hk0CPfpAh3rles=; b=oKgQFwiCrPvHzuuXJTxGw9fTJQCZKL9TyIsnHUo20k7J6vJr/dP2UuT8GyfaXNhKWl lfnwI4SNZlla+krW1fx/4HTGrmx9tbRfRVWIu3HGnyMHAJnHjaH8b3Nn7OD9lub8Upfz ScGl6hIrQNtyqOKMdvwG71E9U1LJYrTTZQq71Kwv4L3GIqczSYB1Q2ibrVYwZRMv7ks2 QNhyu3W0Ns8Grpmlyc83iZpzHpUsL+aloKwTrirYI0WDq4iN8t2n8ha5cP4AK06m8uQ9 dXuqm5q+qG2yKgB+nUEYuog82s4uX9rRPSCnrZx4hsx8m3v5+ZWIujkgaic/poWXwLCP o9Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689724133; x=1692316133; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SDxWIrfosG9XJ1i6+ao4lNZmMm/71hk0CPfpAh3rles=; b=e2QtAZ5ofrEAIVRrp9kRGvgHvgjP9tlK4b1AwDZH9fz8c08nkz4P15dOgdBlQSm1Vn sCA2sT6x5EHnSMHW0DhmEXBRjUsAJIuKd51xkh1fqykJSkTBnNUB9apqcidoloU92gX0 +c86bU/UCS2MAA0SiVp7D3tj//uFM3bJW+MWY2xs32mXN5j8wCqf1ATE9Gd2p9e75Qfs ipCwZ19WVVHAxoVT1yyjOv5HjIP9/PygNzCKuRRi6pIOJhPmTje9VhJwDznK2IMKJN8e 2LbDRnXRdyluhhCjJjkvZpyMicR8Eiy8NqcewTbh1KzIb0IMxobVn8svCzkNrTPo52MK 8DZg== X-Gm-Message-State: ABy/qLbsdA5PnycJoGTBVehxtEGTCYmaUwjqJrBIWqkIXNPoBUhSRJ4X REMNfTyyNbuiYL2cRI4YTYFtWyr8+LM= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:c412:b0:1ba:1704:89d1 with SMTP id k18-20020a170902c41200b001ba170489d1mr21516plk.10.1689724133087; Tue, 18 Jul 2023 16:48:53 -0700 (PDT) Reply-To: Sean Christopherson Date: Tue, 18 Jul 2023 16:44:54 -0700 In-Reply-To: <20230718234512.1690985-1-seanjc@google.com> Mime-Version: 1.0 References: <20230718234512.1690985-1-seanjc@google.com> X-Mailer: git-send-email 2.41.0.255.g8b1d071c50-goog Message-ID: <20230718234512.1690985-12-seanjc@google.com> Subject: [RFC PATCH v11 11/29] security: Export security_inode_init_security_anon() for use by KVM From: Sean Christopherson To: Paolo Bonzini , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Sean Christopherson , "Matthew Wilcox (Oracle)" , Andrew Morton , Paul Moore , James Morris , "Serge E. Hallyn" Cc: 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" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 Signed-off-by: Sean Christopherson --- security/security.c | 1 + 1 file changed, 1 insertion(+) 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