Searched defs:groups (Results 1 - 2 of 2) sorted by relevance

/systemd/src/libsystemd/sd-netlink/
H A Dnetlink-socket.c47 _cleanup_free_ uint32_t *groups = NULL; local
67 groups = new0(uint32_t, len);
68 if (!groups)
73 r = getsockopt(nl->fd, SOL_NETLINK, NETLINK_LIST_MEMBERSHIPS, groups, &len);
91 if (!(groups[i] & offset))
/systemd/src/sysusers/
H A Dsysusers.c75 static Hashmap *users = NULL, *groups = NULL; variable
409 i = hashmap_get(groups, gr->gr_name);
483 i = hashmap_get(groups, sg->sg_namp);
1202 /* Implicitly create additional users and groups, if they were listed in "m" lines */
1208 i = hashmap_get(groups, g);
1212 r = hashmap_ensure_allocated(&groups, &string_hash_ops);
1225 r = hashmap_put(groups, j->name, j);
1628 r = hashmap_ensure_allocated(&groups, &string_hash_ops);
1653 h = groups;
1885 HASHMAP_FOREACH(i, groups, iterato
[all...]

Completed in 782 milliseconds