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: accepted/tizen/common/20161219.151653~617 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dca569f3acfd88ac3c2eecb90e90f24cdca4b6b;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. Signed-off-by: Karol Lewandowski --- diff --git a/security/security.c b/security/security.c index 8e9b1f4..577183a 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) {