Home
last modified time | relevance | path

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

12

/include/linux/
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 …]
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 …]
Dmnt_idmapping.h107 static inline kgid_t mapped_kgid_fs(struct user_namespace *mnt_userns, in mapped_kgid_fs()
109 kgid_t kgid) in mapped_kgid_fs()
180 static inline kgid_t mapped_kgid_user(struct user_namespace *mnt_userns, in mapped_kgid_user()
182 kgid_t kgid) in mapped_kgid_user()
228 static inline kgid_t mapped_fsgid(struct user_namespace *mnt_userns, in mapped_fsgid()
Dipc.h18 kgid_t gid;
20 kgid_t cgid;
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()
Dstat.h45 kgid_t gid;
Dkernfs.h397 kuid_t uid, kgid_t gid,
403 kuid_t uid, kgid_t gid,
494 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns()
500 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
594 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_file_ns()
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()
Dkobject.h124 kuid_t *uid, kgid_t *gid);
155 void (*get_ownership)(struct kobject *kobj, kuid_t *uid, kgid_t *gid);
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,
Dposix_acl.h25 kgid_t e_gid;
Dshmem_fs.h39 kgid_t gid; /* Mount gid for root directory */
Dquota.h71 kgid_t gid;
162 static inline struct kqid make_kqid_gid(kgid_t gid) in make_kqid_gid()
Duser_namespace.h74 kgid_t group;
Dsysctl.h178 kuid_t *uid, kgid_t *gid);
Ddevice.h93 kuid_t *uid, kgid_t *gid);
847 int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid);
849 kgid_t *gid, const char **tmp);
Dnfs4.h35 kgid_t who_gid;
/include/net/9p/
Dclient.h200 kgid_t gid, struct p9_qid *qid);
202 kgid_t gid, struct p9_qid *qid);
222 dev_t rdev, kgid_t gid, struct p9_qid *qid);
224 kgid_t gid, struct p9_qid *qid);
D9p.h399 kgid_t n_gid; /* 9p2000.u extensions */
408 kgid_t st_gid;
463 kgid_t gid;
/include/net/
Dscm.h21 kgid_t gid;
57 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred()
Daf_unix.h36 kgid_t gid;
Dnet_namespace.h220 void net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid);
238 kuid_t *uid, kgid_t *gid) in net_ns_get_ownership()
/include/linux/sunrpc/
Dsvcauth.h23 kgid_t cr_gid;
/include/net/netns/
Dipv4.h29 kgid_t range[2];
/include/linux/device/
Dclass.h74 void (*get_ownership)(struct device *dev, kuid_t *uid, kgid_t *gid);

12