[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnumach RPC: get info about the calling task

From: Joan Lledó
Subject: gnumach RPC: get info about the calling task
Date: Tue, 12 Oct 2021 14:33:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0


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

[Prev in Thread] Current Thread [Next in Thread]