From: Karol Lewandowski Date: Thu, 20 Feb 2014 16:54:38 +0000 (+0100) Subject: lsm: make security_file_receive available for external modules X-Git-Tag: submit/tizen/20160405.082219~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=442f047fd8ceb5c9543bb2b146f3d76d70bcd37d;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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) {