/systemd-251/src/resolve/ |
D | resolved-socket-graveyard.c | 20 static SocketGraveyard* socket_graveyard_free(SocketGraveyard *g) { in socket_graveyard_free() argument 21 if (!g) in socket_graveyard_free() 24 if (g->manager) { in socket_graveyard_free() 25 assert(g->manager->n_socket_graveyard > 0); in socket_graveyard_free() 26 g->manager->n_socket_graveyard--; in socket_graveyard_free() 28 if (g->manager->socket_graveyard_oldest == g) in socket_graveyard_free() 29 g->manager->socket_graveyard_oldest = g->graveyard_prev; in socket_graveyard_free() 31 LIST_REMOVE(graveyard, g->manager->socket_graveyard, g); in socket_graveyard_free() 33 assert((g->manager->n_socket_graveyard > 0) == !!g->manager->socket_graveyard); in socket_graveyard_free() 34 … assert((g->manager->n_socket_graveyard > 0) == !!g->manager->socket_graveyard_oldest); in socket_graveyard_free() [all …]
|
/systemd-251/src/import/ |
D | curl-util.c | 12 static void curl_glue_check_finished(CurlGlue *g) { in curl_glue_check_finished() argument 16 assert(g); in curl_glue_check_finished() 18 msg = curl_multi_info_read(g->curl, &k); in curl_glue_check_finished() 25 if (g->on_finished) in curl_glue_check_finished() 26 g->on_finished(g, msg->easy_handle, msg->data.result); in curl_glue_check_finished() 30 CurlGlue *g = userdata; in curl_glue_on_io() local 34 assert(g); in curl_glue_on_io() 45 if (curl_multi_socket_action(g->curl, fd, action, &k) != CURLM_OK) in curl_glue_on_io() 49 curl_glue_check_finished(g); in curl_glue_on_io() 55 CurlGlue *g = userdata; in curl_glue_socket_callback() local [all …]
|
/systemd-251/src/journal/ |
D | journald-rate-limit.c | 74 static void journal_ratelimit_group_free(JournalRateLimitGroup *g) { in journal_ratelimit_group_free() argument 75 assert(g); in journal_ratelimit_group_free() 77 if (g->parent) { in journal_ratelimit_group_free() 78 assert(g->parent->n_groups > 0); in journal_ratelimit_group_free() 80 if (g->parent->lru_tail == g) in journal_ratelimit_group_free() 81 g->parent->lru_tail = g->lru_prev; in journal_ratelimit_group_free() 83 LIST_REMOVE(lru, g->parent->lru, g); in journal_ratelimit_group_free() 84 LIST_REMOVE(bucket, g->parent->buckets[g->hash % BUCKETS_MAX], g); in journal_ratelimit_group_free() 86 g->parent->n_groups--; in journal_ratelimit_group_free() 89 free(g->id); in journal_ratelimit_group_free() [all …]
|
/systemd-251/test/test-sysusers/ |
D | test-5.input | 5 g adm 4 - 6 g tty 5 - 7 g disk 6 - 8 g man 12 - 9 g kmem 15 - 10 g dialout 20 - 11 g fax 21 - 12 g voice 22 - 13 g cdrom 24 - 14 g floppy 25 - [all …]
|
D | test-7.input | 8 g sys 3 - - 9 g mem 8 - - 10 g ftp 11 - - 11 g mail 12 - - 12 g log 19 - - 13 g smmsp 25 - - 14 g proc 26 - - 15 g games 50 - - 16 g lock 54 - - 17 g network 90 - - [all …]
|
/systemd-251/src/cgtop/ |
D | cgtop.c | 87 static Group *group_free(Group *g) { in group_free() argument 88 if (!g) in group_free() 91 free(g->path); in group_free() 92 return mfree(g); in group_free() 154 Group *g; in process() local 165 g = hashmap_get(a, path); in process() 166 if (!g) { in process() 167 g = hashmap_get(b, path); in process() 168 if (!g) { in process() 169 g = new0(Group, 1); in process() [all …]
|
/systemd-251/sysusers.d/ |
D | basic.conf.in | 12 g {{NOBODY_GROUP_NAME}} 65534 - - 16 g adm {{ADM_GID }} - - 19 g wheel {{WHEEL_GID }} - - 22 g utmp {{UTMP_GID }} - - 25 g audio {{AUDIO_GID }} - - 26 g cdrom {{CDROM_GID }} - - 27 g dialout {{DIALOUT_GID}} - - 28 g disk {{DISK_GID }} - - 29 g input {{INPUT_GID }} - - 30 g kmem {{KMEM_GID }} - - [all …]
|
/systemd-251/src/test/ |
D | test-glob-util.c | 42 _cleanup_globfree_ glob_t g = { in TEST() local 55 r = glob(fn, GLOB_NOSORT|GLOB_BRACE|GLOB_ALTDIRFUNC, NULL, &g); in TEST() 59 r = glob(fn, GLOB_NOSORT|GLOB_BRACE|GLOB_ALTDIRFUNC, NULL, &g); in TEST() 69 _cleanup_globfree_ glob_t g = {}; in TEST() local 75 r = safe_glob(fn, 0, &g); in TEST() 79 r = safe_glob(fn2, GLOB_NOSORT|GLOB_BRACE, &g); in TEST() 85 r = safe_glob(fn, 0, &g); in TEST() 88 r = safe_glob(fn2, GLOB_NOSORT|GLOB_BRACE, &g); in TEST() 90 assert_se(g.gl_pathc == 1); in TEST() 91 assert_se(streq(g.gl_pathv[0], fname)); in TEST() [all …]
|
/systemd-251/src/nss-systemd/ |
D | userdb-glue.c | 214 GroupRecord *g, in nss_pack_group_record() argument 223 assert(g); in nss_pack_group_record() 226 assert(g->group_name); in nss_pack_group_record() 227 required = strlen(g->group_name) + 1; in nss_pack_group_record() 229 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() 267 .gr_name = strcpy(p, g->group_name), in nss_pack_group_record() 268 .gr_gid = g->gid, in nss_pack_group_record() [all …]
|
/systemd-251/src/shared/ |
D | group-record.c | 25 static GroupRecord *group_record_free(GroupRecord *g) { in group_record_free() argument 26 if (!g) in group_record_free() 29 free(g->group_name); in group_record_free() 30 free(g->realm); in group_record_free() 31 free(g->group_name_and_realm_auto); in group_record_free() 32 free(g->description); in group_record_free() 34 strv_free(g->members); in group_record_free() 35 free(g->service); in group_record_free() 36 strv_free(g->administrators); in group_record_free() 37 strv_free_erase(g->hashed_password); in group_record_free() [all …]
|
D | user-record-nss.c | 325 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in nss_group_to_group_record() 337 g = group_record_new(); in nss_group_to_group_record() 338 if (!g) in nss_group_to_group_record() 341 g->group_name = strdup(grp->gr_name); in nss_group_to_group_record() 342 if (!g->group_name) in nss_group_to_group_record() 345 r = strv_extend_strv_utf8_only(&g->members, grp->gr_mem, false); in nss_group_to_group_record() 349 g->gid = grp->gr_gid; in nss_group_to_group_record() 353 g->hashed_password = strv_new(sgrp->sg_passwd); in nss_group_to_group_record() 354 if (!g->hashed_password) 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() [all …]
|
D | journal-util.c | 30 _cleanup_strv_free_ char **g = NULL; in access_check_var_log_journal() local 42 r = acl_search_groups(dir, &g); in access_check_var_log_journal() 49 if (!strv_isempty(g)) { in access_check_var_log_journal() 53 r = strv_extend(&g, "systemd-journal"); in access_check_var_log_journal() 57 strv_sort(g); in access_check_var_log_journal() 58 strv_uniq(g); in access_check_var_log_journal() 60 s = strv_join(g, "', '"); in access_check_var_log_journal()
|
D | userdb-dropin.c | 173 _cleanup_(group_record_unrefp) GroupRecord *g = NULL; in load_group() 219 g = group_record_new(); in load_group() 220 if (!g) in load_group() 224 g, v, in load_group() 234 if (name && !streq_ptr(name, g->group_name)) in load_group() 237 if (gid_is_valid(gid) && gid != g->gid) in load_group() 240 g->incomplete = !have_privileged; in load_group() 243 *ret = TAKE_PTR(g); in load_group()
|
/systemd-251/test/test-execute/ |
D | exec-supplementarygroups-multiple-groups-default-group-user.service | 6 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "%G" && HAVE=1; done; test "$$… 7 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$H… 8 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$H… 9 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$H… 10 ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "%G" && test "$$(id -u)" = "%U"'
|
D | exec-supplementarygroups-multiple-groups-withgid.service | 6 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$H… 7 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$H… 8 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$H… 9 ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "%U"'
|
D | exec-dynamicuser-supplementarygroups.service | 6 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$H… 7 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$H… 8 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$H…
|
D | exec-supplementarygroups-multiple-groups-withuid.service | 6 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$H… 7 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$H… 8 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$H…
|
/systemd-251/catalog/ |
D | systemd.hu.catalog.in | 48 Kernelüzenetek vesztek el, mert a naplózó rendszer nem tudta elég gyorsan 119 gép üresjáratban van, mivel egyes szolgáltatások még az indítás 151 Subject: A(z) @UNIT@ egység indítása megkezdődött 155 A(z) @UNIT@ egység megkezdte az indulást. 158 Subject: A(z) @UNIT@ egység befejezte az indulást 162 A(z) @UNIT@ egység befejezte az indulást 167 Subject: A(z) @UNIT@ egység megkezdte a leállást 171 A(z) @UNIT@ egység megkezdte a leállást. 174 Subject: A(z) @UNIT@ egység befejezte a leállást 178 A(z) @UNIT@ egység befejezte a leállást. [all …]
|
/systemd-251/src/basic/ |
D | utf8.c | 358 size_t utf8_encode_unichar(char *out_utf8, char32_t g) { in utf8_encode_unichar() argument 360 if (g < (1 << 7)) { in utf8_encode_unichar() 362 out_utf8[0] = g & 0x7f; in utf8_encode_unichar() 364 } else if (g < (1 << 11)) { in utf8_encode_unichar() 366 out_utf8[0] = 0xc0 | ((g >> 6) & 0x1f); in utf8_encode_unichar() 367 out_utf8[1] = 0x80 | (g & 0x3f); in utf8_encode_unichar() 370 } else if (g < (1 << 16)) { in utf8_encode_unichar() 372 out_utf8[0] = 0xe0 | ((g >> 12) & 0x0f); in utf8_encode_unichar() 373 out_utf8[1] = 0x80 | ((g >> 6) & 0x3f); in utf8_encode_unichar() 374 out_utf8[2] = 0x80 | (g & 0x3f); in utf8_encode_unichar() [all …]
|
D | glob-util.c | 51 _cleanup_globfree_ glob_t g = {}; in glob_exists() local 56 k = safe_glob(path, GLOB_NOSORT|GLOB_BRACE, &g); in glob_exists() 65 _cleanup_globfree_ glob_t g = {}; in glob_extend() local 68 k = safe_glob(path, GLOB_NOSORT|GLOB_BRACE|flags, &g); in glob_extend() 72 return strv_extend_strv(strv, g.gl_pathv, false); in glob_extend()
|
/systemd-251/src/nspawn/ |
D | nspawn-bind-user.c | 82 GroupRecord *g, in convert_user() argument 94 assert(g); in convert_user() 95 assert(u->gid == g->gid); in convert_user() 104 r = check_etc_group_collisions(directory, g->group_name, GID_INVALID); in convert_user() 109 … "Sorry, the group '%s' already exists in the container.", g->group_name); in convert_user() 137 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(g->group_name)), in convert_user() 139 …JSON_BUILD_PAIR_CONDITION(g->disposition >= 0, "disposition", JSON_BUILD_STRING(user_disposition_t… in convert_user() 227 _cleanup_(group_record_unrefp) GroupRecord *g = NULL, *cg = NULL; in bind_user_prepare() 252 r = groupdb_by_gid(u->gid, USERDB_DONT_SYNTHESIZE, &g); in bind_user_prepare() 256 if (g->gid >= uid_shift && g->gid < uid_shift + uid_range) in bind_user_prepare() [all …]
|
D | nspawn-setuid.c | 93 char *x, *u, *g, *h; in change_uid_gid() local 146 g = strchr(u, ':'); in change_uid_gid() 147 if (!g) in change_uid_gid() 151 *g = 0; in change_uid_gid() 152 g++; in change_uid_gid() 153 x = strchr(g, ':'); in change_uid_gid() 177 r = parse_gid(g, &gid); in change_uid_gid()
|
/systemd-251/test/fuzz/fuzz-netdev-parser/ |
D | oss-fuzz-13886 | 172 g= 188 g= 211 g= 230 [WireGuaeer]zblicKey=a.118>26.g= 263 g= 306 g= 347 g= 370 g= 386 g= 409 g= [all …]
|
/systemd-251/src/core/ |
D | fuzz-unit-file.c | 16 _cleanup_fclose_ FILE *f = NULL, *g = NULL; in LLVMFuzzerTestOneInput() local 82 g = open_memstream_unlocked(&out, &out_size); in LLVMFuzzerTestOneInput() 83 assert_se(g); in LLVMFuzzerTestOneInput() 85 unit_dump(u, g, ""); in LLVMFuzzerTestOneInput() 86 manager_dump(m, g, ">>>"); in LLVMFuzzerTestOneInput()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | fuzz-bus-match.c | 14 _cleanup_fclose_ FILE *g = NULL; in LLVMFuzzerTestOneInput() local 41 assert_se(g = open_memstream_unlocked(&out, &out_size)); in LLVMFuzzerTestOneInput() 74 if (g) in LLVMFuzzerTestOneInput() 75 fprintf(g, "%s\n", again); in LLVMFuzzerTestOneInput() 85 …bus_match_dump(g ?: stdout, &root, 0); /* We do this even on failure, to check consistency after e… in LLVMFuzzerTestOneInput()
|