bug-hurd
[Top][All Lists]
Advanced

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

Re: gnumach RPC: get info about the calling task


From: Samuel Thibault
Subject: Re: gnumach RPC: get info about the calling task
Date: Sat, 16 Oct 2021 17:54:15 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Sergey Bugaev, le sam. 16 oct. 2021 14:27:01 +0300, a ecrit:
> On Sat, Oct 16, 2021 at 12:38 PM Joan Lledó <jlledom@mailfence.com> wrote:
> > The new interface needs to know about proxies, and if one range has been 
> > mapped using a proxy, it must return the proxy and not the original object, 
> > which could be used to bypass the proxy protection, that's why I needed a 
> > way to lookup for used proxies from a task and an address.
> 
> I don't think it should *ever* return the original object back. I'd
> rather it always made a new proxy that internally references the
> object and caps max_protection to that of the region.

Indeed, since it's the region that remembers which protection was
allowed, we need a proxy there to enforce them.

Samuel



reply via email to

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