[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.01.0909231642400.3303@localhost.localdomain>
Date: Wed, 23 Sep 2009 16:43:09 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Sebastian Andrzej Siewior <sebastian@...akpoint.cc>
cc: Neil Horman <nhorman@...driver.com>, linux-kernel@...r.kernel.org,
Rusty Russell <rusty@...tcorp.com.au>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Revert "kmod: fix race in usermodehelper code"
On Thu, 24 Sep 2009, Sebastian Andrzej Siewior wrote:
>
> The pach is wrong IMHO. UMH_WAIT_EXEC is called with VFORK what ensures
> that the child finishes prior returing back to the parent. No race. The patch
> makes it even worse because it does the thing it claims not do:
> - It calls ->complete() on UMH_WAIT_EXEC
> - the complete() callback may de-allocated subinfo
Yeah, I think you're right. That commit is bogus. Thanks for noticing.
Linus
--
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