Re: [PATCH] User namespaces: set of cleanups (v2)

From: Serge E. Hallyn
Date: Fri Oct 24 2008 - 15:33:35 EST


Quoting David Howells (dhowells@xxxxxxxxxx):
> Serge E. Hallyn <serue@xxxxxxxxxx> wrote:
>
> > I've just tested with David's plain creds-v3 tree
>
> Note the creds-v4 branch is now current. Is it worth me replacing that with a
> tree that just has a master branch to simplify things?

I saw it in your list of branches, but linux-next/Next/Trees still
listed v3 so i figured i should test against that.

> > - struct user_namespace *ns = current->nsproxy->user_ns;
> > + struct user_namespace *ns = current_user()->user_ns;
>
> current_user_ns() perchance?

Yes, thanks. (Of course that doesn't break anything so if the patch is
otherwise ok i've written down a note to send a follow-up patch)

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