summaryrefslogtreecommitdiff
path: root/src/core/load-fragment-gperf.gperf.in
diff options
context:
space:
mode:
authorMauricio Vásquez <mauricio@kinvolk.io>2021-01-21 11:19:07 -0500
committerMauricio Vásquez <mauricio@kinvolk.io>2021-08-18 15:55:53 -0500
commit4f0c25c794cdf417437db4ec9b787cc409331627 (patch)
tree1fbf44c142dd2cf13f0fce3896a588c51398d5ab /src/core/load-fragment-gperf.gperf.in
parent6f50d4f7d6406648232c8cc121ec3f9ea969de1c (diff)
downloadsystemd-4f0c25c794cdf417437db4ec9b787cc409331627.tar.gz
core: add load fragment implementation for RestrictNetworkInterfaces=
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
Diffstat (limited to 'src/core/load-fragment-gperf.gperf.in')
-rw-r--r--src/core/load-fragment-gperf.gperf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/load-fragment-gperf.gperf.in b/src/core/load-fragment-gperf.gperf.in
index 96507907f6..489841af7a 100644
--- a/src/core/load-fragment-gperf.gperf.in
+++ b/src/core/load-fragment-gperf.gperf.in
@@ -233,6 +233,7 @@
{{type}}.BPFProgram, config_parse_bpf_foreign_program, 0, offsetof({{type}}, cgroup_context)
{{type}}.SocketBindAllow, config_parse_cgroup_socket_bind, 0, offsetof({{type}}, cgroup_context.socket_bind_allow)
{{type}}.SocketBindDeny, config_parse_cgroup_socket_bind, 0, offsetof({{type}}, cgroup_context.socket_bind_deny)
+{{type}}.RestrictNetworkInterfaces, config_parse_restrict_network_interfaces, 0, offsetof({{type}}, cgroup_context)
{%- endmacro -%}
%{