From 442f047fd8ceb5c9543bb2b146f3d76d70bcd37d Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Thu, 20 Feb 2014 17:54:38 +0100 Subject: [PATCH] lsm: make security_file_receive available for external modules This is required for using filedesc related LSM hooks in kdbus code if it is built as a module. Change-Id: I980b1938756761b260f88037e1073b26574bb37e Signed-off-by: Karol Lewandowski --- security/security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/security.c b/security/security.c index 8e9b1f4b9b45..577183ad9249 100644 --- a/security/security.c +++ b/security/security.c @@ -812,6 +812,7 @@ int security_file_receive(struct file *file) { return security_ops->file_receive(file); } +EXPORT_SYMBOL(security_file_receive); int security_file_open(struct file *file, const struct cred *cred) { -- 2.34.1