[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Debugging execve problems]

From: Svante Signell
Subject: Re: [Fwd: Debugging execve problems]
Date: Sat, 07 Jan 2012 17:58:31 +0100

On Sat, 2012-01-07 at 15:48 +0100, Samuel Thibault wrote:
> Svante Signell, le Sat 07 Jan 2012 15:43:46 +0100, a écrit :

> > 2) How come execve calls a shell script works with . in PATH?
> Sure they do, the problem is not there, but in the value of $0.

Well when running the test.{c,sh} program under GNU/Linux $0 is test.sh,
with and without having . in PATH. Sorry for being thick-headed you have
not given me an understandable explanation.

> > 3) How come other architectures don't have this problem, and only Hurd
> > has? 
> Because Hurd is not Unix.

Sorry, Samuel, I don't consider the above an answer. Obviously other
architectures have been able to solve this problem without introducing a
new RPC. What makes it so hard on GNU/Hurd, is it the microkernel
architeture?? And how has Apple solved such problems in their mix of
monolitic/micro architecture?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]