Hello, About Your question, please do not ask. This infrastructure is an outcome of a very long talk with supervisors.
Back to the topic. I like the tricky part. Do You think there is some way to achieve this on compilation level or shall we search somewhere else? For example UNIX libraries or even change and recompile kernel?