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?