Home
last modified time | relevance | path

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

12

/systemd-251/src/locale/
Dlocalectl.c33 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
59 if (arg_transport != BUS_TRANSPORT_LOCAL) in print_overridden_variables()
164 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_locale()
208 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_vconsole_keymap()
247 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_x11_keymap()
461 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
466 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
511 r = bus_connect_transport(arg_transport, arg_host, false, &bus); in run()
513 return bus_log_connect_error(r, arg_transport); in run()
/systemd-251/src/login/
Dloginctl.c48 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
310 if (arg_transport == BUS_TRANSPORT_REMOTE) in show_unit_cgroup()
542 if (arg_transport == BUS_TRANSPORT_LOCAL) in print_session_status_info()
676 if (arg_transport == BUS_TRANSPORT_LOCAL) { in print_seat_status_info()
948 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in activate()
993 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in kill_session()
1023 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in enable_linger()
1070 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in terminate_user()
1101 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in kill_user()
1140 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in attach()
[all …]
/systemd-251/src/mount/
Dmount-tool.c55 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
233 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
238 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
339 if (arg_user && arg_transport != BUS_TRANSPORT_LOCAL) in parse_argv()
348 if (arg_transport != BUS_TRANSPORT_LOCAL) in parse_argv()
356 if (arg_transport != BUS_TRANSPORT_LOCAL) { in parse_argv()
378 } else if (arg_transport == BUS_TRANSPORT_LOCAL) { in parse_argv()
401 if (arg_transport == BUS_TRANSPORT_LOCAL) { in parse_argv()
419 if (arg_discover && arg_transport != BUS_TRANSPORT_LOCAL) in parse_argv()
591 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in start_transient_mount()
[all …]
/systemd-251/src/timedate/
Dtimedatectl.c32 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
92 } else if (IN_SET(arg_transport, BUS_TRANSPORT_LOCAL, BUS_TRANSPORT_MACHINE)) { in print_status_info()
227 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_time()
251 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_timezone()
265 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_local_rtc()
289 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_ntp()
824 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in verb_ntp_servers()
856 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in verb_revert()
953 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
958 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
[all …]
/systemd-251/src/run/
Drun.c48 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
295 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
300 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
584 if (arg_user && arg_transport == BUS_TRANSPORT_REMOTE) in parse_argv()
588 if (arg_scope && arg_transport == BUS_TRANSPORT_REMOTE) in parse_argv()
600 if (arg_stdio != ARG_STDIO_NONE && arg_transport == BUS_TRANSPORT_REMOTE) in parse_argv()
1122 if (arg_transport == BUS_TRANSPORT_LOCAL) { in start_transient_service()
1134 } else if (arg_transport == BUS_TRANSPORT_MACHINE) { in start_transient_service()
1222 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in start_transient_service()
1461 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in start_transient_scope()
[all …]
/systemd-251/src/machine/
Dmachinectl.c72 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
432 if (arg_transport == BUS_TRANSPORT_REMOTE) in show_unit_cgroup()
592 if (arg_transport == BUS_TRANSPORT_LOCAL) in print_machine_status_info()
1049 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in kill_machine()
1090 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in terminate_machine()
1112 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in copy_files()
1159 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in bind_mount()
1306 if (!IN_SET(arg_transport, BUS_TRANSPORT_LOCAL, BUS_TRANSPORT_MACHINE)) in login_machine()
1310 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in login_machine()
1357 if (!IN_SET(arg_transport, BUS_TRANSPORT_LOCAL, BUS_TRANSPORT_MACHINE)) in shell_machine()
[all …]
/systemd-251/src/analyze/
Danalyze.c90 BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
121 r = bus_connect_transport(arg_transport, arg_host, user, bus); in acquire_bus()
128 return bus_connect_transport_systemd(arg_transport, arg_host, user, bus); in acquire_bus()
396 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
401 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
Danalyze-log-control.c15 return bus_log_connect_error(r, arg_transport); in verb_log_control()
Danalyze-time.c14 return bus_log_connect_error(r, arg_transport); in verb_time()
Danalyze.h23 extern BusTransport arg_transport;
Danalyze-service-watchdogs.c19 return bus_log_connect_error(r, arg_transport); in verb_service_watchdogs()
Danalyze-blame.c17 return bus_log_connect_error(r, arg_transport); in verb_blame()
Danalyze-dump.c41 return bus_log_connect_error(r, arg_transport); in verb_dump()
Danalyze-plot.c82 r = bus_connect_transport(arg_transport, arg_host, false, &system_bus); in acquire_host_info()
194 return bus_log_connect_error(r, arg_transport); in verb_plot()
/systemd-251/src/portable/
Dportablectl.c45 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
81 if (arg_transport != BUS_TRANSPORT_LOCAL) in determine_image()
220 r = bus_connect_transport(arg_transport, arg_host, false, bus); in acquire_bus()
222 return bus_log_connect_error(r, arg_transport); in acquire_bus()
848 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in attach_reattach_image()
922 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in detach_image()
1042 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in remove_image()
1080 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in read_only_image()
1099 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_limit()
1323 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
[all …]
/systemd-251/src/hostname/
Dhostnamectl.c30 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
408 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in set_simple_string_internal()
623 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
628 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
697 r = bus_connect_transport(arg_transport, arg_host, false, &bus); in run()
699 return bus_log_connect_error(r, arg_transport); in run()
/systemd-251/src/stdio-bridge/
Dstdio-bridge.c25 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
89 arg_transport = BUS_TRANSPORT_MACHINE; in parse_argv()
135 if (arg_transport == BUS_TRANSPORT_MACHINE) in run()
/systemd-251/src/systemctl/
Dsystemctl-util.c40 if (arg_transport != BUS_TRANSPORT_LOCAL) in acquire_bus()
52 … r = bus_connect_transport_systemd(arg_transport, arg_host, user, &buses[focus]); in acquire_bus()
54 r = bus_connect_transport(arg_transport, arg_host, user, &buses[focus]); in acquire_bus()
56 return bus_log_connect_error(r, arg_transport); in acquire_bus()
79 ask_password_agent_open_if_enabled(arg_transport, arg_ask_password); in ask_password_agent_open_maybe()
88 polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in polkit_agent_open_maybe()
Dsystemctl-start-unit.c248 if (arg_transport == BUS_TRANSPORT_REMOTE) { in make_extra_args()
251 } else if (arg_transport == BUS_TRANSPORT_MACHINE) { in make_extra_args()
255 assert(arg_transport == BUS_TRANSPORT_LOCAL); in make_extra_args()
Dsystemctl.c98 BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
708 arg_transport = BUS_TRANSPORT_REMOTE; in systemctl_parse_argv()
713 arg_transport = BUS_TRANSPORT_MACHINE; in systemctl_parse_argv()
930 if (arg_transport == BUS_TRANSPORT_REMOTE && arg_scope != LOOKUP_SCOPE_SYSTEM) in systemctl_parse_argv()
Dsystemctl.h83 extern BusTransport arg_transport;
Dsystemctl-switch-root.c21 if (arg_transport != BUS_TRANSPORT_LOCAL) in verb_switch_root()
Dsystemctl-is-system-running.c34 if (running_in_chroot() > 0 || (arg_transport == BUS_TRANSPORT_LOCAL && !sd_booted())) { in verb_is_system_running()
Dsystemctl-edit.c37 if (arg_transport != BUS_TRANSPORT_LOCAL) in verb_cat()
507 if (arg_transport != BUS_TRANSPORT_LOCAL) in verb_edit()
/systemd-251/src/home/
Dhomectl.c50 static BusTransport arg_transport = BUS_TRANSPORT_LOCAL; variable
111 r = bus_connect_transport(arg_transport, arg_host, false, bus); in acquire_bus()
113 return bus_log_connect_error(r, arg_transport); in acquire_bus()
793 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in authenticate_home()
1254 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in create_home()
1380 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in remove_home()
1553 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in update_home()
1711 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in passwd_home()
1806 (void) polkit_agent_open_if_enabled(arg_transport, arg_ask_password); in resize_home()
2520 arg_transport = BUS_TRANSPORT_REMOTE; in parse_argv()
[all …]

12