[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] limited support for non-root mlock()
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] limited support for non-root mlock() |
Date: |
Wed, 8 Jul 2015 18:22:56 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Wed 08 Jul 2015 16:22:28 +0200, a écrit :
> Alternatively, you could re-purpose the existing RPC `vm_wire',
> changing the type of its first argument from `host_priv_t' to `host_t'
> (this is backwards compatible as the privileged host control port is
> also a host port), and changing the behavior slightly depending on
> whether the user passed the priv port or a normal host port.
Ok, so it'd look like this? (I can't reuse the intran, since the
obtained host_t is the same in non-priv and priv cases).
Samuel
gnumach.diff
Description: Text document