to special-case the simulator case all over the framework, just use getuid and getpid, and intercept those in the simulator wrapper.