Thread (38 messages) flat view 38 messages, 8 authors, 2016-09-19

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

From: Sergei Shtylyov <hidden>
Date: 2016-09-12 17:02:01
Also in: lkml

On 09/12/2016 05:55 PM, kan.liang@intel.com wrote:
From: Kan Liang <redacted>

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, which can be used to set and
retrieve policy of already running tasks. User can write the policy name
into /proc/$PID/net_policy to set per task net policy.

Signed-off-by: Kan Liang <redacted>
[...]

MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help