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

Re: [Xen-devel] [PATCH 2/9] libxl: Move dm user determination logic into a helper function



On Fri, Nov 23, 2018 at 05:14:55PM +0000, George Dunlap wrote:
> To reliably kill an untrusted devicemodel, we need to know not only
> its pid, but its uid.  In preparation for this, move the userid
> determination logic into a helper function.
> 
> Create a new field, `dm_runas`, in libxl__domain_build_state to store
> the value during domain creation.
> 
> This change also removes unnecessary duplication of the argument
> construction code.
> 
> No functional change intended.
> 
> Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxx>

As far as I can tell the code is correct:

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.