Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 25 of 25) sorted by relevance

/systemd-251/src/home/
Duser-record-pwquality.c38 STRV_FOREACH(pp, secret->password) { in user_record_quality_check_password()
41 r = test_password_many(hr->hashed_password, *pp); in user_record_quality_check_password()
50 if (streq(*pp, *old)) in user_record_quality_check_password()
59 r = sym_pwquality_check(pwq, *pp, *old, hr->user_name, &auxerror); in user_record_quality_check_password()
71 r = sym_pwquality_check(pwq, *pp, NULL, hr->user_name, &auxerror); in user_record_quality_check_password()
Dhomework-luks.c312 STRV_FOREACH(pp, passwords) { in luks_try_passwords()
320 *pp, in luks_try_passwords()
321 strlen(*pp)); in luks_try_passwords()
326 r = upload_to_keyring(h, *pp, ret_key_serial); in luks_try_passwords()
337 …_errno(r, "Password %zu didn't work for unlocking LUKS superblock: %m", (size_t) (pp - passwords)); in luks_try_passwords()
697 blkid_partition pp; in luks_validate() local
702 pp = blkid_partlist_get_partition(pl, i); in luks_validate()
703 if (!pp) in luks_validate()
706 if (id128_equal_string(blkid_partition_get_type_string(pp), GPT_USER_HOME) <= 0) in luks_validate()
709 if (!streq_ptr(blkid_partition_get_name(pp), label)) in luks_validate()
[all …]
Dhomework.c101 STRV_FOREACH(pp, cache->pkcs11_passwords) { in user_record_authenticate()
102 r = test_password_one(h->pkcs11_encrypted_key[n].hashed_password, *pp); in user_record_authenticate()
114 STRV_FOREACH(pp, cache->fido2_passwords) { in user_record_authenticate()
115 r = test_password_one(h->fido2_hmac_salt[n].hashed_password, *pp); in user_record_authenticate()
/systemd-251/src/basic/
Dmkdir.c194 _cleanup_free_ char *pp = NULL; in mkdir_p_root() local
199 pp = dirname_malloc(p); in mkdir_p_root()
200 if (!pp) in mkdir_p_root()
204 if (!(path_equal(pp, "/") || isempty(pp) || path_equal(pp, "."))) { in mkdir_p_root()
207 r = mkdir_p_root(root, pp, uid, gid, m); in mkdir_p_root()
219 … dfd = chase_symlinks_and_open(pp, root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC|O_DIRECTORY, NULL); in mkdir_p_root()
/systemd-251/src/udev/
Dudev-builtin-blkid.c134 blkid_partition pp; in find_gpt_root() local
138 pp = blkid_partlist_get_partition(pl, i); in find_gpt_root()
139 if (!pp) in find_gpt_root()
142 sid = blkid_partition_get_uuid(pp); in find_gpt_root()
146 label = blkid_partition_get_name(pp); /* returns NULL if empty */ in find_gpt_root()
148 stype = blkid_partition_get_type_string(pp); in find_gpt_root()
174 flags = blkid_partition_get_flags(pp); in find_gpt_root()
/systemd-251/src/shared/
Dbus-unit-procs.c43 const char *e, *pp; in add_cgroup() local
49 pp = strndupa_safe(path, e - path); in add_cgroup()
51 r = add_cgroup(cgroups, pp, false, &parent); in add_cgroup()
216 _cleanup_free_ char *pp = NULL; in dump_processes() local
235 pp = strjoin(prefix, special); in dump_processes()
236 if (!pp) in dump_processes()
239 r = dump_processes(cgroups, children[i]->cgroup_path, pp, n_columns, flags); in dump_processes()
Ddissect-image.c466 blkid_partition pp; in dissect_image() local
470 pp = blkid_partlist_get_partition(pl, i); in dissect_image()
471 if (!pp) in dissect_image()
474 pflags = blkid_partition_get_flags(pp); in dissect_image()
477 nr = blkid_partition_get_partno(pp); in dissect_image()
482 start = blkid_partition_get_start(pp); in dissect_image()
489 size = blkid_partition_get_size(pp); in dissect_image()
527 sid = blkid_partition_get_uuid(pp); in dissect_image()
533 stype = blkid_partition_get_type_string(pp); in dissect_image()
539 … label = blkid_partition_get_name(pp); /* libblkid returns NULL here if empty */ in dissect_image()
[all …]
Dinstall.c1712 const char *pp; in install_info_add_auto() local
1714 pp = prefix_roota(lp->root_dir, name_or_path); in install_info_add_auto()
1716 return install_info_add(ctx, NULL, pp, lp->root_dir, /* auxiliary= */ false, ret); in install_info_add_auto()
/systemd-251/src/sysctl/
Dsysctl.c182 _cleanup_free_ char *pp = NULL; in parse_file() local
188 r = search_and_fopen(path, "re", NULL, (const char**) CONF_PATHS_STRV("sysctl.d"), &f, &pp); in parse_file()
196 log_debug("Parsing %s", pp); in parse_file()
209 return log_error_errno(k, "Failed to read file '%s', ignoring: %m", pp); in parse_file()
236 log_syntax(NULL, LOG_WARNING, pp, c, 0, in parse_file()
262 log_debug("Overwriting earlier assignment of %s at '%s:%u'.", p, pp, c); in parse_file()
/systemd-251/src/modules-load/
Dmodules-load.c65 _cleanup_free_ char *pp = NULL; in apply_file() local
71 r = search_and_fopen_nulstr(path, "re", NULL, conf_file_dirs, &f, &pp); in apply_file()
79 log_debug("apply: %s", pp); in apply_file()
87 return log_error_errno(k, "Failed to read file '%s': %m", pp); in apply_file()
/systemd-251/src/binfmt/
Dbinfmt.c73 _cleanup_free_ char *pp = NULL; in apply_file() local
78 … r = search_and_fopen(filename, "re", NULL, (const char**) CONF_PATHS_STRV("binfmt.d"), &f, &pp); in apply_file()
86 log_debug("Applying %s…", pp); in apply_file()
94 return log_error_errno(k, "Failed to read file '%s': %m", pp); in apply_file()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-chat.c255 _cleanup_close_pair_ int pp[2] = { -1, -1 }; in client1() local
287 if (pipe2(pp, O_CLOEXEC|O_NONBLOCK) < 0) { in client1()
292 log_info("Sending fd=%d", pp[1]); in client1()
303 pp[1]); in client1()
310 if (read(pp[0], &x, 1) <= 0) { in client1()
Dbus-match.c910 struct bus_match_node *node, *pp; in bus_match_remove() local
924 pp = node->parent; in bus_match_remove()
928 while (pp) { in bus_match_remove()
929 node = pp; in bus_match_remove()
930 pp = node->parent; in bus_match_remove()
/systemd-251/test/TEST-06-SELINUX/
Dtest.sh53 image_install -o /usr/libexec/selinux/hll/pp # Fedora/RHEL/...
54 image_install -o /usr/lib/selinux/hll/pp # Debian/Ubuntu/...
/systemd-251/src/libsystemd/sd-login/
Dtest-login.c41 _cleanup_free_ char *pp = NULL, *qq = NULL, in TEST() local
82 sd_peer_get_session(pair[0], &pp); in TEST()
84 assert_se(streq_ptr(pp, qq)); in TEST()
/systemd-251/src/partition/
Drepart.c1784 LIST_FOREACH(partitions, pp, context->partitions) { in context_load_partition_table()
1785 last = pp; in context_load_partition_table()
1787 if (!sd_id128_equal(pp->type_uuid, ptid)) in context_load_partition_table()
1790 if (!pp->current_partition) { in context_load_partition_table()
1791 pp->current_uuid = id; in context_load_partition_table()
1792 pp->current_size = sz; in context_load_partition_table()
1793 pp->offset = start; in context_load_partition_table()
1794 pp->partno = partno; in context_load_partition_table()
1795 pp->current_label = TAKE_PTR(label_copy); in context_load_partition_table()
1797 pp->current_partition = p; in context_load_partition_table()
[all …]
/systemd-251/src/core/
Dexecute.c2342 _cleanup_free_ char *p = NULL, *pp = NULL; in setup_exec_directory() local
2380 pp = path_join(params->prefix[type], "private"); in setup_exec_directory()
2381 if (!pp) { in setup_exec_directory()
2387 r = mkdir_safe_label(pp, 0700, 0, 0, MKDIR_WARN_MODE); in setup_exec_directory()
2391 if (!path_extend(&pp, context->directories[type].items[i].path)) { in setup_exec_directory()
2397 r = mkdir_parents_label(pp, 0755); in setup_exec_directory()
2402 (laccess(pp, F_OK) < 0 && errno == ENOENT)) { in setup_exec_directory()
2410 exec_directory_type_to_string(type), p, pp); in setup_exec_directory()
2412 if (rename(p, pp) < 0) { in setup_exec_directory()
2419 r = mkdir_label(pp, context->directories[type].mode); in setup_exec_directory()
[all …]
Dcgroup.c2252 char *pp; in unit_attach_pid_to_cgroup_via_bus() local
2267 pp = path_startswith(u->cgroup_path, u->manager->cgroup_root); in unit_attach_pid_to_cgroup_via_bus()
2268 if (!pp) in unit_attach_pid_to_cgroup_via_bus()
2271 pp = strjoina("/", pp, suffix_path); in unit_attach_pid_to_cgroup_via_bus()
2272 path_simplify(pp); in unit_attach_pid_to_cgroup_via_bus()
2281 … NULL /* empty unit name means client's unit, i.e. us */, pp, 1, (uint32_t) pid); in unit_attach_pid_to_cgroup_via_bus()
Dunit.c595 _cleanup_free_ char *p = NULL, *pp = NULL; in unit_remove_transient() local
601 pp = dirname_malloc(p); /* Get the config directory from the drop-in directory */ in unit_remove_transient()
602 if (!pp) in unit_remove_transient()
606 if (!path_equal(u->manager->lookup_paths.transient, pp)) in unit_remove_transient()
/systemd-251/src/resolve/
Dresolved-dns-dnssec.c1708 const char *zone, *p, *pp = NULL, *wildcard; in dnssec_test_nsec3() local
1787 pp = p; in dnssec_test_nsec3()
1803 if (!pp) { in dnssec_test_nsec3()
1854 r = nsec3_hashed_domain_make(enclosure_rr, pp, zone, &next_closer_domain); in dnssec_test_nsec3()
/systemd-251/src/analyze/
Danalyze-security.c2929 _cleanup_free_ char *pp = NULL; in verb_security() local
2931 …tr("systemd-analyze-security.policy", "re", /*root=*/ NULL, CONF_PATHS_NULSTR("systemd"), &f, &pp); in verb_security()
2936 r = json_parse_file(f, pp, /*flags=*/ 0, &policy, &line, &column); in verb_security()
2938 … return log_error_errno(r, "[%s:%u:%u] Failed to parse JSON policy: %m", pp, line, column); in verb_security()
/systemd-251/src/sysusers/
Dsysusers.c1779 _cleanup_free_ char *pp = NULL; in read_config_file() local
1789 … r = search_and_fopen(fn, "re", arg_root, (const char**) CONF_PATHS_STRV("sysusers.d"), &rf, &pp); in read_config_file()
1798 fn = pp; in read_config_file()
/systemd-251/src/systemctl/
Dsystemctl-show.c2038 STRV_FOREACH(pp, arg_properties) in show_one()
2039 if (!set_contains(found_properties, *pp)) in show_one()
2040 log_debug("Property %s does not exist.", *pp); in show_one()
/systemd-251/src/tmpfiles/
Dtmpfiles.c3520 _cleanup_free_ char *pp = NULL; in read_config_file() local
3533 r = search_and_fopen(fn, "re", arg_root, (const char**) config_dirs, &_f, &pp); in read_config_file()
3543 log_debug("Reading config file \"%s\"…", pp); in read_config_file()
3544 fn = pp; in read_config_file()
/systemd-251/po/
Dfi.po193 msgstr "Määritä järjestelmän näppäimistöasetukset"
197 msgstr "Todennus vaaditaan järjestelmän näppäimistöasetusten määrittämiseksi."