>> Im not sure about bug, but its certainly worth behaving the same way as
>> everyone else in this case if its appropriate to do so. Take a look at
>> the fs/binfmt* code and sure - send a patch
> IMO it's better be CONSISTENT. Either
> 1) argv[0] is always the same thing that was passed to execv
> or
> 2) argv[0] is always "realpath" to executable.
> Since in case of "real binary" we doing 1) IMNSHO we should do this in case
> of script as well...
Oops. Sorry, of course here natural thing is to use exactly what was fater
#! : execve() is such case sits deep in kernel and natural argument is of
course full speciafied name :-/
P.S. But limtation for just ONE additional argument looks ugly :-( Even if
it's like Unix always worked :-((
-
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/