projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d0fb2
)
cred: export get_task_cred().
author
NeilBrown
<neilb@suse.com>
Mon, 3 Dec 2018 00:30:30 +0000
(11:30 +1100)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Wed, 19 Dec 2018 18:52:44 +0000
(13:52 -0500)
There is no reason that modules should not be able
to use this, and NFS will need it when converted to
use 'struct cred'.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
kernel/cred.c
patch
|
blob
|
history
diff --git
a/kernel/cred.c
b/kernel/cred.c
index ba60162249e86dc1553b31c67e2f1e14a1fcdcf1..21f4a97085b4041bcbe9b23568aec7bed935f21f 100644
(file)
--- a/
kernel/cred.c
+++ b/
kernel/cred.c
@@
-200,6
+200,7
@@
const struct cred *get_task_cred(struct task_struct *task)
rcu_read_unlock();
return cred;
}
+EXPORT_SYMBOL(get_task_cred);
/*
* Allocate blank credentials, such that the credentials can be filled in at a