"Khimenko Victor" <khim@sch57.msk.ru> said:
[...]
> No, we can not. argv[0] passed by execve system call can be different then
> argv[0] as it's seen by user program. In case of ELF and "gcc" language they
> are the same. But there are other languages exists, you know. Yes, you can
> cut tonsils over asshole if you have enough skills. But why not provide more
> natural way to do this if it's not hard ??
Agree. But _only_ if there is a real-world need, and it isn't terrible to
do. AFAIU, the relevant standards give _no_ way to change this, so there is
no overly pressing need either.
[...]
> What I really WAHT is ability to remove some arguments from my command line.
> Why ? Think about `mysql -P password` or other such things. Yes, you can just
> replace password with 'x' or '*' but sometimes more convenient way is to just
> remove password from argv array completely.
Security-through-hoping-my-machine-is-fast-enough-so-no-one-caches-it? ;-)
-- Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513- 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/
This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:22 EST