From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: Q: check_unsafe_exec() races (Was: [PATCH 2/4] fix setuid sometimes doesn't) Date: Sun, 29 Mar 2009 05:14:12 +0100 Message-ID: <20090329041412.GG28946@ZenIV.linux.org.uk> References: <20090329005343.GA12139@redhat.com> <20090329041022.GF28946@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Hugh Dickins , Linus Torvalds , Andrew Morton , Joe Malicki , Michael Itz , Kenneth Baker , Chris Wright , David Howells , Alexey Dobriyan , Greg Kroah-Hartman , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Oleg Nesterov Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:36851 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750889AbZC2EPU (ORCPT ); Sun, 29 Mar 2009 00:15:20 -0400 Content-Disposition: inline In-Reply-To: <20090329041022.GF28946@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, Mar 29, 2009 at 05:10:22AM +0100, Al Viro wrote: > Frankly, I don't think we really care. Note that having several sub-threads > and doing execve() in one of them will kill the rest, so you really want > to do some kind of synchronization in userland, that is > to get something similar to reasonable > behaviour anyway.