From mboxrd@z Thu Jan 1 00:00:00 1970
From: Paul Osmialowski
Subject: [RFC 1/8] lsm: make security_file_receive available for external
modules
Date: Wed, 08 Jul 2015 12:25:03 +0200
Message-ID: <1436351110-5902-2-git-send-email-p.osmialowsk@samsung.com>
References: <1436351110-5902-1-git-send-email-p.osmialowsk@samsung.com>
Return-path:
In-reply-to: <1436351110-5902-1-git-send-email-p.osmialowsk@samsung.com>
Sender: linux-kernel-owner@vger.kernel.org
To: Paul Moore , James Morris , Casey Schaufler , "Serge E. Hallyn" , Kees Cook , Tetsuo Handa , Stephen Smalley , Neil Brown , Mark Rustad , Greg Kroah-Hartman , Daniel Mack , David Herrmann , Djalal Harouni , Shuah Khan , Al Viro , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org
Cc: Karol Lewandowski , Paul Osmialowski , Lukasz Skalski
List-Id: linux-api@vger.kernel.org
From: Karol Lewandowski
This is required for using filedesc related LSM hooks in kdbus code
if it is built as a module.
Signed-off-by: Karol Lewandowski
---
security/security.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/security.c b/security/security.c
index 595fffa..b1e935b 100644
--- a/security/security.c
+++ b/security/security.c
@@ -837,6 +837,7 @@ int security_file_receive(struct file *file)
{
return call_int_hook(file_receive, 0, file);
}
+EXPORT_SYMBOL(security_file_receive);
int security_file_open(struct file *file, const struct cred *cred)
{
--
1.9.1