|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6] run QEMU as non-root
On Wed, 2015-07-01 at 13:50 +0100, Stefano Stabellini wrote:
> @@ -878,6 +908,33 @@ static char **
> libxl__build_device_model_args_new(libxl__gc *gc,
> default:
> break;
> }
> +
> + if (b_info->device_model_user) {
> + user = b_info->device_model_user;
> + if (libxl__dm_runas_helper(gc, user) <= 0)
> + user = NULL;
I think this case should be an error, rather than continuing and running
qemu as root.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |