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>
Thu, 26 Jul 2012 18:08:23 +0000 (20:08 +0200)
commit20c85976db84a49ab13e057f51b10597c133a649
tree49f2b83f11c1e2dd297c98460fc7cbaa6015b580
parent56920545d803cd7d51133f2860c7249e597c6277
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)
(cherry picked from commit a224e4cc1dbb2578813ccffb80e88d9ec92516ce)
source3/lib/util_sec.c