Home
last modified time | relevance | path

Searched refs:members (Results 1 – 16 of 16) sorted by relevance

/systemd-251/src/nss-systemd/
Duserdb-glue.c229 STRV_FOREACH(m, g->members) { in nss_pack_group_record()
235 if (strv_contains(g->members, *m)) in nss_pack_group_record()
251 STRV_FOREACH(m, g->members) { in nss_pack_group_record()
256 if (strv_contains(g->members, *m)) in nss_pack_group_record()
284 _cleanup_strv_free_ char **members = NULL; in userdb_getgrnam() local
299 … r = membershipdb_by_group_strv(name, nss_glue_userdb_flags()|USERDB_SUPPRESS_SHADOW, &members); in userdb_getgrnam()
308 if (strv_isempty(members)) in userdb_getgrnam()
333 r = nss_pack_group_record(g, members, gr, buffer, buflen); in userdb_getgrnam()
351 _cleanup_strv_free_ char **members = NULL; in userdb_getgrgid() local
392 …embershipdb_by_group_strv(g->group_name, nss_glue_userdb_flags()|USERDB_SUPPRESS_SHADOW, &members); in userdb_getgrgid()
[all …]
Dnss-systemd.c726 _cleanup_free_ char **members = NULL; in _nss_systemd_getgrent_r() local
771 … r = membershipdb_by_group_strv(gr->group_name, nss_glue_userdb_flags(), &members); in _nss_systemd_getgrent_r()
823 members = strv_new(user_name); in _nss_systemd_getgrent_r()
824 if (!members) { in _nss_systemd_getgrent_r()
837 r = nss_pack_group_record(gr, members, result, buffer, buflen); in _nss_systemd_getgrent_r()
/systemd-251/docs/
DGROUP_RECORD.md44 `members` → An array of strings, listing user names that are members of this
79 `gid`, `members`, `administrators`
116 | `struct group` | `gr_mem` | `regular` | `members` | |
120 | `struct sgrp` | `sg_mem` | `regular` | `members` | |
DCODE_OF_CONDUCT.md19 …you wish to make a complaint against one of the members, you may instead contact any of the other
DUSER_GROUP_API.md256 there are multiple members per group and also multiple groups a user is
271 `memberOf` field of user records and the `members` field of group records to
/systemd-251/src/busctl/
Dbusctl.c792 Set *members = userdata; in on_interface() local
796 assert(members); in on_interface()
811 r = set_put(members, m); in on_interface()
823 Set *members = userdata; in on_method() local
854 r = set_put(members, m); in on_method()
866 Set *members = userdata; in on_signal() local
893 r = set_put(members, m); in on_signal()
905 Set *members = userdata; in on_property() local
933 r = set_put(members, m); in on_property()
956 _cleanup_(member_set_freep) Set *members = NULL; in introspect()
[all …]
/systemd-251/src/test/
Dtest-nss-users.c36 _cleanup_free_ char *members = NULL; in print_struct_group() local
42 assert_se(members = strv_join(gr->gr_mem, ", ")); in print_struct_group()
44 log_info(" members=%s", members); in print_struct_group()
/systemd-251/src/shared/
Dgroup-record.c34 strv_free(g->members); in group_record_free()
90 …ANT_ARRAY, json_dispatch_user_group_list, offsetof(GroupRecord, members), JSON_REL… in dispatch_per_machine()
200 …_VARIANT_ARRAY, json_dispatch_user_group_list, offsetof(GroupRecord, members), JSON_R… in group_record_load()
Duser-record-nss.c345 r = strv_extend_strv_utf8_only(&g->members, grp->gr_mem, false); in nss_group_to_group_record()
358 r = strv_extend_strv_utf8_only(&g->members, sgrp->sg_mem, true); in nss_group_to_group_record()
370 … JSON_BUILD_PAIR_CONDITION(!strv_isempty(g->members), "members", JSON_BUILD_STRV(g->members)), in nss_group_to_group_record()
Duserdb.c1231 iterator->members_of_group = strv_copy(gr->members); in membershipdb_by_group()
1422 _cleanup_strv_free_ char **members = NULL; in membershipdb_by_group_strv() local
1441 r = strv_consume(&members, TAKE_PTR(user_name)); in membershipdb_by_group_strv()
1446 strv_sort(members); in membershipdb_by_group_strv()
1447 strv_uniq(members); in membershipdb_by_group_strv()
1449 *ret = TAKE_PTR(members); in membershipdb_by_group_strv()
Dgroup-record.h23 char **members; member
Duser-record-show.c555 STRV_FOREACH(i, gr->members) { in group_record_show()
/systemd-251/src/sysusers/
Dsysusers.c99 static OrderedHashmap *members = NULL; variable
114 STATIC_DESTRUCTOR_REGISTER(members, ordered_hashmap_freep);
311 a = ordered_hashmap_get(members, gr->gr_name); in putgrent_with_members()
355 a = ordered_hashmap_get(members, sg->sg_namp); in putsgent_with_members()
666 if (ordered_hashmap_isempty(todo_gids) && ordered_hashmap_isempty(members)) in write_temporary_group()
772 if (ordered_hashmap_isempty(todo_gids) && ordered_hashmap_isempty(members)) in write_temporary_gshadow()
1406 ORDERED_HASHMAP_FOREACH_KEY(l, g, members) { in add_implicit()
1659 r = string_strv_ordered_hashmap_put(&members, resolved_id, resolved_name); in parse_line()
/systemd-251/shell-completion/zsh/
D_machinectl97 {-l,--full}'[Do not ellipsize cgroup members.]' \
/systemd-251/src/userdb/
Duserdbctl.c481 m = strv_join(gr->members, ","); in show_group()
/systemd-251/
DNEWS1878 units that are members of a slice.
6940 that members of "utmp" can modify/flush the utmp/wtmp/lastlog/btmp
10022 shows all interfaces and members of objects on the bus,
14221 owned by them, thus allow members of this group full access