projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MFD: allow cs5535-mfd to build on X86 only
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
cred.c
diff --git
a/kernel/cred.c
b/kernel/cred.c
index 2343c132c5a7f45556bf156388705ac921fa84e0..5557b55048df1a35fff09933a274c9a5e32b7084 100644
(file)
--- a/
kernel/cred.c
+++ b/
kernel/cred.c
@@
-741,6
+741,12
@@
int set_create_files_as(struct cred *new, struct inode *inode)
}
EXPORT_SYMBOL(set_create_files_as);
+struct user_namespace *current_user_ns(void)
+{
+ return _current_user_ns();
+}
+EXPORT_SYMBOL(current_user_ns);
+
#ifdef CONFIG_DEBUG_CREDENTIALS
bool creds_are_invalid(const struct cred *cred)