Home
last modified time | relevance | path

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

1234

/systemd-251/src/test/
Dtest-sleep.c101 log_info("Standby configured: %s", yes_no(can_sleep_state(standby) > 0)); in TEST()
102 log_info("Suspend configured: %s", yes_no(can_sleep_state(mem) > 0)); in TEST()
103 log_info("Hibernate configured: %s", yes_no(can_sleep_state(disk) > 0)); in TEST()
104 … log_info("Hibernate+Suspend (Hybrid-Sleep) configured: %s", yes_no(can_sleep_disk(suspend) > 0)); in TEST()
105 log_info("Hibernate+Reboot configured: %s", yes_no(can_sleep_disk(reboot) > 0)); in TEST()
106 log_info("Hibernate+Platform configured: %s", yes_no(can_sleep_disk(platform) > 0)); in TEST()
107 log_info("Hibernate+Shutdown configured: %s", yes_no(can_sleep_disk(shutdown) > 0)); in TEST()
108 log_info("Freeze configured: %s", yes_no(can_sleep_state(freeze) > 0)); in TEST()
112 log_info("Suspend configured and possible: %s", r >= 0 ? yes_no(r) : strerror_safe(r)); in TEST()
114 log_info("Hibernation configured and possible: %s", r >= 0 ? yes_no(r) : strerror_safe(r)); in TEST()
[all …]
Dtest-uid-alloc-range.c73 log_info("uid_is_system("UID_FMT") = %s", uid, yes_no(uid_is_system(uid))); in TEST()
76 log_info("uid_is_system("UID_FMT") = %s", uid, yes_no(uid_is_system(uid))); in TEST()
79 log_info("uid_is_system("UID_FMT") = %s", uid, yes_no(uid_is_system(uid))); in TEST()
84 log_info("gid_is_system("GID_FMT") = %s", gid, yes_no(gid_is_system(gid))); in TEST()
87 log_info("gid_is_system("GID_FMT") = %s", gid, yes_no(gid_is_system(gid))); in TEST()
90 log_info("gid_is_system("GID_FMT") = %s", gid, yes_no(gid_is_system(gid))); in TEST()
Dtest-selinux.c20 log_info("mac_selinux_use → %s", yes_no(b)); in test_testing()
23 log_info("mac_selinux_use → %s", yes_no(b)); in test_testing()
28 log_info("mac_selinux_use → %s", yes_no(b)); in test_testing()
31 log_info("mac_selinux_use → %s", yes_no(b)); in test_testing()
Dtest-cgroup-setup.c25 log_info("is_unified_wanted() → %s", yes_no(cg_is_unified_wanted())); in test_is_wanted_print_one()
26 log_info("is_hybrid_wanted() → %s", yes_no(cg_is_hybrid_wanted())); in test_is_wanted_print_one()
27 log_info("is_legacy_wanted() → %s", yes_no(cg_is_legacy_wanted())); in test_is_wanted_print_one()
Dtest-btrfs.c28 log_info("read-only (search): %s", yes_no(info.read_only)); in main()
45 log_info("read-only (ioctl): %s", yes_no(r)); in main()
Dtest-stat-util.c100 s, r, r < 0 ? errno_to_name(r) : yes_no(r)); in TEST()
117 s, r, r < 0 ? errno_to_name(r) : yes_no(r)); in TEST()
Dtest-condition.c530 log_info("SELinux: %s", yes_no(mac_selinux_use())); in TEST()
531 log_info("AppArmor: %s", yes_no(mac_apparmor_use())); in TEST()
532 log_info("Tomoyo: %s", yes_no(mac_tomoyo_use())); in TEST()
533 log_info("IMA: %s", yes_no(use_ima())); in TEST()
534 log_info("SMACK: %s", yes_no(mac_smack_use())); in TEST()
535 log_info("Audit: %s", yes_no(use_audit())); in TEST()
536 log_info("UEFI secure boot: %s", yes_no(is_efi_secure_boot())); in TEST()
Dtest-blockdev-util.c20 log_info("%s encrypted: %s", p, yes_no(r)); in test_path_is_encrypted_one()
/systemd-251/src/fuzz/
Dfuzz-json.c36 log_debug("json_variant_is_sorted: %s", yes_no(sorted)); in LLVMFuzzerTestOneInput()
42 log_debug("json_variant_is_sorted: %s", yes_no(sorted)); in LLVMFuzzerTestOneInput()
46 log_debug("json_variant_is_normalized: %s", yes_no(normalized)); in LLVMFuzzerTestOneInput()
52 log_debug("json_variant_is_normalized: %s", yes_no(normalized)); in LLVMFuzzerTestOneInput()
59 log_debug("json_variant_is_negative: %s", yes_no(negative)); in LLVMFuzzerTestOneInput()
62 log_debug("json_variant_is_blank_object: %s", yes_no(blank)); in LLVMFuzzerTestOneInput()
65 log_debug("json_variant_is_blank_array: %s", yes_no(blank)); in LLVMFuzzerTestOneInput()
78 log_debug("json_variant_is_sensitive: %s", yes_no(sensitive)); in LLVMFuzzerTestOneInput()
83 log_debug("json_variant_is_sensitive: %s", yes_no(sensitive)); in LLVMFuzzerTestOneInput()
/systemd-251/src/shared/
Duser-record-show.c221 printf(" Removable: %s\n", yes_no(b)); in user_record_show()
250 printf(" Locked: %s\n", yes_no(hr->locked)); in user_record_show()
289 …printf("LUKS Discard: online=%s offline=%s\n", yes_no(user_record_luks_discard(hr)), yes_no(user_r… in user_record_show()
427 printf(" Passwd Pol.: %s\n", yes_no(hr->enforce_password_policy)); in user_record_show()
456 printf("Pas. Ch. Now: %s\n", yes_no(hr->password_change_now)); in user_record_show()
459 printf(" Drop Caches: %s\n", yes_no(user_record_drop_caches(hr))); in user_record_show()
497 printf(" Local Sig.: %s\n", yes_no(hr->signed_locally)); in user_record_show()
503 printf("Autom. Login: %s\n", yes_no(hr->auto_login)); in user_record_show()
506 printf(" Kill Proc.: %s\n", yes_no(hr->kill_processes)); in user_record_show()
Dfstab-util.h27 static inline bool fstab_test_yes_no_option(const char *opts, const char *yes_no) { in fstab_test_yes_no_option() argument
33 assert_se(fstab_filter_options(opts, yes_no, &opt, NULL, NULL, NULL) >= 0); in fstab_test_yes_no_option()
35 return opt == yes_no; in fstab_test_yes_no_option()
Dlibfido2-util.c161 log_debug("FIDO2 device implements option %s: %s", o[i], yes_no(b[i])); in verify_features()
181 yes_no(has_rk), in verify_features()
182 yes_no(has_client_pin), in verify_features()
183 yes_no(has_up), in verify_features()
184 yes_no(has_uv)); in verify_features()
Dserialize.h20 return serialize_item(f, key, yes_no(b)); in serialize_bool()
/systemd-251/src/core/
Dunit-serialize.c670 prefix, yes_no(unit_may_gc(u)), in unit_dump()
671 prefix, yes_no(unit_need_daemon_reload(u)), in unit_dump()
672 prefix, yes_no(u->transient), in unit_dump()
673 prefix, yes_no(u->perpetual), in unit_dump()
692 prefix, yes_no(u->cgroup_realized)); in unit_dump()
782 prefix, yes_no(u->condition_result)); in unit_dump()
789 prefix, yes_no(u->assert_result)); in unit_dump()
833 prefix, yes_no(u->stop_when_unneeded), in unit_dump()
834 prefix, yes_no(u->refuse_manual_start), in unit_dump()
835 prefix, yes_no(u->refuse_manual_stop), in unit_dump()
[all …]
Dkill.c35 prefix, yes_no(c->send_sigkill), in kill_context_dump()
36 prefix, yes_no(c->send_sighup)); in kill_context_dump()
Dtimer.c254 prefix, yes_no(t->persistent), in timer_dump()
255 prefix, yes_no(t->wake_system), in timer_dump()
257 prefix, yes_no(t->remain_after_elapse), in timer_dump()
258 prefix, yes_no(t->fixed_random_delay), in timer_dump()
259 prefix, yes_no(t->on_clock_change), in timer_dump()
260 prefix, yes_no(t->on_timezone_change)); in timer_dump()
Dexecute.c3680 …n_bind_mounts, context->n_temporary_filesystems, yes_no(root_dir), yes_no(root_image), yes_no(cont… in apply_mount_namespace()
5763 prefix, yes_no(c->non_blocking), in exec_context_dump()
5764 prefix, yes_no(c->private_tmp), in exec_context_dump()
5765 prefix, yes_no(c->private_devices), in exec_context_dump()
5766 prefix, yes_no(c->protect_kernel_tunables), in exec_context_dump()
5767 prefix, yes_no(c->protect_kernel_modules), in exec_context_dump()
5768 prefix, yes_no(c->protect_kernel_logs), in exec_context_dump()
5769 prefix, yes_no(c->protect_clock), in exec_context_dump()
5770 prefix, yes_no(c->protect_control_groups), in exec_context_dump()
5771 prefix, yes_no(c->private_network), in exec_context_dump()
[all …]
/systemd-251/src/udev/
Dtest-udev-event.c16 assert_se(setenv("SYSTEMD_PIDFD", yes_no(with_pidfd), 1) >= 0); in test_event_spawn_core()
30 log_debug("/* %s(%s) */", __func__, yes_no(with_pidfd)); in test_event_spawn_cat()
52 log_debug("/* %s(%s, %s) */", __func__, arg, yes_no(with_pidfd)); in test_event_spawn_self()
/systemd-251/src/libsystemd/sd-login/
Dtest-login.c122 log_info("sd_session_is_active(\"%s\") → %s", session, yes_no(r)); in TEST()
126 log_info("sd_session_is_remote(\"%s\") → %s", session, yes_no(r)); in TEST()
167 log_info("sd_session_can_multi_seat(\"%s\") → %s", seat, yes_no(r)); in TEST()
171 log_info("sd_session_can_tty(\"%s\") → %s", seat, yes_no(r)); in TEST()
175 log_info("sd_session_can_graphical(\"%s\") → %s", seat, yes_no(r)); in TEST()
/systemd-251/src/shutdown/
Dtest-umount.c31 yes_no(m->try_remount_ro), in test_mount_points_list_one()
65 yes_no(m->try_remount_ro), in test_swap_list_one()
/systemd-251/src/resolve/
Dresolved-dns-server.c1031 fputs(yes_no(dns_server_dnssec_supported(s)), f); in dns_server_dump()
1046 yes_no(s->packet_truncated), in dns_server_dump()
1047 yes_no(s->packet_bad_opt), in dns_server_dump()
1048 yes_no(s->packet_rrsig_missing), in dns_server_dump()
1049 yes_no(s->packet_invalid), in dns_server_dump()
1050 yes_no(s->packet_do_off)); in dns_server_dump()
/systemd-251/src/nspawn/
Dtest-nspawn-util.c15 saved_argv[1] ?: "Current installation", version, yes_no(r)); in TEST()
Dtest-patch-uid.c40 log_info("Changed: %s", yes_no(r)); in main()
/systemd-251/src/fstab-generator/
Dfstab-generator.c644 yes_no(makefs), yes_no(growfs), in parse_fstab()
645 yes_no(noauto), yes_no(nofail)); in parse_fstab()
/systemd-251/src/systemctl/
Dsystemctl-service-watchdogs.c27 printf("%s\n", yes_no(!!b)); in verb_service_watchdogs()

1234