From: Alex Riesen Date: Wed, 24 Sep 2008 14:43:11 GMT Subject: Re: clone fails: Could not get the current working directory Message-ID: <81b0412b0809240743l4ef88c51o8aebc496ca16e7c4@mail.gmail.com> In-Reply-To: <48DA410A.2080504@cs.tamu.edu> 2008/9/24 John Freeman : > Alex Riesen wrote: >> >> General question: What does Sun's pwd do? > > It works like you'd expect. There are no permission problems. Even in > directories for which I don't have read access, it will show the path. No, not what it shows. What does it call? Which syscalls it uses so we can use them also. Or is /bin/pwd root-SUID?