]> git.proxmox.com Git - mirror_qemu.git/commitdiff
virtfs-proxy-helper: use setresuid and setresgid
authorPaolo Bonzini <pbonini@redhat.com>
Thu, 11 Oct 2012 12:20:23 +0000 (14:20 +0200)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 5 Dec 2012 16:25:54 +0000 (21:55 +0530)
The setfsuid and setfsgid system calls are obscure and they complicate
the error checking (that glibc's warn_unused_result "feature" forces
us to do).  Switch to the standard setresuid and setresgid functions.

Signed-off-by: Paolo Bonzini <pbonini@redhat.com
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

No differences found