[PATCH] replace: Fix developer build on BSD.

Andreas Schneider asn at samba.org
Tue Nov 19 10:14:24 MST 2013


This fixes bsd_attr_list() calling geteuid().

Signed-off-by: Andreas Schneider <asn at samba.org>
---
 lib/replace/xattr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/replace/xattr.c b/lib/replace/xattr.c
index 459b7f3b..ce52d1a 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"
-- 
1.8.4.3




More information about the samba-technical mailing list