Searched refs:u2 (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/libsystemd/sd-login/ |
D | test-login.c | 48 uid_t u, u2 = UID_INVALID; in TEST() local 63 r = sd_pid_get_owner_uid(0, &u2); in TEST() 64 log_info("sd_pid_get_owner_uid(0, …) → %s / "UID_FMT, e(r), u2); in TEST() 74 r = sd_uid_get_display(u2, &display_session); in TEST() 75 … log_info("sd_uid_get_display("UID_FMT", …) → %s / \"%s\"", u2, e(r), strnull(display_session)); in TEST() 76 if (u2 == UID_INVALID) in TEST() 86 r = sd_uid_get_sessions(u2, false, &sessions); in TEST() 88 log_info("sd_uid_get_sessions("UID_FMT", …) → %s \"%s\"", u2, e(r), t); in TEST() 89 if (u2 == UID_INVALID) in TEST() 98 assert_se(r == sd_uid_get_sessions(u2, false, NULL)); in TEST() [all …]
|
/systemd-251/src/test/ |
D | test-firewall-util.c | 13 union in_addr_union u1, u2, u3; in test_v6() local 25 assert_se(in_addr_from_string(AF_INET6, "1c3::c01d", &u2) >= 0); in test_v6() 44 assert_se(fw_add_local_dnat(&ctx, true, AF_INET6, IPPROTO_TCP, 4711, &u2, 815, &u1) >= 0); in test_v6() 45 assert_se(fw_add_local_dnat(&ctx, false, AF_INET6, IPPROTO_TCP, 4711, &u2, 815, NULL) >= 0); in test_v6()
|
D | test-in-addr-util.c | 102 union in_addr_union u1, u2; in test_in_addr_prefix_to_string_unoptimized() local 109 assert_se(in_addr_prefix_from_string(str1, family, &u2, &len2) >= 0); in test_in_addr_prefix_to_string_unoptimized() 110 assert_se(in_addr_prefix_to_string(family, &u2, len2, &str2) >= 0); in test_in_addr_prefix_to_string_unoptimized() 114 assert_se(in_addr_equal(family, &u1, &u2) > 0); in test_in_addr_prefix_to_string_unoptimized()
|
/systemd-251/src/shared/ |
D | efi-api.c | 197 uint16_t u2; member 204 uint16_t u2, u3; in efi_guid_to_id128() local 212 memcpy(&u2, &uuid->u2, sizeof(uint16_t)); in efi_guid_to_id128() 213 id128->bytes[4] = (u2 >> 8) & 0xff; in efi_guid_to_id128() 214 id128->bytes[5] = u2 & 0xff; in efi_guid_to_id128() 335 .u2 = id.bytes[4] << 8 | id.bytes[5], in id128_to_efi_guid()
|
/systemd-251/test/test-sysusers/ |
D | test-10.expected-group | 1 u1:x:300:u2 2 u2:x:SYSTEM_UGID_MAX:
|
D | test-10.expected-passwd | 2 u2:x:SYSTEM_UGID_MAX:SYSTEM_UGID_MAX::/:NOLOGIN
|
D | test-2.expected-group | 2 u2:x:777:
|
D | test-10.input | 6 m u2 u1
|
D | test-2.expected-passwd | 2 u2:x:777:777:some gecos:/random/dir:/bin/zsh
|
D | test-2.input | 7 u u2 777 "some gecos" /random/dir /bin/zsh
|
/systemd-251/src/core/ |
D | manager.c | 2462 Unit *u1, *u2, **array; in manager_dispatch_notify_fd() local 2552 u2 = hashmap_get(m->watch_pids, PID_TO_PTR(ucred->pid)); in manager_dispatch_notify_fd() 2570 if (u2) { in manager_dispatch_notify_fd() 2571 manager_invoke_notify_message(m, u2, ucred, tags, fds); in manager_dispatch_notify_fd() 2635 Unit *u1, *u2, **array; in manager_dispatch_sigchld() local 2652 u2 = hashmap_get(m->watch_pids, PID_TO_PTR(si.si_pid)); in manager_dispatch_sigchld() 2680 if (u2) in manager_dispatch_sigchld() 2681 manager_invoke_sigchld_event(m, u2, &si); in manager_dispatch_sigchld()
|