lkml.org 
[lkml]   [1998]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] /proc filesystem bug in 2.1.125
From
Date
Mike Galbraith <mikeg@weiden.de> writes:

|> On Thu, 22 Oct 1998, Rik van Riel wrote:
|>
|> > On Thu, 22 Oct 1998, Mike Galbraith wrote:
|> > > On Thu, 22 Oct 1998, Vladimir V. Ivanov wrote:
|> > >
|> > > > Try the following in shell prompt just for checking:
|> > > > elis# cd /proc/1
|> > > > elis# /bin/pwd
|> > > > /bin/pwd: cannot get current directory
|> > > > elis#
|> > >
|> > > Is the version you're using doing something other than getcwd()?
|> > >
|> > > [root]:# cd /proc/1
|> > > [root]:# /bin/pwd
|> > > /proc/1
|> > > [root]:# /bin/pwd --version
|> > > pwd (GNU sh-utils) 1.16
|> >
|> > I have tested the same thing with pwd from GNU sh-utils
|> > 1.16, but it doesn't work on my system.
|> >
|> > Maybe it's a glibc/libc5 thing. I'm using glibc and
|> > I have a hunch Vladimir is too..
|>
|> I'm using glibc-2.0.98, and (double-check) the binary is glibc linked.

Note that glibc-2.0.98 uses the new getcwd syscall which works even if
some parent directory is inaccessible.

--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.052 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site