From: Jeff D. <jd...@ka...> - 2001-09-18 21:57:24
|
mc...@sa... said: > But I didn't figure out where linux_prog was bashed. linux_prog isn't bashed. That buffer that UML re-execs itself with is bashed in arch/um/kernel/um_arch.c:set_cmdline(). You could fiddle that to stick in the umid if it was set... > Also, I suspect that many forks occur before any call to "hostname". UML doesn't use fork, it uses clone. And, the umid is probably better than the hostname anyway. > For now, I'll just symlink the executable several times to get > unique argv[0]... No need, just write up that patch and send it in... Jeff |