commit | 9fd2ecdc8cb2dc1a8a7c57b6c9c60bc9947b6a73 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonini@redhat.com> | Thu Oct 11 14:20:23 2012 +0200 |
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Wed Dec 05 21:55:54 2012 +0530 |
tree | 8e35d3c982798e3165c9869ca98c3a99446a0717 | |
parent | 16c6c80ac3a772b42a87b77dfdf0fdac7c607b0e [diff] |
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>