linux: add netfilter.cfg fragment 10/22210/3
authorMatt Ranostay <matt.ranostay@konsulko.com>
Sat, 24 Aug 2019 18:13:47 +0000 (21:13 +0300)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Mon, 26 Aug 2019 19:11:02 +0000 (22:11 +0300)
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>
meta-agl-bsp/recipes-kernel/linux/linux-agl.inc
meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg [new file with mode: 0644]

index e8be23c..17fe96d 100644 (file)
@@ -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 (file)
index 0000000..34be704
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_NETFILTER_XT_MATCH_OWNER=m