[PATCH] replace: Fix developer build on BSD.
Jeremy Allison
jra at samba.org
Wed Nov 20 16:46:31 MST 2013
On Tue, Nov 19, 2013 at 06:14:24PM +0100, Andreas Schneider wrote:
> 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
LGTM. Pushed to autobuild.
More information about the samba-technical
mailing list