/linux/include/linux/ |
A D | uidgid.h | 28 } kgid_t; typedef 31 #define KGIDT_INIT(value) (kgid_t){ value } 39 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() 49 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() 66 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() 76 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() 86 static inline bool gid_gte(kgid_t left, kgid_t right) in gid_gte() 96 static inline bool gid_lt(kgid_t left, kgid_t right) in gid_lt() 106 static inline bool gid_lte(kgid_t left, kgid_t right) in gid_lte() 116 static inline bool gid_valid(kgid_t gid) in gid_valid() [all …]
|
A D | cred.h | 28 kgid_t gid[]; 60 extern int in_group_p(kgid_t); 61 extern int in_egroup_p(kgid_t); 62 extern int groups_search(const struct group_info *, kgid_t); 73 static inline int in_group_p(kgid_t grp) in in_group_p() 77 static inline int in_egroup_p(kgid_t grp) in in_egroup_p() 81 static inline int groups_search(const struct group_info *group_info, kgid_t grp) in groups_search() 120 kgid_t gid; /* real GID of the task */ 122 kgid_t sgid; /* saved GID of the task */ 124 kgid_t egid; /* effective GID of the task */ [all …]
|
A D | sysfs.h | 330 kgid_t kgid); 331 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid); 333 const char *name, kuid_t kuid, kgid_t kgid); 336 kuid_t kuid, kgid_t kgid); 339 kgid_t kgid); 559 kgid_t kgid) in sysfs_file_change_owner() 567 kgid_t kgid) in sysfs_link_change_owner() 572 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() 579 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner() 586 kuid_t kuid, kgid_t kgid) in sysfs_group_change_owner()
|
A D | ipc.h | 18 kgid_t gid; 20 kgid_t cgid;
|
A D | kernfs.h | 372 kuid_t uid, kgid_t gid, 378 kuid_t uid, kgid_t gid, 469 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns() 475 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
|
A D | proc_fs.h | 65 kgid_t pid_gid; 112 extern void proc_set_user(struct proc_dir_entry *, kuid_t, kgid_t); 185 static inline void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) {} in proc_set_user()
|
A D | key.h | 208 kgid_t gid; 279 kuid_t uid, kgid_t gid, 406 extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
|
/linux/kernel/ |
A D | groups.c | 63 kgid_t kgid; in groups_from_user() 78 kgid_t a = *(kgid_t *)_a; in gid_cmp() 79 kgid_t b = *(kgid_t *)_b; in gid_cmp() 92 int groups_search(const struct group_info *group_info, kgid_t grp) in groups_search() 214 int in_group_p(kgid_t grp) in in_group_p() 226 int in_egroup_p(kgid_t grp) in in_egroup_p()
|
A D | audit.h | 82 kgid_t gid; 138 kgid_t gid, egid, sgid, fsgid; 161 kgid_t gid; 229 extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right);
|
/linux/fs/gfs2/ |
A D | quota.h | 20 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 23 extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 26 extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, 29 kuid_t uid, kgid_t gid);
|
/linux/net/netfilter/ |
A D | xt_owner.c | 49 kgid_t gid_min = make_kgid(net->user_ns, info->gid_min); in owner_check() 50 kgid_t gid_max = make_kgid(net->user_ns, info->gid_max); in owner_check() 95 kgid_t gid_min = make_kgid(net->user_ns, info->gid_min); in owner_mt() 96 kgid_t gid_max = make_kgid(net->user_ns, info->gid_max); in owner_mt() 105 kgid_t group = gi->gid[i]; in owner_mt()
|
/linux/fs/sysfs/ |
A D | file.c | 256 kgid_t gid, const void *ns) in sysfs_add_file_mode_ns() 306 kuid_t uid, kgid_t gid, const void *ns) in sysfs_add_bin_file_mode_ns() 349 kgid_t gid; in sysfs_create_file_ns() 384 kgid_t gid; in sysfs_add_file_to_group() 562 kgid_t gid; in sysfs_create_bin_file() 586 kgid_t kgid) in internal_change_owner() 611 const char *name, kuid_t kuid, kgid_t kgid) in sysfs_link_change_owner() 650 kgid_t kgid) in sysfs_file_change_owner() 691 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner()
|
A D | sysfs.h | 32 kgid_t gid, const void *ns); 35 kuid_t uid, kgid_t gid, const void *ns);
|
A D | group.c | 35 kuid_t uid, kgid_t gid, in create_files() 112 kgid_t gid; in internal_create_group() 330 kgid_t gid; in sysfs_merge_group() 518 kgid_t kgid) in sysfs_group_change_owner() 561 kuid_t kuid, kgid_t kgid) in sysfs_groups_change_owner()
|
/linux/include/net/9p/ |
A D | client.h | 198 kgid_t gid, struct p9_qid *qid); 200 kgid_t gid, struct p9_qid *qid); 220 dev_t rdev, kgid_t gid, struct p9_qid *qid); 222 kgid_t gid, struct p9_qid *qid);
|
A D | 9p.h | 397 kgid_t n_gid; /* 9p2000.u extensions */ 406 kgid_t st_gid; 461 kgid_t gid;
|
/linux/fs/nfsd/ |
A D | idmap.h | 56 __be32 nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, kgid_t *); 58 __be32 nfsd4_encode_group(struct xdr_stream *, struct svc_rqst *, kgid_t);
|
/linux/fs/nfs/ |
A D | nfs4idmap.h | 61 int nfs_map_group_to_gid(const struct nfs_server *, const char *, size_t, kgid_t *); 63 int nfs_map_gid_to_group(const struct nfs_server *, kgid_t, char *, size_t);
|
/linux/fs/ksmbd/ |
A D | smbacl.h | 152 kgid_t cf_gid; 167 kgid_t gid; 228 kgid_t kgid; in posix_acl_gid_translate()
|
/linux/fs/kernfs/ |
A D | kernfs-internal.h | 24 kgid_t ia_gid; 135 kuid_t uid, kgid_t gid,
|
/linux/net/ |
A D | sysctl_net.c | 58 kuid_t *uid, kgid_t *gid) in net_ctl_set_ownership() 62 kgid_t ns_root_gid; in net_ctl_set_ownership()
|
/linux/fs/ |
A D | attr.c | 61 const struct inode *inode, kgid_t gid) in chgrp_ok() 63 kgid_t kgid = i_gid_into_mnt(mnt_userns, inode); in chgrp_ok() 243 kgid_t kgid = i_gid_into_mnt(mnt_userns, inode); in setattr_copy()
|
/linux/drivers/base/power/ |
A D | power.h | 80 extern int dpm_sysfs_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid); 96 kgid_t kgid) { return 0; } in dpm_sysfs_change_owner()
|
/linux/include/net/ |
A D | scm.h | 21 kgid_t gid; 57 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred()
|
/linux/fs/tracefs/ |
A D | inode.c | 142 kgid_t gid; 164 static void change_gid(struct dentry *dentry, kgid_t gid) in change_gid() 178 static void set_gid(struct dentry *parent, kgid_t gid) in set_gid() 241 kgid_t gid; in tracefs_parse_options()
|