Hi,

I'm working on the gnumach rpc to return a pager from a task and an address mapped in that task.

For security reasons I'd like to check if the calling task is the same as the one the given map belongs to. But I don't know how to do it.

In the rpc implementation, the function receives a vm_map_t parameter. How can I get the task from the vm_map_t? and how can I compare it with the calling task to check whether it's the same?

Reply via email to