mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sunrpc: Use kuid_t and kgid_t where appropriate
Convert variables that store uids and gids to be of type kuid_t and kgid_t instead of type uid_t and gid_t. Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
bf37f79437
commit
7eaf040b72
5 changed files with 16 additions and 15 deletions
|
@ -18,8 +18,8 @@
|
|||
#include <linux/cred.h>
|
||||
|
||||
struct svc_cred {
|
||||
uid_t cr_uid;
|
||||
gid_t cr_gid;
|
||||
kuid_t cr_uid;
|
||||
kgid_t cr_gid;
|
||||
struct group_info *cr_group_info;
|
||||
u32 cr_flavor; /* pseudoflavor */
|
||||
char *cr_principal; /* for gss */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue