lkml.org 
[lkml]   [2018]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[md PATCH 0/4] Minor 'cred' improvements prepare for NFS conversion
Hi,
NFS and SUNRPC have an internal "rpc_cred" which plays two distinct
roles, one of which is much the same as 'struct cred' (which didn't
exist when rpc_cred was created).
I want to replace that usage of rpc_cred with 'struct cred'.
Doing so requires some minor improvements to cred.c and cred.h as
follows.

It isn't clear to me who "maintains" cred.c and cred.h, so I'm hoping
that Andrew Morton will take these (if no-one complains).
Alternately if I got one or two credible "Acked-by"s, they could go
upstream through the NFS tree when the rest of the patches are ready.

Thanks,
NeilBrown


---

NeilBrown (4):
cred: add cred_fscmp() for comparing creds.
cred: add get_cred_rcu()
cred: export get_task_cred().
cred: allow get_cred() and put_cred() to be given NULL.


include/linux/cred.h | 26 ++++++++++++++++++----
kernel/cred.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 78 insertions(+), 6 deletions(-)

--
Signature

\
 
 \ /
  Last update: 2018-01-31 06:17    [W:0.050 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site