[PATCH 2/4] os-posix: refactor code handling the -runas argument

Eric Blake eblake at redhat.com
Fri Mar 4 17:19:44 UTC 2022


On Fri, Mar 04, 2022 at 11:56:55AM +0000, Daniel P. Berrangé wrote:
> Change the change_process_uid() function so that it takes its input as
> parameters instead of relying on static global variables.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  os-posix.c | 83 +++++++++++++++++++++++++-----------------------------
>  1 file changed, 39 insertions(+), 44 deletions(-)
>

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list