From: Ronnie Sahlberg Date: Thu, 13 Mar 2014 02:31:20 +0000 (-0700) Subject: Set default uid/gid to 65534/nobody for ANDROID X-Git-Tag: upstream/1.9.6^2~81 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3af0c022374b0e73cb2f3cf88446517ffbbd6bab;p=deb_libnfs.git Set default uid/gid to 65534/nobody for ANDROID --- diff --git a/lib/init.c b/lib/init.c index 3c0c2de..36d4880 100644 --- a/lib/init.c +++ b/lib/init.c @@ -76,7 +76,7 @@ struct rpc_context *rpc_init_context(void) salt += 0x01000000; rpc->fd = -1; rpc->tcp_syncnt = RPC_PARAM_UNDEFINED; -#ifdef WIN32 +#if defined(WIN32) || defined(ANDROID) rpc->uid = 65534; rpc->gid = 65534; #else