summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Redirect qtaguid native call to netd fwmark clientChenbo Feng2017-11-092-52/+15
| | | | | | | | | | | | | In order to replace qtaguid module with new eBPF network monitoring module. We firstly move the current qtaguid userspace implementation into netd and hide the detail from other processes. The current API will talk to netd fwmark client to pass down the qtaguid related request from high level framework and netd will use the proper method to complete the request. Test: Current TrafficStats CTS tests should not fail. Bug: 30950746 Change-Id: Ie90c28f3594ab2877746b2372a1b6944768bfb18
* Move qtaguid API out of libcutilsChenbo Feng2017-11-083-0/+298
The qtaguid kernel module will be deprecated on devices running 4.9 kernel or above and we need to support both old and new module in userspace. Netd is responsible for choosing which kernel module to use and all the current qtaguid native implementation need to be hided behind it. So the current qtaguid native API implementation will be moved to a isolate library under system/core and only netd can access to it. The libcutils qtaguid API will become a wrapper to send request to netd module. This modification will make sure the apps that currently using this native API will not be broken. Bug: 30950746 Test: All cts and vts test related should not fail. Change-Id: I9de98a25ed5dc71bbf520ee0aadd16d59025699a