Searched refs:gids (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/nspawn/ |
D | nspawn-setuid.c | 94 _cleanup_free_ gid_t *gids = NULL; in change_uid_gid() local 221 if (!GREEDY_REALLOC(gids, n_gids+1)) in change_uid_gid() 224 r = parse_gid(word, &gids[n_gids++]); in change_uid_gid() 237 r = change_uid_gid_raw(uid, gid, gids, n_gids, chown_stdio); in change_uid_gid()
|
/systemd-251/src/basic/ |
D | user-util.c | 466 _cleanup_free_ gid_t *gids = NULL; in in_gid() local 478 ngroups = getgroups_alloc(&gids); in in_gid() 482 return gid_list_has(gids, ngroups, gid); in in_gid() 518 int getgroups_alloc(gid_t** gids) { in getgroups_alloc() argument 555 *gids = TAKE_PTR(p); in getgroups_alloc()
|
D | user-util.h | 55 int getgroups_alloc(gid_t** gids);
|
/systemd-251/src/test/ |
D | test-condition.c | 672 gid_t *gids, max_gid; in TEST() local 696 gids = newa(gid_t, ngroups_max); in TEST() 698 ngroups = getgroups(ngroups_max, gids); in TEST() 703 assert_se(0 < asprintf(&gid, "%u", gids[i])); in TEST() 711 max_gid = gids[i] > max_gid ? gids[i] : max_gid; in TEST() 713 groupname = gid_to_name(gids[i]); in TEST() 722 max_gid = gids[i] > max_gid ? gids[i] : max_gid; in TEST()
|
D | test-socket-util.c | 165 static const gid_t gids[] = { 3, 4, 5, 6, 7 }; in TEST() local 176 test_gids = (gid_t*) gids; in TEST() 177 n_test_gids = ELEMENTSOF(gids); in TEST()
|
D | test-user-util.c | 408 _cleanup_free_ gid_t *gids = NULL; in TEST() local 431 nresult = getgroups_alloc(&gids); in TEST() 433 assert_se(gids); in TEST()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-creds.c | 261 _public_ int sd_bus_creds_get_supplementary_gids(sd_bus_creds *c, const gid_t **gids) { in sd_bus_creds_get_supplementary_gids() argument 263 assert_return(gids, -EINVAL); in sd_bus_creds_get_supplementary_gids() 268 *gids = c->supplementary_gids; in sd_bus_creds_get_supplementary_gids()
|
/systemd-251/src/systemd/ |
D | sd-bus.h | 416 int sd_bus_creds_get_supplementary_gids(sd_bus_creds *c, const gid_t **gids);
|
/systemd-251/ |
D | TODO | 905 * sync dynamic uids/gids between host+portable srvice (i.e. if DynamicUser=1 is set for a service, …
|