Searched refs:gid (Results 251 - 275 of 470) sorted by path

<<111213141516171819

/linux-master/fs/nfsd/
H A Dnfs4acl.c397 * by uid/gid. */
429 kgid_t gid; member in union:posix_user_ace_state::__anon546
541 pace->e_gid = state->groups->aces[i].gid;
587 static int find_gid(struct posix_acl_state *state, kgid_t gid) argument
593 if (gid_eq(a->aces[i].gid, gid))
597 a->aces[i].gid = gid;
H A Dnfs4callback.c1022 kcred->fsgid = ses->se_cb_sec.gid;
H A Dnfs4idmap.c660 kgid_t *gid)
669 *gid = make_kgid(nfsd_user_namespace(rqstp), id);
670 if (!gid_valid(*gid))
683 kgid_t gid)
685 u32 id = from_kgid_munged(nfsd_user_namespace(rqstp), gid);
659 nfsd_map_name_to_gid(struct svc_rqst *rqstp, const char *name, size_t namelen, kgid_t *gid) argument
682 nfsd4_encode_group(struct xdr_stream *xdr, struct svc_rqst *rqstp, kgid_t gid) argument
H A Dnfs4state.c2507 if (!gid_eq(g1->gid[i], g2->gid[i]))
2515 * used. We use uid, gid's, and gss principal string as our best
H A Dnfs4xdr.c661 u32 stamp, gidcount, uid, gid; local
672 if (xdr_stream_decode_u32(argp->xdr, &gid) < 0)
685 kgid_t kgid = make_kgid(userns, gid);
688 cbs->gid = kgid;
691 dprintk("RPC_AUTH_UNIX with invalid uid or gid, ignoring!\n");
3202 return nfsd4_encode_group(xdr, args->rqstp, args->stat.gid);
H A Dnfsxdr.c232 *p++ = cpu_to_be32((u32)from_kgid_munged(userns, stat->gid));
H A Dstate.h250 kgid_t gid; member in struct:nfsd4_cb_sec
/linux-master/fs/
H A Dopen.c374 * access() needs to use the real uid/gid, not the effective uid/gid.
390 !gid_eq(cred->fsgid, cred->gid))
424 override_cred->fsgid = override_cred->gid;
764 kgid_t gid; local
767 gid = make_kgid(current_user_ns(), group);
778 if ((group != (gid_t)-1) && !setattr_vfsgid(&newattrs, gid))
/linux-master/fs/orangefs/
H A Dfile.c95 new_op->upcall.gid = from_kgid(&init_user_ns, wr->gid);
H A Dinode.c81 kgid_t gid; member in struct:orangefs_writepages
117 wr.gid = ow->gid;
171 ow->gid = wr->gid;
176 if (!uid_eq(ow->uid, wr->uid) || !gid_eq(ow->gid, wr->gid)) {
351 gid_eq(wr->gid, current_fsgid())) {
368 wr->gid = current_fsgid();
433 wr->gid
[all...]
H A Dorangefs-cache.c145 new_op->upcall.gid = from_kgid(&init_user_ns,
H A Dorangefs-kernel.h231 kgid_t gid; member in struct:orangefs_write_range
H A Dorangefs-utils.c429 new_op->upcall.gid = from_kgid(&init_user_ns, orangefs_inode->attr_gid);
/linux-master/fs/overlayfs/
H A Dcopy_up.c392 .ia_vfsgid = VFSGIDT_INIT(stat->gid),
1135 !kgid_has_mapping(current_user_ns(), ctx.stat.gid))
/linux-master/fs/proc/
H A Darray.c193 seq_put_decimal_ull(m, "\nGid:\t", from_kgid_munged(user_ns, cred->gid));
203 from_kgid_munged(user_ns, group_info->gid[g]));
H A Dbase.c1822 kgid_t gid; local
1834 gid = cred->egid;
1858 gid = make_kgid(user_ns, 0);
1859 if (!gid_valid(gid))
1860 gid = GLOBAL_ROOT_GID;
1864 gid = GLOBAL_ROOT_GID;
1869 *rgid = gid;
1967 stat->gid = GLOBAL_ROOT_GID;
1979 task_dump_owner(task, inode->i_mode, &stat->uid, &stat->gid);
3565 * PR_SET_DUMPABLE gets set to 0 this node among others becomes uid=0 gid
[all...]
H A Dgeneric.c447 proc_set_user(ent, (*parent)->uid, (*parent)->gid);
667 void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) argument
670 de->gid = gid;
H A Dinode.c178 seq_printf(seq, ",gid=%u", from_kgid_munged(&init_user_ns, fs_info->pid_gid));
667 inode->i_gid = de->gid;
H A Dinternal.h57 kgid_t gid; member in struct:proc_dir_entry
H A Dproc_net.c352 kgid_t gid; local
378 gid = make_kgid(net->user_ns, 0);
379 if (!gid_valid(gid))
380 gid = netd->gid;
382 proc_set_user(netd, uid, gid);
H A Droot.c33 int gid; member in struct:proc_fs_context
44 fsparam_u32("gid", Opt_gid),
124 ctx->gid = result.uint_32;
152 fs_info->pid_gid = make_kgid(user_ns, ctx->gid);
/linux-master/fs/quota/
H A Ddquot.c1198 return in_group_p(warn->w_dq_id.gid);
2031 * Skip changes for same uid or gid or for turned off quota-type.
2120 /* Wrapper for transferring ownership of an inode for uid/gid only
H A Dquota_v1.c90 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) {
/linux-master/fs/smb/client/
H A Dcifsacl.c55 /* S-1-5-88-2 Unix gid */
373 kgid_t gid; local
377 gid = make_kgid(&init_user_ns, id);
378 if (gid_valid(gid)) {
379 fgid = gid;
393 /* If unable to find uid/gid easily from SID try via upcall */
430 kgid_t gid; local
433 gid = make_kgid(&init_user_ns, id);
434 if (gid_valid(gid))
435 fgid = gid;
1252 build_sec_desc(struct cifs_ntsd *pntsd, struct cifs_ntsd *pnntsd, __u32 secdesclen, __u32 *pnsecdesclen, __u64 *pnmode, kuid_t uid, kgid_t gid, bool mode_from_sid, bool id_from_sid, int *aclflag) argument
1575 id_mode_to_cifs_acl(struct inode *inode, const char *path, __u64 *pnmode, kuid_t uid, kgid_t gid) argument
[all...]
H A Dcifsglob.h202 int gid; member in struct:cifs_cred

Completed in 344 milliseconds

<<111213141516171819