Home
last modified time | relevance | path

Searched refs:kgid_t (Results 1 – 25 of 181) sorted by relevance

12345678

/linux/include/linux/
A Duidgid.h28 } 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 Dcred.h28 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 Dsysfs.h330 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 Dipc.h18 kgid_t gid;
20 kgid_t cgid;
A Dkernfs.h372 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 Dproc_fs.h65 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 Dkey.h208 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 Dgroups.c63 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 Daudit.h82 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 Dquota.h20 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 Dxt_owner.c49 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 Dfile.c256 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 Dsysfs.h32 kgid_t gid, const void *ns);
35 kuid_t uid, kgid_t gid, const void *ns);
A Dgroup.c35 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 Dclient.h198 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 D9p.h397 kgid_t n_gid; /* 9p2000.u extensions */
406 kgid_t st_gid;
461 kgid_t gid;
/linux/fs/nfsd/
A Didmap.h56 __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 Dnfs4idmap.h61 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 Dsmbacl.h152 kgid_t cf_gid;
167 kgid_t gid;
228 kgid_t kgid; in posix_acl_gid_translate()
/linux/fs/kernfs/
A Dkernfs-internal.h24 kgid_t ia_gid;
135 kuid_t uid, kgid_t gid,
/linux/net/
A Dsysctl_net.c58 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 Dattr.c61 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 Dpower.h80 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 Dscm.h21 kgid_t gid;
57 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred()
/linux/fs/tracefs/
A Dinode.c142 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()

Completed in 35 milliseconds

12345678