[Devel] [PATCH 3/3] net: do iptables restore in ve0
Andrey Vagin
avagin at virtuozzo.com
Tue Jul 25 09:48:27 MSK 2017
On Mon, Jul 24, 2017 at 11:37:52PM -0700, Stanislav Kinsburskiy wrote:
>
>
> 24 июля 2017 г. 7:12 PM пользователь Kirill Gorkunov <gorcunov at virtuozzo.com>
> написал:
>
> On Mon, Jul 24, 2017 at 07:09:39PM +0300, Stanislav Kinsburskiy wrote:
> >
> > Well, no. I don't like this defines.
> > And I don't think that pid has to be explicitly provided. At least for
> > ve0.
> > But frankly, I don't want to do it anyways.
>
> Man, it happened that cgroup interace works with pid ;)
>
>
> It doesn't matter.
> Do you see pid in this line:
> # ls /sys/fs/cgroup/ve/tasks
You don't understand the meaning of this pid:
echo $pid > /sys/fs/cgroup/ve/tasks
> ?
More information about the Devel
mailing list