[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCI arbiter memory mapping
From: |
Sergey Bugaev |
Subject: |
Re: PCI arbiter memory mapping |
Date: |
Wed, 18 Aug 2021 01:13:49 +0300 |
On Tue, Aug 17, 2021 at 9:14 PM Joan Lledó <jlledom@mailfence.com> wrote:
> > The underlying question is getting the memory object of a given memory
> > range, like vm_region does.
>
> Yes, I see that could be useful. Is vm_region not workig for proxies?
>
> > We need to be careful since we don't want any process to be able to
> > get the memory object of any other process
>
> Is that not being checked yet? can I call vm_region to get another
> task's memory object now?
It doesn't matter whether it's another task or not, or whether it's a
proxy or not (in fact it will never be a proxy, but that doesn't
matter): you can no longer get the underlying memory object with
vm_region () — for, uh, obvious security reasons. It was a gnumach
extension anyway — vanilla Mach doesn't support that.
(Well in fact what actually changed is that gnumach at some point
allowed the use of "memory object name ports" in vm_map (), and now
once again doesn't. It never allowed you to get the actual memory
object.)
Sergey
- Re: PCI arbiter memory mapping, (continued)
- Re: PCI arbiter memory mapping, Samuel Thibault, 2021/08/16
- Re: PCI arbiter memory mapping, Sergey Bugaev, 2021/08/16
- Re: PCI arbiter memory mapping, Samuel Thibault, 2021/08/16
- Re: PCI arbiter memory mapping, Sergey Bugaev, 2021/08/16
- Re: PCI arbiter memory mapping, Samuel Thibault, 2021/08/16
- Re: PCI arbiter memory mapping, Joan Lledó, 2021/08/17
- Re: PCI arbiter memory mapping, Sergey Bugaev, 2021/08/17
- Re: PCI arbiter memory mapping, Joan Lledó, 2021/08/18
- Re: PCI arbiter memory mapping, Sergey Bugaev, 2021/08/18
- Re: PCI arbiter memory mapping, Joan Lledó, 2021/08/17
- Re: PCI arbiter memory mapping,
Sergey Bugaev <=
- Re: PCI arbiter memory mapping, Joan Lledó, 2021/08/18
- Re: PCI arbiter memory mapping, Sergey Bugaev, 2021/08/18
Re: PCI arbiter memory mapping, Samuel Thibault, 2021/08/09