Home
last modified time | relevance | path

Searched refs:ret_uid (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/core/
Ddynamic-user.c179 static int pick_uid(char **suggested_paths, const char *name, uid_t *ret_uid) { in pick_uid() argument
313 *ret_uid = candidate; in pick_uid()
321 static int dynamic_user_pop(DynamicUser *d, uid_t *ret_uid, int *ret_lock_fd) { in dynamic_user_pop() argument
328 assert(ret_uid); in dynamic_user_pop()
338 *ret_uid = uid; in dynamic_user_pop()
382 uid_t *ret_uid, gid_t *ret_gid, in dynamic_user_realize() argument
394 assert(is_user == !!ret_uid); in dynamic_user_realize()
518 *ret_uid = num; in dynamic_user_realize()
/systemd-251/src/tmpfiles/
Doffline-passwd.c113 uid_t *ret_uid, in name_to_uid_offline() argument
120 assert(ret_uid); in name_to_uid_offline()
133 *ret_uid = PTR_TO_UID(found); in name_to_uid_offline()
Doffline-passwd.h8 int name_to_uid_offline(const char *root, const char *user, uid_t *ret_uid, Hashmap **cache);
Dtmpfiles.c2797 static int find_uid(const char *user, uid_t *ret_uid, Hashmap **cache) { in find_uid() argument
2801 assert(ret_uid); in find_uid()
2804 r = parse_uid(user, ret_uid); in find_uid()
2810 return get_user_creds(&user, ret_uid, NULL, NULL, NULL, 0); in find_uid()
2814 *ret_uid = 0; in find_uid()
2819 return name_to_uid_offline(arg_root, user, ret_uid, cache); in find_uid()
/systemd-251/src/shared/
Duid-alloc-range.c18 static int parse_alloc_uid(const char *path, const char *name, const char *t, uid_t *ret_uid) { in parse_alloc_uid() argument
28 *ret_uid = uid; in parse_alloc_uid()
/systemd-251/src/machine/
Dmachined-varlink.c88 static int user_lookup_name(Manager *m, const char *name, uid_t *ret_uid, char **ret_real_name) { in user_lookup_name() argument
96 assert(ret_uid); in user_lookup_name()
133 *ret_uid = converted_uid; in user_lookup_name()
/systemd-251/src/basic/
Duser-util.h29 int parse_uid(const char *s, uid_t* ret_uid);
Dcgroup-util.h242 int cg_get_owner(const char *controller, const char *path, uid_t *ret_uid);
Dcgroup-util.c1783 int cg_get_owner(const char *controller, const char *path, uid_t *ret_uid) { in cg_get_owner() argument
1788 assert(ret_uid); in cg_get_owner()
1798 *ret_uid = stats.st_uid; in cg_get_owner()