lsm: make security_file_receive available for external modules
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 20 Feb 2014 16:54:38 +0000 (17:54 +0100)
committerPaul Osmialowski <p.osmialowsk@samsung.com>
Thu, 9 Jul 2015 14:40:43 +0000 (16:40 +0200)
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 <k.lewandowsk@samsung.com>
security/security.c

index e81d5bbe7363fc689199ea8db3a1a5fdc3e720e4..4d647c78ac6cad8ff1307b77e90bd3bd36c99a82 100644 (file)
@@ -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)
 {