]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment-gperf.gperf.m4
core:gperf: pass the exec_context struct directly to parse restrict namespaces
authorDjalal Harouni <tixxdz@opendz.org>
Mon, 14 Nov 2016 08:12:21 +0000 (09:12 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Tue, 15 Nov 2016 14:04:43 +0000 (15:04 +0100)
commitd6299d613f916e1d63ef81d6d277d4e98b8e8194
treef3dcf1f75c7851754484504334ecf03d9b377ad3
parent85265556807397546a4742609b5168d19aa0df96
core:gperf: pass the exec_context struct directly to parse restrict namespaces

The RestrictNamespaces= takes yes, no or a list of namespaces types,
therefor config_parse_restrict_namespaces() is a bit complex and it
operates on the ExecContext, fix this by passing the offset of
ExecContext directly otherwise restricting namespaces won't work.
src/core/load-fragment-gperf.gperf.m4