there is also some library support for per-process data, that could now be used. see exec(2)