aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2017-02-06 23:28:01 +0530
committerAmit Pundir <amit.pundir@linaro.org>2017-02-06 23:34:58 +0530
commit142b360dc96cb1ca64479cdd0000e9d8b80a864e (patch)
tree429eabe1f215751f682d7d353e2c6c7b30d06bd1
parent8d1cea5b074bb02317b138a705ad325088d0fa76 (diff)
ANDROID: security: export security_path_chown()
Export security_path_chown() to fix sdcardfs kernel module build Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--security/security.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c
index 46f405ce6b0f..ae05ab153c5a 100644
--- a/security/security.c
+++ b/security/security.c
@@ -498,6 +498,7 @@ int security_path_chown(struct path *path, kuid_t uid, kgid_t gid)
return 0;
return call_int_hook(path_chown, 0, path, uid, gid);
}
+EXPORT_SYMBOL(security_path_chown);
int security_path_chroot(struct path *path)
{