Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271223AbTGWTEt (ORCPT ); Wed, 23 Jul 2003 15:04:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271210AbTGWTEA (ORCPT ); Wed, 23 Jul 2003 15:04:00 -0400 Received: from pizda.ninka.net ([216.101.162.242]:1685 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id S271223AbTGWTBt (ORCPT ); Wed, 23 Jul 2003 15:01:49 -0400 Date: Wed, 23 Jul 2003 12:14:36 -0700 From: "David S. Miller" To: Glenn Fowler Cc: gsf@research.att.com, dgk@research.att.com, linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: kernel bug in socketpair() Message-Id: <20030723121436.10d53965.davem@redhat.com> In-Reply-To: <200307231911.PAA35164@raptor.research.att.com> References: <200307231428.KAA15254@raptor.research.att.com> <20030723074615.25eea776.davem@redhat.com> <200307231656.MAA69129@raptor.research.att.com> <20030723100043.18d5b025.davem@redhat.com> <200307231724.NAA90957@raptor.research.att.com> <20030723103135.3eac4cd2.davem@redhat.com> <200307231814.OAA74344@raptor.research.att.com> <20030723112307.5b8ae55c.davem@redhat.com> <200307231854.OAA90112@raptor.research.att.com> <20030723120457.206dc02d.davem@redhat.com> <200307231911.PAA35164@raptor.research.att.com> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 856 Lines: 21 On Wed, 23 Jul 2003 15:11:47 -0400 (EDT) Glenn Fowler wrote: > On Wed, 23 Jul 2003 12:04:57 -0700 David S. Miller wrote: > > Is bash totally broken because of all this? Or does the problem only > > trigger when using (cmd) subprocesses in a certain way? > > bash uses pipe() so its ok > using socketpair() instead of pipe() introduces the problem > and we will now have to find an alternative to work around the > linux /dev/fd/N implementation I missed the reason why you can't use pipes and bash is able to, what is it? If it's the fchown() thing, why doesn't bash have this issue? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/