[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080510192509.GE13907@ZenIV.linux.org.uk>
Date: Sat, 10 May 2008 20:25:09 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: WANG Cong <xiyou.wangcong@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>, Andrew Morton <akpm@...l.org>,
WANG Cong <wangcong@...ux.org>
Subject: Re: [Patch 5/9] fs/binfmt_em86.c: fix resource leaks
On Thu, May 08, 2008 at 09:52:30PM +0800, WANG Cong wrote:
> ->load_binary()'s caller only frees resources which ->load_binary() applied
> when it succeeded, so ->load_binary() itself should free the resources on
> failure.
No, it should not. do_execve() will free them just fine.
--
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