Re: [RFC V3 PATCH 22/26] net/netpolicy: set per task policy by proc

2016-09-12 Thread Sergei Shtylyov
On 09/12/2016 05:55 PM, kan.li...@intel.com wrote: From: Kan Liang Users may not want to change the source code to add per task net polic Policy? support. Or they may want to change a running task's net policy. prctl does not work for both cases. This patch adds an interface in /proc,

[RFC V3 PATCH 22/26] net/netpolicy: set per task policy by proc

2016-09-12 Thread kan . liang
From: Kan Liang Users may not want to change the source code to add per task net polic support. Or they may want to change a running task's net policy. prctl does not work for both cases. This patch adds an interface in /proc, which can be used to set and retrieve policy of already running tasks