Systemd/src/systemd
Lennart Poettering 8dd4c05b54 core: add support for naming file descriptors passed using socket activation
This adds support for naming file descriptors passed using socket
activation. The names are passed in a new $LISTEN_FDNAMES= environment
variable, that matches the existign $LISTEN_FDS= one and contains a
colon-separated list of names.

This also adds support for naming fds submitted to the per-service fd
store using FDNAME= in the sd_notify() message.

This also adds a new FileDescriptorName= setting for socket unit files
to set the name for fds created by socket units.

This also adds a new call sd_listen_fds_with_names(), that is similar to
sd_listen_fds(), but also returns the names of the fds.

systemd-activate gained the new --fdname= switch to specify a name for
testing socket activation.

This is based on #1247 by Maciej Wereski.

Fixes #1247.
2015-10-06 11:52:48 +02:00
..
_sd-common.h src/systemd: fix grammar and spelling errors in comments 2014-03-25 20:23:33 +01:00
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
sd-bus-protocol.h sd-bus: add support for new InteractiveAuthorizationRequired error from dbus spec 2014-10-28 14:59:48 +01:00
sd-bus-vtable.h sd-bus: introduce new SD_BUS_VTABLE_PROPERTY_EXPLICIT flag 2015-08-25 01:50:59 +02:00
sd-bus.h sd-bus: add sd_bus_path_{encode,decode}_many() 2015-09-26 16:57:23 +02:00
sd-daemon.h core: add support for naming file descriptors passed using socket activation 2015-10-06 11:52:48 +02:00
sd-device.h sd-device: enumerator - match only on initialized devices by default 2015-04-17 14:16:16 +02:00
sd-dhcp-client.h sd-dhcp: fix namespacing 2015-09-22 14:46:21 +02:00
sd-dhcp-lease.h dhcp: clean up dhcp4 lease object 2015-08-27 01:05:13 +02:00
sd-dhcp-server.h sd-dhcp-server: simplify pool creation 2015-08-31 21:34:58 +02:00
sd-dhcp6-client.h sd-dhcp6: fix namespacing 2015-09-22 14:52:23 +02:00
sd-dhcp6-lease.h sd-dhcp6: Add support for DHCPv6 NTP Server Option 2015-08-21 11:23:22 +03:00
sd-event.h sd-event: rename PASSIVE/PREPARED to INITIAL/ARMED 2015-03-14 12:17:24 +01:00
sd-hwdb.h hwdb: fix dangling 'else' ambuguity 2014-12-12 09:43:54 +01:00
sd-icmp6-nd.h sd-icmp6-nd: fix namespacing 2015-09-22 15:01:55 +02:00
sd-id128.h id128: add new sd_id128_is_null() call 2015-02-24 17:27:53 +01:00
sd-ipv4acd.h sd-ipv4acd: fix namespacing 2015-09-22 15:05:35 +02:00
sd-ipv4ll.h sd-ipv4ll: fix namespacing 2015-09-22 15:08:28 +02:00
sd-journal.h journal: fix dangling 'else' ambiguity 2014-12-12 09:52:06 +01:00
sd-lldp.h lldp: add support for organizationally specific TLVs 2015-10-02 17:39:22 +02:00
sd-login.h sd-login: minor header commenting improvements 2015-09-05 14:56:23 +02:00
sd-messages.h log: move log_syntax() into src/shared/log.c, and make it more similar to the other log functions 2015-04-21 17:43:55 +02:00
sd-netlink.h sd-rtnl: introduce new API to set the NL header flags 2015-10-05 09:43:29 +05:30
sd-network.h dhcp,network: implement RFC 4833 (DHCP Timezone option) 2015-08-26 20:44:20 +02:00
sd-path.h path: add new "systemd-path" utility for querying paths described in file-hierarchy(7) 2014-07-02 12:23:36 +02:00
sd-pppoe.h sd-pppoe: fix namespacing 2015-09-22 15:09:58 +02:00
sd-resolve.h sd-resolve: drop res_query() API 2015-08-27 20:47:13 +02:00
sd-utf8.h bus: export utf8 validator calls as pure functions 2013-11-12 00:12:44 +01:00