Message ID | 20230914015531.1419405-14-seanjc@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAC4AEE0212 for <linux-mm@archiver.kernel.org>; Thu, 14 Sep 2023 01:56:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EFC466B02A9; Wed, 13 Sep 2023 21:56:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E0AC76B02AA; Wed, 13 Sep 2023 21:56:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C5AA46B02AB; Wed, 13 Sep 2023 21:56:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id ABDB16B02A9 for <linux-mm@kvack.org>; Wed, 13 Sep 2023 21:56:05 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 7F71480ECE for <linux-mm@kvack.org>; Thu, 14 Sep 2023 01:56:05 +0000 (UTC) X-FDA: 81233537490.19.9BD5CB7 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) by imf30.hostedemail.com (Postfix) with ESMTP id B88628000A for <linux-mm@kvack.org>; Thu, 14 Sep 2023 01:56:03 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=S9MTxO38; spf=pass (imf30.hostedemail.com: domain of 3MmgCZQYKCDspbXkgZdlldib.Zljifkru-jjhsXZh.lod@flex--seanjc.bounces.google.com designates 209.85.216.73 as permitted sender) smtp.mailfrom=3MmgCZQYKCDspbXkgZdlldib.Zljifkru-jjhsXZh.lod@flex--seanjc.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1694656563; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=pjDK4myqRW/1aonXWMm2h3oZGIvtROhN9F/LidQar5g=; b=iIkQeF35Vc39YGYK/gOQHLLUea0QFfnjT6AI6M4tYeOavkI4X3x62mvez3ETCd7k/3nrsB BnWtNbWQ8QWNHI25ZfOjgdB2wPumG+q+2LV3n6lAbS/qdFpBR/mqlgp2bFJVdV2M8wJfx1 C0XK9tqT5VFXbHLpXjeISvXLtVAXu3Y= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1694656563; a=rsa-sha256; cv=none; b=iIoZqMN0vGS//WmqGtajUQLb490onYQbzfntm51aC0Q5LsOO9FEbPobZG8uw0IG07xExh7 atGja1zVQRQaAEyB7oQ24DH9b42Fnnqv4pZioO+ml3yZ2UfdVxHhy0mZowPnmyK7Ofp+BR 6RiHNZTovyxxStLshOgiSOdYMSDmCMk= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=S9MTxO38; spf=pass (imf30.hostedemail.com: domain of 3MmgCZQYKCDspbXkgZdlldib.Zljifkru-jjhsXZh.lod@flex--seanjc.bounces.google.com designates 209.85.216.73 as permitted sender) smtp.mailfrom=3MmgCZQYKCDspbXkgZdlldib.Zljifkru-jjhsXZh.lod@flex--seanjc.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-26f591c1a2cso411597a91.3 for <linux-mm@kvack.org>; Wed, 13 Sep 2023 18:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694656563; x=1695261363; darn=kvack.org; 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=pjDK4myqRW/1aonXWMm2h3oZGIvtROhN9F/LidQar5g=; b=S9MTxO38bVxtM0g+uDtdYdiw4h23MM2zsQQuiUkjIyaIRxzJmmRVYHDMQQQZpN+WHa v/YzQmdMOJE4UdHDjp3kpBDaWHkRqv65ee6gElJl5eEXlVGR1ub/Eo+XrKJaqv5rOJjZ 8BJZtYPjimA/aYIgh9t3TDKzDdEmYyiO6qZtDKZkskSHwGXnxLREsAVExIIqcFHcumg3 R2jRIdE57297MhTH+ulgS/ZoRlmlMDlK5TitwPfw0DWiJkWc2kwEuKgD/gjLSRp9yxrk wUqoYySFIYyhVrBkyYIeoNtSOMKvHqvnoHobzWEjOEApeLWsyFuVGaUhuzgf21ca6fMk oWWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694656563; x=1695261363; 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=pjDK4myqRW/1aonXWMm2h3oZGIvtROhN9F/LidQar5g=; b=qc0uH/rSdriONO38CCDDK2zExljsyd9oUVIQ+oMOo1QY8wN8+ZwOTrmDVzTrrAm6d1 vDKxAuKyqlgUWQNzZjQaVLfbR3gL58niFdyXTDc+q0V4caH2jXmOda02WdkbYTHvxij9 oqAgnUJcfnJZoKCY7iwNSgNfFHoJb+nvjBa7N39fkAQ+5Gqtv3ONZDFzJN6SsISGx2HT kdaKS8tW2hLyAo3t4tY+1BHhKvDPFTm9VIjykWIeDysHq6hIJu7FWd7WhXEsnzkWyCfx E6KAGqA8UUBZrypyiYfQWKCn5XriwkqmUbVf6J/p9I9Q9qHM/h+nyjO9M27UNjmxzH6N Z3+A== X-Gm-Message-State: AOJu0YzzDOCKYXjP4gvgopVIPYYpZLEGb//S5wgjVq9BgHYxYfKl5RGR NminfgGsHPFPP5RA1s62MxWI2RrM8VQ= X-Google-Smtp-Source: AGHT+IGkqKKLF+YNvEneEdPalVclX+vMSg6CmJX8h6r/u0gfxt18eBEohuQohG5dATROkCqosWZykFZT8R8= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:fa8b:b0:1ae:6895:cb96 with SMTP id lc11-20020a170902fa8b00b001ae6895cb96mr149990plb.5.1694656562630; Wed, 13 Sep 2023 18:56:02 -0700 (PDT) Reply-To: Sean Christopherson <seanjc@google.com> Date: Wed, 13 Sep 2023 18:55:11 -0700 In-Reply-To: <20230914015531.1419405-1-seanjc@google.com> Mime-Version: 1.0 References: <20230914015531.1419405-1-seanjc@google.com> X-Mailer: git-send-email 2.42.0.283.g2d96d420d3-goog Message-ID: <20230914015531.1419405-14-seanjc@google.com> Subject: [RFC PATCH v12 13/33] security: Export security_inode_init_security_anon() for use by KVM From: Sean Christopherson <seanjc@google.com> To: Paolo Bonzini <pbonzini@redhat.com>, Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, Huacai Chen <chenhuacai@kernel.org>, Michael Ellerman <mpe@ellerman.id.au>, Anup Patel <anup@brainfault.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Sean Christopherson <seanjc@google.com>, "Matthew Wilcox (Oracle)" <willy@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Paul Moore <paul@paul-moore.com>, James Morris <jmorris@namei.org>, "Serge E. Hallyn" <serge@hallyn.com> 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 <chao.p.peng@linux.intel.com>, Fuad Tabba <tabba@google.com>, Jarkko Sakkinen <jarkko@kernel.org>, Anish Moorthy <amoorthy@google.com>, Yu Zhang <yu.c.zhang@linux.intel.com>, Isaku Yamahata <isaku.yamahata@intel.com>, Xu Yilun <yilun.xu@intel.com>, Vlastimil Babka <vbabka@suse.cz>, Vishal Annapurve <vannapurve@google.com>, Ackerley Tng <ackerleytng@google.com>, Maciej Szmigiero <mail@maciej.szmigiero.name>, David Hildenbrand <david@redhat.com>, Quentin Perret <qperret@google.com>, Michael Roth <michael.roth@amd.com>, Wang <wei.w.wang@intel.com>, Liam Merwick <liam.merwick@oracle.com>, Isaku Yamahata <isaku.yamahata@gmail.com>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: B88628000A X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: fexsfdhmq1szphnmnsya69hz77fyfi5d X-HE-Tag: 1694656563-891936 X-HE-Meta: U2FsdGVkX1+dpRQihikAUPT0OxXEHeUqr6j1U6q/r/EeAdRb8Np0QypL6SoxYdflddvhCNR+0DZdtcHFnKXq0IbwLLEYkLANLa68KFL4ZdBJzqF4HneQ2ssEYFopbah6T2NAGiLeB/92VGmsg+WwLBRBbX1l3mABYzBgAp39YlJakzbJQjjz/sNLLcVECfIR7ttEry4FT+0DKdjLN5rYeAD+FKus2T0iYjwbOy9jw3spU+PTW6mD6L2XWx++MBk+TNE9naGy3pUqGuvRW1G0+In0bHHqPaGyIoPOIlthCl89FD5cfbVkhcxmxGPNdC1Nfd2+h0hRJX+JRPWWbGWx9HVTNyHG9dG1x4zOm0ri+ctPMrcrJQB15biQ8inUp/7aQVgjRLI+RXtHI3r/NhOPUe0bDk4b/UsSJtkQ74XuSXY3x+qN7WCQAxhfuDc+9Ti7xf2x5aoAGpnzTE4klnDo2lhrpfglFzYDld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AlSpKU/jvKTYVlr2sgT6cR9ECDuRvVBosUVZRrUhhN1OqN2s1Li6E0MIg8VkaEx+UCuZPbk9dVVlxPk0pGzwdj7Nvmxf8tNIVZ0+5DAMfhyT/wJ0hZaPUDw1E4ugtnEeGnUy/yXX6f7S+TSBvsMN7CoYZB68jvV+Q3ntjQzJ2MK7y0+0zn6C8dqk5WUtU1BW+ZsGXy12hSHT0jHRaX1kTlJOO0Ax4gKzmQkgislIfuG4iitj9VbKzANcmMJb1wQRr6+2aFhzlyvqfLZV1DbkaiiH88Rc7kZrlb78do1wJzmbSdZK3/QH5S/m32SboDgaGXgks51lUN+mtiBm2iLSvTEsi6kc0bF+kw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
KVM: guest_memfd() and per-page attributes
|
expand
|
diff --git a/security/security.c b/security/security.c index 23b129d482a7..0024156f867a 100644 --- a/security/security.c +++ b/security/security.c @@ -1693,6 +1693,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 /**