2011/3/3 Brian Bockelman <[log in to unmask]>: >> Well, I don't really know your framework. > I think Chris's question is different: if the fork handlers are added at library load time, then we can't call XrdClientEnv::Put until *after* the fork handlers are already installed. > In other words: Chris is asking if it is possible to do what you describe without really hacking the linker. Oh, indeed. I misunderstood, sorry. The fork handlers are always installed. Whether they do anything or not is determined basing on the value of the env vars at the time. Lukasz