Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dcgroup-show.c262 char *gn = NULL; in show_cgroup_by_path() local
280 while ((r = cg_read_subgroup(d, &gn)) > 0) { in show_cgroup_by_path()
283 k = path_join(fn, gn); in show_cgroup_by_path()
284 free(gn); in show_cgroup_by_path()
Duserdb.c1373 _cleanup_free_ char *un = NULL, *gn = NULL; in membershipdb_iterator_get() local
1393 gn = strndup(c, e - c); in membershipdb_iterator_get()
1394 if (!gn) in membershipdb_iterator_get()
1397 if (!streq(gn, iterator->filter_group_name)) in membershipdb_iterator_get()
1399 } else if (!valid_user_group_name(gn, VALID_USER_RELAX)) in membershipdb_iterator_get()
1408 *ret_group = TAKE_PTR(gn); in membershipdb_iterator_get()
/systemd-251/src/machine/
Dmachined-varlink.c320 const char *gn; in vl_method_get_group_record() local
345 gn = found_name ?: p.group_name; in vl_method_get_group_record()
347 if (!group_match_lookup_parameters(&p, gn, gid)) in vl_method_get_group_record()
350 r = build_group_json(gn, gid, found_description, &v); in vl_method_get_group_record()
/systemd-251/src/core/
Dcore-varlink.c373 const char *gn; in vl_method_get_group_record() local
429 gn = found_name ?: p.group_name; in vl_method_get_group_record()
431 if (!group_match_lookup_parameters(&p, gn, gid)) in vl_method_get_group_record()
434 r = build_group_json(gn, gid, &v); in vl_method_get_group_record()
/systemd-251/test/test-execute/
Dexec-specifier@.service23 ExecStart=sh -c 'test %g = $$(id -gn)'
Dexec-specifier.service26 ExecStart=sh -c 'test %g = $$(id -gn)'