]> git.ipfire.org Git - thirdparty/libvirt.git/commit
new virSetUIDGID() utility function
authorLaine Stump <laine@laine.org>
Thu, 23 Dec 2010 06:44:02 +0000 (01:44 -0500)
committerLaine Stump <laine@laine.org>
Thu, 23 Dec 2010 21:48:26 +0000 (16:48 -0500)
commitd596c6dc9b64ca0c910a87127de72ed2ef47b692
treedcb65585b2bf180ff016151b0ff2db2e409e29cc
parent17e19adde20d8f7907161588aaeee21777fa4091
new virSetUIDGID() utility function

virSetUIDGID() sets both the real and effective group and user of the
process, and additionally calls initgroups() to assure that the
process joins all the auxiliary groups that the given uid is a member
of.
configure.ac
src/libvirt_private.syms
src/util/util.c
src/util/util.h