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

2022-03-04 Thread Eric Blake
On Fri, Mar 04, 2022 at 11:56:55AM +, 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é > --- > os-posix.c | 83 +

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

2022-03-04 Thread Daniel P . Berrangé
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é --- os-posix.c | 83 +- 1 file changed, 39 insertions(+), 44 deletions(-) diff -