Daniel P. Berrange 54b33cc986 Remove (nearly) all use of getuid()/getgid()
Most of the usage of getuid()/getgid() is in cases where we are
considering what privileges we have. As such the code should be
using the effective IDs, not real IDs.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 9b0af09240618184fea5884952941217e65b824f)
2013-10-30 11:51:37 +00:00
..
2013-10-30 11:49:39 +00:00
2013-07-29 13:09:39 -06:00
2013-03-19 13:13:28 -06:00
2013-02-12 09:00:15 -07:00
2013-10-30 11:49:39 +00:00