3 #include <linux/sched.h>
30 validate_process_creds();
38 new->fsuid = rqstp->
rq_cred.cr_uid;
39 new->fsgid = rqstp->
rq_cred.cr_gid;
41 rqgi = rqstp->
rq_cred.cr_group_info;
59 for (i = 0; i < rqgi->
ngroups; i++) {
66 gi = get_group_info(rqgi);
69 if (new->fsuid == (
uid_t) -1)
71 if (new->fsgid == (
gid_t) -1)
80 new->cap_effective = cap_drop_nfsd_set(new->cap_effective);
82 new->cap_effective = cap_raise_nfsd_set(new->cap_effective,
84 validate_process_creds();
87 validate_process_creds();