summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2014-02-20 17:54:38 +0100
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:48:46 +0900
commit8dca569f3acfd88ac3c2eecb90e90f24cdca4b6b (patch)
treeb87ae5cf1a3ddce95b898a1c0801d7787a4e4de2 /security
parent3edf5241b2d79dfcd8faf5173ff5fda04de0b070 (diff)
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 <k.lewandowsk@samsung.com>
Diffstat (limited to 'security')
-rw-r--r--security/security.c1
1 files changed, 1 insertions, 0 deletions
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)
{