Changing argv[0] under Linux.
A message that is not in the archive (sent off-list or not yet received): 20030116130013.GE1358@DervishD
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Tethys :)
Quoted 2 lines
Quoted 1 line
See the previous messages. I want to avoid mounting /proc.
Yes, I'd read them, but obviously missed the need to avoid /proc.
Let's say that there is no need to avoid /proc, but things like
those must be the last resort, because the problems they introduce are bigger than the problem they help to solve :)
Quoted 3 lines
I assume the idea behind this is for some very low memory embedded device. Sounds interesting (and actually, one of the few legitimate reasons I've seen for wanting to override argv[0]!).
Yes, vcinit was designed for a reduced embedded device. And it
was very interesting (well, at first...) but now the work rests in the heaven of abandonware ;)))
Quoted 2 lines
Without /proc, I can't think of any easy way of doing it, short of wading through
/dev/kmem:-)
Ouch! ;)))
Raúl