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

Cyrill Gorcunov gorcunov at virtuozzo.com
Mon Feb 15 08:51:54 PST 2016


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.

> 
> 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