(resending to fix xen-devel CC) Ross Lagerwall writes ("Re: [PATCH 7/8] os-posix: Provide new -runasid option"): > On 10/04/2017 05:18 PM, Ian Jackson wrote: > > - if (setuid(user_pwd->pw_uid) < 0) { > > + if (setuid(user_pwd ? user_pwd->pw_uid : user_gid) < 0) { > > fprintf(stderr, "Failed to setuid(%d)\n", user_pwd->pw_uid); > > exit(1); > > } > > This last one should be user_uid, not user_gid.
Thanks, fixed. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel