aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-08-24 21:13:47 +0300
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-08-26 22:11:02 +0300
commit7e9162d8af55b4a74dc2288900daa3ba2277a4a1 (patch)
tree515c29e2e6dae1cec214a4e72f9ad5652954dbfe /meta-agl-bsp
parent02c7343c39f0f87d02b695279099782bde41eadf (diff)
linux: add netfilter.cfg fragment
Add netfilter.cfg fragment that initially enables CONFIG_NETFILTER_XT_MATCH_OWNER to allow connman's session-policy-local to route traffic based on user id. Bug-AGL: SPEC-2772 Change-Id: I7fb642790709aff9899d42250b1b15f77451361e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux-agl.inc3
-rw-r--r--meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg1
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
index e8be23c7c..17fe96dff 100644
--- a/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
+++ b/meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
@@ -92,3 +92,6 @@ KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/iiodevice.cfg"
SRC_URI_append = " file://rtc.cfg"
KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/rtc.cfg"
+# netfilter options
+SRC_URI_append = " file://netfilter.cfg"
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/netfilter.cfg"
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg
new file mode 100644
index 000000000..34be704c1
--- /dev/null
+++ b/meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg
@@ -0,0 +1 @@
+CONFIG_NETFILTER_XT_MATCH_OWNER=m