(resending, more competently this time) Daniel P. Berrange writes ("Re: [Qemu-devel] [PATCH 7/8] os-posix: Provide new -runasid option"): > Just use getpwuid() to get the "struct passwd *", then change_process_uid() > doesn't need any changes at all AFAICT.
See my comments in the commit message. There may be multiple passwd entries referring to a particular uid. I think in this area it would be better to expect the caller to be explicit, rather than taking getpwuid's notion of the first one. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel