From 7e9162d8af55b4a74dc2288900daa3ba2277a4a1 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Sat, 24 Aug 2019 21:13:47 +0300 Subject: 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 --- meta-agl-bsp/recipes-kernel/linux/linux-agl.inc | 3 +++ meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg | 1 + 2 files changed, 4 insertions(+) create mode 100644 meta-agl-bsp/recipes-kernel/linux/linux/netfilter.cfg (limited to 'meta-agl-bsp/recipes-kernel') 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 -- cgit 1.2.3-korg