summaryrefslogtreecommitdiffstats
path: root/lib/replace
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-11-19 18:14:24 +0100
committerJeremy Allison <jra@samba.org>2013-11-21 03:37:59 +0100
commit979d9dbbb709c99c77b02fbc7429a0d0472ac2f4 (patch)
tree0020fd550bcb47c3932134792f94b41dc0bc8fe4 /lib/replace
parent3baeca4fec7c6cc94bdf51544221d280a699fdbe (diff)
downloadsamba-979d9dbbb709c99c77b02fbc7429a0d0472ac2f4.tar.gz
samba-979d9dbbb709c99c77b02fbc7429a0d0472ac2f4.tar.xz
samba-979d9dbbb709c99c77b02fbc7429a0d0472ac2f4.zip
replace: Fix developer build on BSD.
This fixes bsd_attr_list() calling geteuid(). Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Nov 21 03:37:59 CET 2013 on sn-devel-104
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/xattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/xattr.c b/lib/replace/xattr.c
index 459b7f3b65d..ce52d1a581a 100644
--- a/lib/replace/xattr.c
+++ b/lib/replace/xattr.c
@@ -25,6 +25,7 @@
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#define UID_WRAPPER_NOT_REPLACE
#include "replace.h"
#include "system/filesys.h"
#include "system/dir.h"