On Mon, 14 Feb 2000, Anton Ivanov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> [snip]
>
> Sorry for being dumb, but:
> 1. Ain't the practice of writing over your args (though widely accepted) bad as
> an idea. So the kernel should not care and actually ignore the misbehaving
> programs.
>
> 2. It seems more reasonable to move set_progname from libpub into glibc, make
> it a standard and make it operate via proc. And let it be the legal way of
> changing things. If you want to change the progname you have a valid interface,
> why mess with argv.
I do fully agree with 2. setproctitle() must be a standard glibc function,
like it is, e.g. in FreeBSD. But having this mess which we are witness of,
can you imagine how such a function could work? With a current kernels I
can't :((
===========================================================================
Sergey Kubushin aka the Tamer < > The impossible we do immediately.
e-mail: ksi@ksi-linux.com SK320-RIPE < > Miracles require 24-hour notice.
===========================================================================
-
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 Feb 15 2000 - 21:00:28 EST