diff options
author | Matt Helsley <matthltc@us.ibm.com> | 2008-10-18 20:27:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 08:52:34 -0700 |
commit | 957a4eeaf4af614ab0fc4c09a22593d6ab233f5b (patch) | |
tree | 944d338890a2346ca1bd9cd78e01c659635bf085 /kernel/sysctl.c | |
parent | 5a06915c6df9b89cda5ddb3f8cce5f9a6be534d2 (diff) |
container freezer: prevent frozen tasks or cgroups from changing
Don't let frozen tasks or cgroups change. This means frozen tasks can't
leave their current cgroup for another cgroup. It also means that tasks
cannot be added to or removed from a cgroup in the FROZEN state. We
enforce these rules by checking for frozen tasks and cgroups in the
can_attach() function.
Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions