/systemd-251/src/shared/ |
D | group-record.c | 8 GroupRecord* group_record_new(void) { in group_record_new() 9 GroupRecord *h; in group_record_new() 11 h = new(GroupRecord, 1); in group_record_new() 15 *h = (GroupRecord) { in group_record_new() 25 static GroupRecord *group_record_free(GroupRecord *g) { in group_record_free() 44 DEFINE_TRIVIAL_REF_UNREF_FUNC(GroupRecord, group_record, group_record_free); 49 …hedPassword", _JSON_VARIANT_TYPE_INVALID, json_dispatch_strv, offsetof(GroupRecord, hashed_passwor… in dispatch_privileged() 59 … { "gid", JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(GroupRecord, gid), 0 }, in dispatch_binding() 89 … JSON_VARIANT_UNSIGNED, json_dispatch_uid_gid, offsetof(GroupRecord, gid), … in dispatch_per_machine() 90 … JSON_VARIANT_ARRAY, json_dispatch_user_group_list, offsetof(GroupRecord, members), … in dispatch_per_machine() [all …]
|
D | group-record.h | 7 typedef struct GroupRecord { struct 33 } GroupRecord; argument 35 GroupRecord* group_record_new(void); 36 GroupRecord* group_record_ref(GroupRecord *g); 37 GroupRecord* group_record_unref(GroupRecord *g); 39 DEFINE_TRIVIAL_CLEANUP_FUNC(GroupRecord*, group_record_unref); 41 int group_record_load(GroupRecord *h, JsonVariant *v, UserRecordLoadFlags flags); 42 int group_record_build(GroupRecord **ret, ...); 43 int group_record_clone(GroupRecord *g, UserRecordLoadFlags flags, GroupRecord **ret); 45 const char *group_record_group_name_and_realm(GroupRecord *h); [all …]
|
D | user-record-nss.h | 20 int nss_group_to_group_record(const struct group *grp, const struct sgrp *sgrp, GroupRecord **ret); 23 int nss_group_record_by_name(const char *name, bool with_shadow, GroupRecord **ret); 24 int nss_group_record_by_gid(gid_t gid, bool with_shadow, GroupRecord **ret);
|
D | userdb.h | 47 int groupdb_by_name(const char *name, UserDBFlags flags, GroupRecord **ret); 48 int groupdb_by_gid(gid_t gid, UserDBFlags flags, GroupRecord **ret); 50 int groupdb_iterator_get(UserDBIterator *iterator, GroupRecord **ret);
|
D | userdb-dropin.h | 22 int dropin_group_record_by_name(const char *name, const char *path, UserDBFlags flags, GroupRecord … 23 int dropin_group_record_by_gid(gid_t gid, const char *path, UserDBFlags flags, GroupRecord **ret);
|
D | userdb-dropin.c | 170 GroupRecord **ret) { in load_group() 173 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in load_group() 248 int dropin_group_record_by_name(const char *name, const char *path, UserDBFlags flags, GroupRecord … in dropin_group_record_by_name() 278 int dropin_group_record_by_gid(gid_t gid, const char *path, UserDBFlags flags, GroupRecord **ret) { in dropin_group_record_by_gid()
|
D | userdb.c | 47 GroupRecord *found_group; /* when .what == LOOKUP_GROUP */ 247 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in userdb_on_query_reply() 523 GroupRecord **ret_group_record, in userdb_process() 877 static int synthetic_root_group_build(GroupRecord **ret) { in synthetic_root_group_build() 885 static int synthetic_nobody_group_build(GroupRecord **ret) { in synthetic_nobody_group_build() 893 int groupdb_by_name(const char *name, UserDBFlags flags, GroupRecord **ret) { in groupdb_by_name() 944 int groupdb_by_gid(gid_t gid, UserDBFlags flags, GroupRecord **ret) { in groupdb_by_gid() 1035 int groupdb_iterator_get(UserDBIterator *iterator, GroupRecord **ret) { in groupdb_iterator_get() 1222 _cleanup_(group_record_unrefp) GroupRecord *gr = NULL; in membershipdb_by_group()
|
D | user-record-nss.c | 323 GroupRecord **ret) { in nss_group_to_group_record() 325 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in nss_group_to_group_record() 424 GroupRecord **ret) { in nss_group_record_by_name() 481 GroupRecord **ret) { in nss_group_record_by_gid()
|
D | user-record-show.h | 10 void group_record_show(GroupRecord *gr, bool show_full_user_info);
|
D | user-record-show.c | 160 _cleanup_(group_record_unrefp) GroupRecord *gr = NULL; in user_record_show() 512 void group_record_show(GroupRecord *gr, bool show_full_user_info) { in group_record_show()
|
/systemd-251/src/nspawn/ |
D | nspawn-bind-user.h | 11 GroupRecord *host_group; 15 GroupRecord *payload_group;
|
D | nspawn-bind-user.c | 82 GroupRecord *g, in convert_user() 85 GroupRecord **ret_converted_group) { in convert_user() 87 _cleanup_(group_record_unrefp) GroupRecord *converted_group = NULL; in convert_user() 227 _cleanup_(group_record_unrefp) GroupRecord *g = NULL, *cg = NULL; in bind_user_prepare() 404 … _cleanup_(group_record_unrefp) GroupRecord *stripped_group = NULL, *shadow_group = NULL; in bind_user_setup()
|
/systemd-251/src/nss-systemd/ |
D | userdb-glue.c | 214 GroupRecord *g, in nss_pack_group_record() 283 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in userdb_getgrnam() 350 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in userdb_getgrgid() 413 GroupRecord *hr, in nss_pack_group_record_shadow() 451 _cleanup_(group_record_unrefp) GroupRecord *hr = NULL; in userdb_getsgnam()
|
D | userdb-glue.h | 14 int nss_pack_group_record(GroupRecord *g, char **extra_members, struct group *gr, char *buffer, siz… 17 int nss_pack_group_record_shadow(GroupRecord *hr, struct sgrp *sgrp, char *buffer,size_t buflen);
|
D | nss-systemd.c | 725 _cleanup_(group_record_unrefp) GroupRecord *gr = NULL; in _nss_systemd_getgrent_r() 904 _cleanup_(group_record_unrefp) GroupRecord *gr = NULL; in _nss_systemd_getsgent_r() 991 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in _nss_systemd_initgroups_dyn()
|
/systemd-251/src/userdb/ |
D | userwork.c | 224 static int build_group_json(Varlink *link, GroupRecord *gr, JsonVariant **ret) { in build_group_json() 225 _cleanup_(group_record_unrefp) GroupRecord *stripped = NULL; in build_group_json() 277 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in vl_method_get_group_record() 309 _cleanup_(group_record_unrefp) GroupRecord *z = NULL; in vl_method_get_group_record()
|
D | userdbctl.c | 468 static int show_group(GroupRecord *gr, Table *table) { in show_group() 678 _cleanup_(group_record_unrefp) GroupRecord *gr = NULL; in display_group() 718 _cleanup_(group_record_unrefp) GroupRecord *gr = NULL; in display_group()
|
/systemd-251/src/home/ |
D | user-record-util.h | 10 int group_record_synthesize(GroupRecord *g, UserRecord *u);
|
D | homed-varlink.c | 154 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in build_group_json()
|
D | user-record-util.c | 109 int group_record_synthesize(GroupRecord *g, UserRecord *h) { in group_record_synthesize()
|