diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-07 22:07:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-07 23:44:08 +0100 |
commit | b02cb41c78c61c27bf1432e19f241a3c3d47a419 (patch) | |
tree | 20047f6f239e5175baf6ed7d822acf49c25c782c /src/core/load-fragment.h | |
parent | 978553ce5e85a57a203be8256e59f304c8c46f3d (diff) |
conf-parse: don't accept invalid bus names as BusName= arguments in service units
Diffstat (limited to 'src/core/load-fragment.h')
-rw-r--r-- | src/core/load-fragment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/load-fragment.h b/src/core/load-fragment.h index 21e0871e8b..ce10d03c3f 100644 --- a/src/core/load-fragment.h +++ b/src/core/load-fragment.h @@ -103,6 +103,7 @@ int config_parse_no_new_privileges(const char *unit, const char *filename, unsig int config_parse_cpu_quota(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_protect_home(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_protect_system(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_bus_name(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); /* gperf prototypes */ const struct ConfigPerfItem* load_fragment_gperf_lookup(const char *key, unsigned length); |