Home
last modified time | relevance | path

Searched refs:ret_gid (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/tmpfiles/
Doffline-passwd.c140 gid_t *ret_gid, in name_to_gid_offline() argument
147 assert(ret_gid); in name_to_gid_offline()
160 *ret_gid = PTR_TO_GID(found); in name_to_gid_offline()
Doffline-passwd.h9 int name_to_gid_offline(const char *root, const char *group, gid_t *ret_gid, Hashmap **cache);
Dtmpfiles.c2822 static int find_gid(const char *group, gid_t *ret_gid, Hashmap **cache) { in find_gid() argument
2826 assert(ret_gid); in find_gid()
2829 r = parse_gid(group, ret_gid); in find_gid()
2835 return get_group_creds(&group, ret_gid, 0); in find_gid()
2839 *ret_gid = 0; in find_gid()
2844 return name_to_gid_offline(arg_root, group, ret_gid, cache); in find_gid()
/systemd-251/src/basic/
Duser-util.h32 static inline int parse_gid(const char *s, gid_t *ret_gid) { in parse_gid() argument
33 return parse_uid(s, (uid_t*) ret_gid); in parse_gid()
/systemd-251/src/core/
Ddynamic-user.c382 uid_t *ret_uid, gid_t *ret_gid, in dynamic_user_realize() argument
395 assert(ret_gid); in dynamic_user_realize()
519 *ret_gid = gid != GID_INVALID ? gid : num; in dynamic_user_realize()
521 *ret_gid = num; in dynamic_user_realize()
/systemd-251/src/machine/
Dmachined-varlink.c254 static int group_lookup_name(Manager *m, const char *name, gid_t *ret_gid, char **ret_description) { in group_lookup_name() argument
262 assert(ret_gid); in group_lookup_name()
299 *ret_gid = converted_gid; in group_lookup_name()