search for: have_nam

Displaying 2 results from an estimated 2 matches for "have_nam".

Did you mean: have_na
2023 Mar 23
1
[libnbd PATCH v3 19/19] socket activation: set LISTEN_FDNAMES
On Thu, Mar 23, 2023 at 01:10:16PM +0100, Laszlo Ersek wrote: > When the user calls nbd_set_socket_activation_name before calling > nbd_connect_system_socket_activation, pass the name down to the server > through LISTEN_FDNAMES. This has no effect unless the new API has > been called to set the socket name to a non-empty string. > >
2023 Mar 24
4
[libnbd PATCH v3 19/19] socket activation: set LISTEN_FDNAMES
...ion of sd_listen_fds_with_names(): https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-daemon/sd-daemon.c Let me quote the function: > _public_ int sd_listen_fds_with_names(int unset_environment, char ***names) { > _cleanup_strv_free_ char **l = NULL; > bool have_names; > int n_names = 0, n_fds; > const char *e; > int r; > > if (!names) > return sd_listen_fds(unset_environment); > > e = getenv("LISTEN_FDNAMES"); > if (e) { > n_names = strv_spl...