[Devel] [PATCH rh7] ve: Add a handle to C/R aio ctx

Kirill Tkhai ktkhai at virtuozzo.com
Mon Feb 15 08:55:07 PST 2016



On 15.02.2016 19:51, Cyrill Gorcunov wrote:
> On Mon, Feb 15, 2016 at 07:33:07PM +0300, Kirill Tkhai wrote:
>>>
>>> Kirill, here is a moment I dont understand -- anyone can set aio tail?
>>> Should not we test for ve-is-super (pseudosuper) here?
>>
>> Tail is only a position, where a result of a next completed result is put.
>> If userspace makes something wrong, it just (possible) rewrites results
>> of previous requests. Do you think it's a problem?
> 
> Well... I guess it might have some potential misuse.

>misuse.

The first though was this is something from Checkhov :)

>>
>> I'm going to execute this from parasite code. Is it possible to upgrade
>> dumped process permittions to do that and then return it back?
> 
> We can setup @pseudosuper from ve0 (ie inside libvzctl) when start
> dumping and the turn it off.
> 


More information about the Devel mailing list