Fix bug #9034 - Typo in set_re_uid() call when USE_SETRESUID selected in configure.
authorJeremy Allison <jra@samba.org>
Wed, 11 Jul 2012 04:13:03 +0000 (21:13 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Jul 2012 17:28:44 +0000 (19:28 +0200)
commita224e4cc1dbb2578813ccffb80e88d9ec92516ce
tree9d22cc79fb9aa3f6199556fa06b92bd4274c830f
parent4c8fdb5ce7ad0d966b3de23a1052191645b6635b
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.
(cherry picked from commit ceed322622b46be3745b32a5f6a02e634bfe1789)
source3/lib/util_sec.c