ANDROID: security: export security_path_chown()
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 6 Feb 2017 17:58:01 +0000 (23:28 +0530)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 6 Feb 2017 18:04:58 +0000 (23:34 +0530)
Export security_path_chown() to fix sdcardfs kernel module build

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
security/security.c

index 46f405ce6b0fbab600ea542a6921bea9227b0ef5..ae05ab153c5a2c5518bc0f0472e2a368cd80a4a1 100644 (file)
@@ -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)
 {