[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e899649-d646-f4e8-87ce-6aa60d23e6e8@cogentembedded.com>
Date: Mon, 12 Sep 2016 20:01:50 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: kan.liang@...el.com, davem@...emloft.net,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Cc: jeffrey.t.kirsher@...el.com, mingo@...hat.com,
peterz@...radead.org, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net,
akpm@...ux-foundation.org, keescook@...omium.org,
viro@...iv.linux.org.uk, gorcunov@...nvz.org,
john.stultz@...aro.org, aduyck@...antis.com, ben@...adent.org.uk,
decot@...glers.com, fw@...len.de, alexander.duyck@...il.com,
daniel@...earbox.net, tom@...bertland.com, rdunlap@...radead.org,
xiyou.wangcong@...il.com, hannes@...essinduktion.org,
stephen@...workplumber.org, alexei.starovoitov@...il.com,
jesse.brandeburg@...el.com, andi@...stfloor.org
Subject: Re: [RFC V3 PATCH 22/26] net/netpolicy: set per task policy by proc
On 09/12/2016 05:55 PM, kan.liang@...el.com wrote:
> From: Kan Liang <kan.liang@...el.com>
>
> 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 <kan.liang@...el.com>
[...]
MBR, Sergei
Powered by blists - more mailing lists