[RFC PATCH v12 13/33] security: Export security_inode_init_security_anon() for use by KVM

Sean Christopherson seanjc at google.com
Wed Sep 13 18:55:11 PDT 2023


TODO: Throw this away, assuming KVM drops its dedicated file system.

Acked-by: Paul Moore <paul at paul-moore.com>
Signed-off-by: Sean Christopherson <seanjc at google.com>
---
 security/security.c | 1 +
 1 file changed, 1 insertion(+)

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
 /**
-- 
2.42.0.283.g2d96d420d3-goog




More information about the linux-riscv mailing list