Prev: [PATCH] sdio_uart: Use kfifo instead of the messy circ stuff
Next: [PATCH] kmemcheck: Test the full object in kmemcheck_is_obj_initialized()
From: Xiaotian Feng on 8 Feb 2010 06:10 On 08/14/2009 02:06 PM, James Morris wrote: > On Fri, 14 Aug 2009, Xiaotian Feng wrote: > >> In sel_make_bools, kernel allocates memory for bool_pending_names[i] >> with security_get_bools. So if we just free bool_pending_names, those >> memories for bool_pending_names[i] will be leaked. > > Thanks, applied and pushed to Linus. This patch is missing or dropped? I'm not seeing this patch until 2.6.33-rc7, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: James Morris on 8 Feb 2010 16:30
On Mon, 8 Feb 2010, Xiaotian Feng wrote: > On 08/14/2009 02:06 PM, James Morris wrote: > > On Fri, 14 Aug 2009, Xiaotian Feng wrote: > > > > > In sel_make_bools, kernel allocates memory for bool_pending_names[i] > > > with security_get_bools. So if we just free bool_pending_names, those > > > memories for bool_pending_names[i] will be leaked. > > > > Thanks, applied and pushed to Linus. > This patch is missing or dropped? I'm not seeing this patch until 2.6.33-rc7, > thanks. Not sure what happened to that -- I pushed it to Linus, but it's not in the tree for some reason. Now applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next -- James Morris <jmorris(a)namei.org> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |