Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 10 Aug 2002 14:28:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 10 Aug 2002 14:28:38 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:33030 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sat, 10 Aug 2002 14:28:38 -0400 Date: Sat, 10 Aug 2002 11:33:10 -0700 (PDT) From: Linus Torvalds To: Jamie Lokier cc: Paul Larson , Hubertus Franke , Rik van Riel , Andries Brouwer , Andrew Morton , , Dave Jones , lkml Subject: Re: [PATCH] Linux-2.5 fix/improve get_pid() In-Reply-To: <20020810182317.A306@kushida.apsleyroad.org> Message-ID: 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: 796 Lines: 22 On Sat, 10 Aug 2002, Jamie Lokier wrote: > > Linus Torvalds wrote: > > Doing a simple strace shows that all the systems I have regular access to > > use the "getcwd()" system call anyway, which gets this right on /proc (and > > other filesystems that do not guarantee unique inode numbers) > > Oh dear -- what of programs that assume duplicate inode numbers are hard > links, and therefore assume the same contents will be found in each > duplicate? Well, anybody who tries to back up /proc with "tar" is in for some surprises anyway ;) Linus - 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/