Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932827AbWJGUbJ (ORCPT ); Sat, 7 Oct 2006 16:31:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932828AbWJGUbJ (ORCPT ); Sat, 7 Oct 2006 16:31:09 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:51077 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S932827AbWJGUbD (ORCPT ); Sat, 7 Oct 2006 16:31:03 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Gabor Gombas Cc: Linus Torvalds , caszonyi@rdslink.ro, Linux Kernel Mailing List Subject: Re: Merge window closed: v2.6.19-rc1 References: <20061007182325.GA9185@boogie.lpds.sztaki.hu> Date: Sat, 07 Oct 2006 14:29:35 -0600 In-Reply-To: <20061007182325.GA9185@boogie.lpds.sztaki.hu> (Gabor Gombas's message of "Sat, 7 Oct 2006 20:23:25 +0200") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 18 Gabor Gombas writes: > On Fri, Oct 06, 2006 at 01:05:14PM -0600, Eric W. Biederman wrote: > >> That code if it gets -ENOSYS reads /proc/sys/kernel/version, >> and it has worked this way since the day it was written. > > What happens if /proc is not mounted (e.g. in a chrooted environment)? glibc decides we aren't a SMP system so it's mutex locks don't busy wait, and go to sleep immediately. Eric - 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/