Fix bug #9034 - Typo in set_re_uid() call when USE_SETRESUID selected in configure.
commitceed322622b46be3745b32a5f6a02e634bfe1789
authorJeremy Allison <jra@samba.org>
Wed, 11 Jul 2012 04:13:03 +0000 (10 21:13 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Jul 2012 17:26:56 +0000 (11 19:26 +0200)
tree8888ec698363924fd945516161d704bc99fb7c7d
parent3abaa9dd8a2af9497dfc6afd6f93a638956c1c3a
Fix bug #9034 - Typo in set_re_uid() call when USE_SETRESUID selected in configure.

Previous code only set the real euid, not the effective one. This is not a security issue
as this is *only* used in the quota code, and only between code that brackets
it with save_re_uid()/restore_re_uid(), Also this is not used on most platforms
(we use USE_SETREUID by preference) but it's better to have this right.
source3/lib/util_sec.c