Commit:     99db67bc04af0f2e8cb710ac92aaeb9af135a7c6
Parent:     59845b1ffd9121e5ef474ea5f27405fd7a83c85b
Author:     Alexey Dobriyan <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 30 23:56:34 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Aug 31 01:42:23 2007 -0700

    userns: don't leak root user
    Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
    Acked-by: Cedric Le Goater <[EMAIL PROTECTED]>
    Acked-by: Serge Hallyn <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/user_namespace.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c
index d055d98..85af942 100644
--- 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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to