[libvirt] [PATCH 1/2] util: virFileOpenAs interprets -1 as current uid|gid

2012-01-12 Thread Laine Stump
[Oops. This is a prerequisite of the previous patch that I forgot to send. That patch should be 2/2 and this should be 1/2.] This just simplifies use of virFileOpenAs a bit - if you're in a place where you don't have access to a different uid|gid, just give -1. --- src/libxl/libxl_driver.c

Re: [libvirt] [PATCH 1/2] util: virFileOpenAs interprets -1 as current uid|gid

2012-01-12 Thread Eric Blake
On 01/12/2012 12:33 PM, Laine Stump wrote: [Oops. This is a prerequisite of the previous patch that I forgot to send. That patch should be 2/2 and this should be 1/2.] This just simplifies use of virFileOpenAs a bit - if you're in a place where you don't have access to a different uid|gid,