Re: [PATCH 1/1] user namespaces: add ns to user_struct (v3)

From: Serge E. Hallyn
Date: Thu Apr 03 2008 - 22:28:11 EST


Quoting Serge E. Hallyn (serue@xxxxxxxxxx):
> Hi Dave,
>
> does the following patch against 2.6.25-rc8 fix the problem
> with clone(CLONE_NEWUSER) failing when CONFIG_FAIR_USER_SCHED=y?

The patch I sent didn't zero out the kobject before doing
kbobject_init_and_add(), so that a kfree(kobj->name) during
the registration causes an occasional oops. The following patch
fixes that. Dave, please give it a shot and let me know.

thanks,
-serge