]> git.proxmox.com Git - qemu.git/commit
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)
commit9fd2ecdc8cb2dc1a8a7c57b6c9c60bc9947b6a73
tree8e35d3c982798e3165c9869ca98c3a99446a0717
parent16c6c80ac3a772b42a87b77dfdf0fdac7c607b0e
virtfs-proxy-helper: use setresuid and setresgid

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>
fsdev/virtfs-proxy-helper.c