search for: sd_pid_notify_with_fd

Displaying 3 results from an estimated 3 matches for "sd_pid_notify_with_fd".

Did you mean: sd_pid_notify_with_fds
2023 Jan 31
2
[PATCH libnbd v2 3/4] generator: Add APIs to get/set the socket activation socket name
...+ "<= 32 characters"); > > I don't mind keeping us strict to start with and loosening it later if > someone demonstrates why it is needed. But systemd documents a larger > set of possible names: > > https://www.freedesktop.org/software/systemd/man/sd_pid_notify_with_fds.html > > FDNAME=? > > When used in combination with FDSTORE=1, specifies a name for the > submitted file descriptors. When used with FDSTOREREMOVE=1, > specifies the name for the file descriptors to remove. This name > is passed to the service during activati...
2023 Jan 31
1
[PATCH libnbd v2 3/4] generator: Add APIs to get/set the socket activation socket name
...on name should be " > + "<= 32 characters"); I don't mind keeping us strict to start with and loosening it later if someone demonstrates why it is needed. But systemd documents a larger set of possible names: https://www.freedesktop.org/software/systemd/man/sd_pid_notify_with_fds.html FDNAME=? When used in combination with FDSTORE=1, specifies a name for the submitted file descriptors. When used with FDSTOREREMOVE=1, specifies the name for the file descriptors to remove. This name is passed to the service during activation, and may be queried using sd...
2023 Jan 30
2
[PATCH libnbd v2 3/4] generator: Add APIs to get/set the socket activation socket name
To allow us to name the socket passed down to the NBD server when calling nbd_connect_systemd_socket_activation(3), we need to add the field to the handle and add access functions. --- generator/API.ml | 49 ++++++++++++++++++++++++++++++++++++++++++ lib/handle.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/internal.h | 1 + 3 files changed, 106 insertions(+) diff --git