From: Cedric Le Goater <clg@fr.ibm.com>
To: Alexey Dobriyan <adobriyan@sw.ru>
Cc: akpm@osdl.org, devel@openvz.org, linux-kernel@vger.kernel.org,
serue@us.ibm.com
Subject: Re: [PATCH] userns: don't leak root user
Date: Thu, 23 Aug 2007 16:47:47 +0200 [thread overview]
Message-ID: <46CD9E13.6020006@fr.ibm.com> (raw)
In-Reply-To: <20070823092259.GB31289@localhost.sw.ru>
Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
> ---
>
> kernel/user_namespace.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/kernel/user_namespace.c
> +++ b/kernel/user_namespace.c
> @@ -81,6 +81,7 @@ void free_user_ns(struct kref *kref)
> struct user_namespace *ns;
>
> ns = container_of(kref, struct user_namespace, kref);
> + free_uid(ns->root_user);
> kfree(ns);
> }
Indeed ...
Thanks !
C.
next prev parent reply other threads:[~2007-08-23 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 9:22 [PATCH] userns: don't leak root user Alexey Dobriyan
2007-08-23 14:47 ` Cedric Le Goater [this message]
2007-08-23 16:46 ` Serge E. Hallyn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46CD9E13.6020006@fr.ibm.com \
--to=clg@fr.ibm.com \
--cc=adobriyan@sw.ru \
--cc=akpm@osdl.org \
--cc=devel@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=serue@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox