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)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:48:46 +0000 (13:48 +0900)
This is required for using filedesc related LSM hooks in kdbus code
if it is built as a module.

Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
security/security.c

index 8e9b1f4..577183a 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)
 {