lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 15 Mar 2010 13:54:15 +0100
From:	Dhaval Giani <dhaval.giani@...il.com>
To:	Dan Carpenter <error27@...il.com>,
	Dhaval Giani <dhaval.giani@...il.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Kay Sievers <kay.sievers@...y.org>,
	Ingo Molnar <mingo@...e.hu>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] sched: remove some dead code

On Mon, Mar 15, 2010 at 9:21 AM, Dan Carpenter <error27@...il.com> wrote:
> This was left over from "7c9414385e sched: Remove USER_SCHED"
>

Quite surprising I missed that. Thanks for catching it.

> Signed-off-by: Dan Carpenter <error27@...il.com>
>

Acked-by: Dhaval Giani <dhaval.giani@...il.com>

> diff --git a/kernel/user.c b/kernel/user.c
> index 766467b..ec3b222 100644
> --- a/kernel/user.c
> +++ b/kernel/user.c
> @@ -178,8 +178,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
>
>        return up;
>
> -       put_user_ns(new->user_ns);
> -       kmem_cache_free(uid_cachep, new);
>  out_unlock:
>        return NULL;
>  }
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists