Home
last modified time | relevance | path

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

12345

/systemd-251/src/test/
Dtest-nss-hosts.c70 static void print_struct_hostent(struct hostent *host, const char *canon) { in print_struct_hostent() argument
71 log_info(" \"%s\"", host->h_name); in print_struct_hostent()
72 STRV_FOREACH(s, host->h_aliases) in print_struct_hostent()
74 STRV_FOREACH(s, host->h_addr_list) { in print_struct_hostent()
80 assert_se((unsigned) host->h_length == FAMILY_ADDRESS_SIZE(host->h_addrtype)); in print_struct_hostent()
81 memcpy(&u, *s, host->h_length); in print_struct_hostent()
82 r = in_addr_to_string(host->h_addrtype, &u, &a); in print_struct_hostent()
85 af_to_string(host->h_addrtype, family_name, sizeof family_name), in print_struct_hostent()
165 struct hostent host; in test_gethostbyname3_r() local
177 status = f(name, af, &host, buffer, sizeof buffer, &errno1, &errno2, &ttl, &canon); in test_gethostbyname3_r()
[all …]
/systemd-251/src/analyze/
Danalyze-plot.c74 _cleanup_(free_host_infop) HostInfo *host = NULL; in acquire_host_info()
77 host = new0(HostInfo, 1); in acquire_host_info()
78 if (!host) in acquire_host_info()
97 host); in acquire_host_info()
113 host); in acquire_host_info()
118 *hi = TAKE_PTR(host); in acquire_host_info()
182 _cleanup_(free_host_infop) HostInfo *host = NULL; in verb_plot()
205 n = acquire_host_info(bus, &host); in verb_plot()
306 if (host) in verb_plot()
308 isempty(host->os_pretty_name) ? "Linux" : host->os_pretty_name, in verb_plot()
[all …]
/systemd-251/src/basic/
Dnss-util.h26 struct hostent *host, \
34 struct hostent *host, \
39 struct hostent *host, \
47 struct hostent *host, \
54 struct hostent *host, \
62 struct hostent *host, \
68 host, \
76 struct hostent *host, \
85 host, \
94 host, \
[all …]
/systemd-251/shell-completion/zsh/
D_hostnamectl56 "icon-name:Get/set icon name for host"
57 "chassis:Get/set chassis type for host"
58 "deployment:Get/set deployment environment for host"
59 "location:Get/set location for host"
92 {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
D_systemd-nspawn28 '--private-network[Disconnect networking of the container from the host.]' \
32 {--network-veth,-n}'[Create a virtual Ethernet link (veth) between host and container.]' \
33 …'--network-bridge=[Adds the host side of the Ethernet link created with --network-veth to the spec…
34 {--port=,-p+}'[Expose a container IP port on the host.]: : _message port' \
39 …whether the container's journal shall be made visible to the host system.]:options:(no host guest …
42 '--bind=[Bind mount a file or directory from the host into the container.]: : _files' \
43 …'--bind-ro=[Bind mount a file or directory from the host into the container (read-only).]: : _file…
46 '--share-system[Allows the container to share certain system facilities with the host.]' \
D_machinectl38 "copy-to:Copy files from the host to a container"
39 "copy-from:Copy files from a container to the host"
40 "bind:Bind mount a path from the host into a container"
92 {-H+,--host=}'[Operate on remote host.]:userathost:_sd_hosts_or_user_at_host' \
D_systemd-run30 {-H+,--host=}'[Operate on remote host]:[user@]host:_sd_hosts_or_user_at_host' \
D_timedatectl65 {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
/systemd-251/src/shared/
Dbus-util.c272 const char *host, in bus_connect_transport() argument
283 assert_return((transport == BUS_TRANSPORT_LOCAL) == !host, -EINVAL); in bus_connect_transport()
301 r = sd_bus_open_system_remote(&bus, host); in bus_connect_transport()
306 r = sd_bus_open_user_machine(&bus, host); in bus_connect_transport()
308 r = sd_bus_open_system_machine(&bus, host); in bus_connect_transport()
325 int bus_connect_transport_systemd(BusTransport transport, const char *host, bool user, sd_bus **bus… in bus_connect_transport_systemd() argument
332 assert_return((transport == BUS_TRANSPORT_LOCAL) == !host, -EINVAL); in bus_connect_transport_systemd()
350 r = sd_bus_open_system_remote(bus, host); in bus_connect_transport_systemd()
354 r = sd_bus_open_system_machine(bus, host); in bus_connect_transport_systemd()
Dbus-util.h39 int bus_connect_transport(BusTransport transport, const char *host, bool user, sd_bus **bus);
40 int bus_connect_transport_systemd(BusTransport transport, const char *host, bool user, sd_bus **bus…
/systemd-251/docs/
DCONTAINER_INTERFACE.md27 to prevent the container from altering the host kernel's configuration
130 4. To allow applications to detect the OS version and other metadata of the host
132 the host's `/etc/os-release` and set a `$container_host_<key>=<VALUE>`
149 choose any path, but `/run/host/credentials` is recommended.
153 1. Consider syncing `/etc/localtime` from the host file system into the
157 container's `/etc/` from the host.
159 2. Make the container journal available in the host, by automatically
160 symlinking the container journal directory into the host journal directory.
162 container into the same dir of the host. Administrators can then
197 `/run/host/notify` below.)
[all …]
DPORTABLE_SERVICES.md32 host system, then behaving pretty much exactly like locally installed system
33 services. When "detached", these units are removed again from the host, leaving
63 code in a different, isolated environment from the host — like most containers
73 The primary focus use-case of "portable services" is to extend the host system
86 `foobar_0.7.23.raw`, then attaching the services to the host is as easy as:
130 the host file system root and with full privileges. The `strict` profile
164 compatible with the host.
184 (empty files are ok), they will be bind mounted from the host at runtime.
188 from the host.
207 /etc/resolv.conf # empty file to mount over with host's version
[all …]
DHACKING.md41 image for the host distro by default. It is sufficient to type `mkosi` in the
65 reuse the host's package cache. To do this, create a mkosi override file in
178 mkosi build container to avoid needing to build systemd on the host machine just to make clangd wor…
179 …hieve this, create a script with the following contents in systemd's project directory on the host:
205 the build image available on the host. mkosi supports this by setting the `IncludeDirectory` option…
216 host in the mkosi-clangd.sh script.
270 Next, make sure systemd-networkd is running on the host system so that it can configure the network…
271 connecting the host system to the container/VM spawned by mkosi. Once systemd-networkd is running, …
303 "/path/to/systemd/repo/directory/on/host/system/",
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-address.c12 const char *host, in test_one_address() argument
16 r = bus_set_address_system_remote(b, host); in test_one_address()
17 log_info("\"%s\" → %d, \"%s\"", host, r, strna(r >= 0 ? b->address : NULL)); in test_one_address()
/systemd-251/src/journal-remote/
Djournal-remote.c33 static int open_output(RemoteServer *s, Writer *w, const char* host) { in open_output() argument
46 assert(host); in open_output()
48 name = filename_escape(host); in open_output()
102 int journal_remote_get_writer(RemoteServer *s, const char *host, Writer **writer) { in journal_remote_get_writer() argument
113 assert(host); in journal_remote_get_writer()
114 key = host; in journal_remote_get_writer()
135 r = open_output(s, w, host); in journal_remote_get_writer()
Djournal-upload.c420 const char *host, *proto = ""; in setup_uploader() local
429 host = STARTSWITH_SET(url, "http://", "https://"); in setup_uploader()
430 if (!host) { in setup_uploader()
431 host = url; in setup_uploader()
435 if (strchr(host, ':')) in setup_uploader()
/systemd-251/src/nss-myhostname/
Dnss-myhostname.c317 struct hostent *host, in _nss_myhostname_gethostbyname3_r() argument
333 assert(host); in _nss_myhostname_gethostbyname3_r()
399 host, in _nss_myhostname_gethostbyname3_r()
413 struct hostent *host, in _nss_myhostname_gethostbyaddr2_r() argument
431 assert(host); in _nss_myhostname_gethostbyaddr2_r()
513 host, in _nss_myhostname_gethostbyaddr2_r()
/systemd-251/src/udev/
Dudev-builtin-path_id.c269 unsigned host, bus, target, lun; in handle_scsi_ata() local
276 if (sscanf(name, "%u:%u:%u:%u", &host, &bus, &target, &lun) != 4) in handle_scsi_ata()
309 int host, bus, target, lun; in handle_scsi_default() local
322 if (sscanf(name, "%d:%d:%d:%d", &host, &bus, &target, &lun) != 4) in handle_scsi_default()
375 host -= basenum; in handle_scsi_default()
377 path_prepend(path, "scsi-%u:%u:%u:%u", host, bus, target, lun); in handle_scsi_default()
/systemd-251/src/home/
Duser-record-util.c168 UserRecord *host, in user_record_reconcile() argument
185 assert(host); in user_record_reconcile()
189 if (!host->json || !embedded->json) in user_record_reconcile()
193 if (!(embedded->mask & host->mask & USER_RECORD_REGULAR)) in user_record_reconcile()
197 if (!user_record_compatible(host, embedded)) in user_record_reconcile()
207 if (host->last_change_usec != UINT64_MAX && in user_record_reconcile()
208 … (embedded->last_change_usec == UINT64_MAX || host->last_change_usec > embedded->last_change_usec)) in user_record_reconcile()
214 else if (host->last_change_usec == embedded->last_change_usec) { in user_record_reconcile()
219 …r = user_record_masked_equal(host, embedded, USER_RECORD_REGULAR|USER_RECORD_PRIVILEGED|USER_RECOR… in user_record_reconcile()
242 e = json_variant_by_key(host->json, "binding"); in user_record_reconcile()
[all …]
/systemd-251/shell-completion/bash/
Dmachinectl28 …ges --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; echo ".host") | \
39 … [ARG]='--host -H --kill-who -M --machine --property -p --signal -s --uid -E --setenv -n --lines
70 --host|-H)
Dsystemd-run39 … --timer-property --no-block --wait -G --collect --user --system -H --host -M --machine
47 --path-property --socket-property --timer-property -H --host -M --machine
96 -H|--host)
/systemd-251/src/libsystemd/sd-resolve/
Dtest-resolve.c42 static int getnameinfo_handler(sd_resolve_query *q, int ret, const char *host, const char *serv, vo… in getnameinfo_handler() argument
50 printf("Host: %s — Serv: %s\n", strna(host), strna(serv)); in getnameinfo_handler()
Dsd-resolve.c91 char *serv, *host; member
287 const char *host, in send_nameinfo_reply() argument
300 hl = host ? strlen(host)+1 : 0; in send_nameinfo_reply()
316 iov[1] = IOVEC_MAKE((void*) host, hl); in send_nameinfo_reply()
810 q->host = strndup((const char*) ni_resp + sizeof(NameInfoResponse), in handle_response()
812 if (!q->host) in handle_response()
1102 return q->getnameinfo_handler(q, q->ret, q->host, q->serv, q->userdata); in getnameinfo_done()
1153 free(q->host); in resolve_query_free()
/systemd-251/po/
Did.po124 msgstr "Setel nama host"
128 msgstr "Otentikasi diperlukan untuk menata nama host lokal."
132 msgstr "Setel nama host statik"
139 "Otentikasi diperlukan untuk menata nama host lokal yang dikonfigurasi "
140 "statik, maupun nama host cantik."
586 msgid "Log into the local host"
587 msgstr "Log masuk ke dalam host lokal"
590 msgid "Authentication is required to log into the local host."
591 msgstr "Otentikasi diperlukan untuk log masuk ke dalam host lokal."
604 msgid "Acquire a shell on the local host"
[all …]
Dit.po128 msgstr "Configura il nome host"
132 msgstr "Autenticazione richiesta per configurare il nome host locale."
136 msgstr "Configura il nome host statico"
143 "Autenticazione richiesta per configurare staticamente il nome host locale e "
144 "il nome host descrittivo."
635 msgid "Log into the local host"
636 msgstr "Accedi in un host locale"
639 msgid "Authentication is required to log into the local host."
640 msgstr "Autenticazione richiesta per accedere ad un host locale."
651 msgid "Acquire a shell on the local host"
[all …]

12345