Sir,
I have almost fixed errors and configured valgrind to state where I think its time to start the porting of Mach traps and the RPC handler. My observation is that we need to handle mach traps in a way similar to what the other operating systems do theirs and RPCs using a new specific handler. Could you guide me through the process and exactly how these fit into valgrind?
Since we use RPCs in GNU Hurd, Will it be okay if we call them directly after we do the preprocessing valgrind does? Or should we make the call in a way it is implemented(using mach_msg_traps)? Reason why I felt this doubt is because in the implementation for other distributions, system calls are done using assembly code and not using glibc equivalents.