diff options
author | Daniel Mack <zonque@gmail.com> | 2014-08-18 22:42:28 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-09-08 14:12:54 +0200 |
commit | 501996231293506a85bf4d610938a655ddc8cb92 (patch) | |
tree | dd6c77f27366216b0f553c3c798a1ca48bdd5ca5 /src/core/load-fragment-gperf.gperf.m4 | |
parent | e7d718afdb28b1049d382604e5e7bf1d213a8291 (diff) | |
download | systemd-501996231293506a85bf4d610938a655ddc8cb92.tar.gz |
bus: parse BusPolicy directive in service files
Add a new directive called BusPolicy to define custom endpoint policies. If
one such directive is given, an endpoint object in the service's ExecContext is
created and the given policy is added to it.
Diffstat (limited to 'src/core/load-fragment-gperf.gperf.m4')
-rw-r--r-- | src/core/load-fragment-gperf.gperf.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/load-fragment-gperf.gperf.m4 b/src/core/load-fragment-gperf.gperf.m4 index 24aa80d9ea..e764d68ce4 100644 --- a/src/core/load-fragment-gperf.gperf.m4 +++ b/src/core/load-fragment-gperf.gperf.m4 @@ -205,6 +205,9 @@ Service.NonBlocking, config_parse_bool, 0, Service.BusName, config_parse_unit_string_printf, 0, offsetof(Service, bus_name) Service.NotifyAccess, config_parse_notify_access, 0, offsetof(Service, notify_access) Service.Sockets, config_parse_service_sockets, 0, 0 +m4_ifdef(`ENABLE_KDBUS', +`Service.BusPolicy, config_parse_bus_endpoint_policy, 0, offsetof(Service, exec_context)', +`Service.BusPolicy, config_parse_warn_compat, 0, 0') EXEC_CONTEXT_CONFIG_ITEMS(Service)m4_dnl CGROUP_CONTEXT_CONFIG_ITEMS(Service)m4_dnl KILL_CONTEXT_CONFIG_ITEMS(Service)m4_dnl |