On Mon, 21 Jan 2008 20:57:34 -0300 Werner Almesberger <[EMAIL PROTECTED]> babbled:
> Carsten Haitzler wrote: > > copy-on-write tricks the maemo guys did with maemo-launcher (it's pure evil. > > they literally have a process pre-spawned that has done PARTs of the gtk > > init - everything that invovles reading config files, font info off disk > > etc. but not the x connection. then they basically message that and fork > > then dlopen() the final process and jump to main - i think they actually > > jump to a special maemo > > "undump" ? That basically "resumes" a core dump. no - they use dlopen() and dlsym() etc. to jump into executables after the fork (). but we could do this - store and early-stage coredump before any sockets/fd's are created... but then we'd need to store these cores too and have a nice way of finding them and restoring them... -- Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]>

