Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx> Cc: containers@xxxxxxxxxxxxxxxxxxxxxxxxxx --- futex/pi.c | 4 ---- futex/plain.c | 4 ---- futex/robust.c | 4 ---- 3 files changed, 0 insertions(+), 12 deletions(-) diff --git a/futex/pi.c b/futex/pi.c index e06ddfb..595b9e7 100644 --- a/futex/pi.c +++ b/futex/pi.c @@ -558,10 +558,6 @@ int main(int argc, char **argv) pid_t finished; int i = 0, status = 0, excode; - if (!move_to_cgroup("freezer", "1", getpid())) { - printf("Failed to move myself to cgroup /1\n"); - exit(1); - } /* FIXME eventually stdio streams should be harmless */ close(0); logfp = fopen(LOG_FILE, "w"); diff --git a/futex/plain.c b/futex/plain.c index 5fef84d..bc7f50c 100644 --- a/futex/plain.c +++ b/futex/plain.c @@ -112,10 +112,6 @@ int main(int argc, char **argv) pid_t kids[N]; int i, num_killed = 0; - if (!move_to_cgroup("freezer", "1", getpid())) { - printf("Failed to move myself to cgroup /1\n"); - exit(1); - } /* FIXME eventually stdio streams should be harmless */ close(0); logfp = fopen(LOG_FILE, "w"); diff --git a/futex/robust.c b/futex/robust.c index f63b7d1..e703147 100644 --- a/futex/robust.c +++ b/futex/robust.c @@ -309,10 +309,6 @@ int main(int argc, char **argv) pid_t kids[N]; int i, excode = EXIT_FAILURE; - if (!move_to_cgroup("freezer", "1", getpid())) { - printf("Failed to move myself to cgroup /1\n"); - exit(1); - } /* FIXME eventually stdio streams should be harmless */ close(0); logfp = fopen(LOG_FILE, "w"); -- 1.5.6.3 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers