| /linux/fs/nfsd/ |
| H A D | auth.c | 37 new->fsgid = cred->cr_gid; in nfsd_setuser() 43 new->fsgid = exp->ex_anon_gid; in nfsd_setuser() 50 if (gid_eq(new->fsgid, GLOBAL_ROOT_GID)) in nfsd_setuser() 51 new->fsgid = exp->ex_anon_gid; in nfsd_setuser() 72 if (gid_eq(new->fsgid, INVALID_GID)) in nfsd_setuser() 73 new->fsgid = exp->ex_anon_gid; in nfsd_setuser()
|
| H A D | filecache.c | 93 if (!gid_eq(c1->fsgid, c2->fsgid)) in nfsd_match_cred()
|
| /linux/net/sunrpc/ |
| H A D | auth_unix.c | 88 …_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred->fsgid)) in unx_match() 136 *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); in unx_marshal()
|
| H A D | svcauth.c | 196 svc->cr_gid = KGIDT_INIT(from_kgid_munged(userns, cred->fsgid)); in svcauth_map_clnt_to_svc_cred_local()
|
| /linux/security/keys/ |
| H A D | permission.c | 62 if (gid_eq(key->gid, cred->fsgid)) { in key_task_permission()
|
| H A D | request_key.c | 140 keyring = keyring_alloc(desc, cred->fsuid, cred->fsgid, cred, in call_sbin_request_key() 156 sprintf(gid_str, "%d", from_kgid(&init_user_ns, cred->fsgid)); in call_sbin_request_key() 396 ctx->cred->fsuid, ctx->cred->fsgid, ctx->cred, in construct_alloc_key()
|
| H A D | process_keys.c | 395 new_cred->thread_keyring->gid = new_cred->fsgid; in key_fsgid_changed() 935 new->fsgid = old->fsgid; in key_change_session_keyring()
|
| H A D | request_key_auth.c | 252 cred->fsuid, cred->fsgid, cred, in request_key_auth_new()
|
| H A D | key.c | 934 cred->fsuid, cred->fsgid, cred, perm, flags, NULL); in __key_create_or_update()
|
| /linux/fs/orangefs/ |
| H A D | xattr.c | 99 int fsgid; in orangefs_inode_getxattr() local 112 fsgid = from_kgid(&init_user_ns, current_fsgid()); in orangefs_inode_getxattr() 120 fsgid); in orangefs_inode_getxattr()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd.h | 196 __u32 fsgid; 192 __u32 fsgid; global() member
|
| /linux/kernel/ |
| H A D | groups.c | 232 if (!gid_eq(grp, cred->fsgid)) in in_group_p()
|
| /linux/security/safesetid/ |
| H A D | lsm.c | 227 id_permitted_for_cred(old, (kid_t){.gid = new->fsgid}, GID)) in safesetid_task_fix_setgid()
|
| /linux/init/ |
| H A D | init_task.c | 89 .fsgid = GLOBAL_ROOT_GID,
|
| /linux/fs/ |
| H A D | pidfs.c | 449 kinfo.fsgid = from_kgid_munged(user_ns, c->fsgid); in pidfd_info()
|
| /linux/fs/nfs/ |
| H A D | dir.c | 3039 if (gid_lt(a->fsgid, b->fsgid)) in access_cmp() 3041 if (gid_gt(a->fsgid, b->fsgid)) in access_cmp() 3242 cache->fsgid = cred->fsgid; in nfs_access_add_cache()
|
| /linux/include/linux/ |
| H A D | nfs_fs.h | 64 kgid_t fsgid; member
|
| /linux/Documentation/admin-guide/LSM/ |
| H A D | ipe.rst | 351 …ppid=2219 pid=2241 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 c… 355 …ppid=2219 pid=2472 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 c… 396 …4 pid=229 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=429… 440 …4 pid=229 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=429…
|
| /linux/fs/ceph/ |
| H A D | inode.c | 2703 kgid_t fsgid = from_vfsgid(idmap, i_user_ns(inode), attr->ia_vfsgid); in __ceph_setattr() local 2710 inode->i_gid = fsgid; in __ceph_setattr() 2713 !gid_eq(fsgid, inode->i_gid)) { in __ceph_setattr() 2715 from_kgid(&init_user_ns, fsgid)); in __ceph_setattr()
|
| H A D | mds_client.c | 3205 kgid_t caller_fsgid = req->r_cred->fsgid; in create_request_message() 3336 VFSGIDT_INIT(req->r_cred->fsgid)); in create_request_message() 3380 VFSGIDT_INIT(req->r_cred->fsgid)); in create_request_message() 6476 u32 caller_gid = from_kgid(&init_user_ns, cred->fsgid); in ceph_mds_auth_match() 6594 u32 caller_gid = from_kgid(&init_user_ns, cred->fsgid); in ceph_mds_check_access()
|
| /linux/net/netfilter/ |
| H A D | nft_meta.c | 161 file->f_cred->fsgid); in nft_meta_get_eval_skugid()
|
| H A D | nf_log_syslog.c | 189 from_kgid_munged(&init_user_ns, cred->fsgid)); in nf_log_dump_sk_uid_gid()
|
| H A D | nfnetlink_log.c | 650 __be32 gid = htonl(from_kgid_munged(user_ns, cred->fsgid)); in __build_packet_message()
|
| /linux/net/sched/ |
| H A D | cls_flow.c | 225 kgid_t skgid = sk->sk_socket->file->f_cred->fsgid; in flow_get_skgid()
|
| /linux/security/ |
| H A D | commoncap.c | 964 new->sgid = new->fsgid = new->egid; in cap_bprm_creds_from_file()
|