lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 28 Nov 2015 11:09:33 +0800
From:	Zefan Li <lizefan@...wei.com>
To:	Oleg Nesterov <oleg@...hat.com>, Aleksa Sarai <cyphar@...har.com>,
	Johannes Weiner <hannes@...xchg.org>, Tejun Heo <tj@...nel.org>
CC:	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/3] cgroup: fix race between cgroup_post_fork() and
 cgroup_migrate()

On 2015/11/28 2:57, Oleg Nesterov wrote:
> On 11/26, Oleg Nesterov wrote:
>>
>> OK. I do not know what exactly do you mean, perhaps if you fix this problem
>> the race between fork and attach goes away and in this case the fix I sent
>> is not needed?
>
> Otherwise please consider this series.
>
> Slightly tested, seems to work; please review.
>

Allowing tasks migrating between cgroups while forking is problematic. I'm more
than glad to see those changes.

Acked-by: Zefan Li <lizefan@...wei.com>

> Oleg.
>
>   include/linux/cgroup-defs.h   |   12 ++------
>   include/linux/cgroup.h        |   19 ++++---------
>   include/linux/cgroup_subsys.h |   18 ------------
>   kernel/cgroup.c               |   30 +++++----------------
>   kernel/cgroup_freezer.c       |    2 +-
>   kernel/cgroup_pids.c          |   58 +++++++---------------------------------
>   kernel/fork.c                 |   16 ++++-------
>   kernel/sched/core.c           |    2 +-
>   8 files changed, 34 insertions(+), 123 deletions(-)
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ