Linux-kernel mailing list archive 2000-07,: Re: #! and argv[0]: the path is removed before invoking the interpreter

# Re: #! and argv[0]: the path is removed before invoking the interpreter

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 16 Feb 2000 21:11:24 +0000 (GMT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Daniel.Egger@suse.de: "Re: PCMCIA still doesn't work for 2.3.46-pre2"
- Previous message: Q: "Re: #! and argv[0]: the path is removed before invoking the interpreter"
- In reply to: Kevin Layer: "#! and argv[0]: the path is removed before invoking the interpreter"
- Next in thread: Kevin Layer: "Re: #! and argv[0]: the path is removed before invoking the interpreter"

> I believe the behavior of #! on Solaris goes all the way back to BSD
> in of the early 80's. FreeBSD 3.0 behaves as Solaris does.
>
> I hope this considered a bug. If there willingness to take a patch for
> it, I might work on making the fix.

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

-
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/

- Next message: Daniel.Egger@suse.de: "Re: PCMCIA still doesn't work for 2.3.46-pre2"
- Previous message: Q: "Re: #! and argv[0]: the path is removed before invoking the interpreter"
- In reply to: Kevin Layer: "#! and argv[0]: the path is removed before invoking the interpreter"
- Next in thread: Kevin Layer: "Re: #! and argv[0]: the path is removed before invoking the interpreter"