On Wed, Apr 28, 2010 at 02:57:47PM -0400, der Mouse wrote:
To wit: as far as I can tell, having been wading around in that code
recently, the only problem with what we have is that if the path
sent back by namei isn't absolute it needs a getcwd() stuck on the
front of it.
Is it
On Wed, Apr 21, 2010 at 05:40:57AM +, David Holland wrote:
On Thu, Apr 15, 2010 at 08:40:19AM +, David Holland wrote:
Wish we had working $ORIGIN...
We will fairly soon, I think... :-)
To wit: as far as I can tell, having been wading around in that code
recently, the only
On Apr 22, 5:02am, dholland-t...@netbsd.org (David Holland) wrote:
-- Subject: Re: $ORIGIN (was: Re: make: ensure ${.MAKE} works)
| I had convinced myself it was supposed to fail if it had to look
| outside the cache, but that's only true for the first step.
Correct. Or if someone removed
On Apr 21, 5:40am, dholland-t...@netbsd.org (David Holland) wrote:
-- Subject: $ORIGIN (was: Re: make: ensure ${.MAKE} works)
| On Thu, Apr 15, 2010 at 08:40:19AM +, David Holland wrote:
| Wish we had working $ORIGIN...
|
| We will fairly soon, I think... :-)
|
| To wit: as far as I
On Wed, Apr 21, 2010 at 08:58:31AM -0400, Christos Zoulas wrote:
| Is it reasonable to just do that? I don't think calling getcwd() from
| exec is going to cause locking problems, but it might be more overhead
| than we want to swallow.
The code that we have there works fine now, yamt
On Wed, Apr 21, 2010 at 01:22:12PM -0400, Christos Zoulas wrote:
| If you exec ../bin/foo, that's all namei will resolve or touch, and
| that's the string that'll come back from namei. If we want an absolute
| path out, it needs getcwd, either in exec or in namei... and in exec
| is
On Thu, Apr 15, 2010 at 08:40:19AM +, David Holland wrote:
Wish we had working $ORIGIN...
We will fairly soon, I think... :-)
To wit: as far as I can tell, having been wading around in that code
recently, the only problem with what we have is that if the path sent
back by namei isn't