From 14858acba570e567330f9e0300ceef44be486867 Mon Sep 17 00:00:00 2001 From: Hungming Chen Date: Wed, 5 Feb 2020 15:10:42 +0800 Subject: [PATCH] Associate MAINLINE_NETWORK_STACK with net_raw and net_admin gid Provide network stack the permission to access eBPF maps for tethering offload Test: m Test: cat /proc//status of network_stack has net_raw (3004) and net_admin (3005) $ adb shell cat /proc//status | egrep "Name|Uid|Gid|Groups" Name: rkstack.process Uid: 1073 1073 1073 1073 Gid: 1073 1073 1073 1073 Groups: 1073 3001 3002 3003 3004 3005 3006 3007 9997 Change-Id: Ib3f6094e4c846832e44497466e3fed7dcd125593 --- data/etc/platform.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/etc/platform.xml b/data/etc/platform.xml index 65f784dbee832..b1fc81753f338 100644 --- a/data/etc/platform.xml +++ b/data/etc/platform.xml @@ -72,6 +72,11 @@ + + + + +