repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b25c3ae
)
Set default uid/gid to 65534/nobody for ANDROID
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 13 Mar 2014 02:31:20 +0000
(19:31 -0700)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 13 Mar 2014 02:31:20 +0000
(19:31 -0700)
lib/init.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/init.c
b/lib/init.c
index 3c0c2de46c2e7c7880b29420cce9f047ffcb4333..36d4880006d9f244b804fdf0a8b2631c2a220924 100644
(file)
--- 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;
-#if
def WIN32
+#if
defined(WIN32) || defined(ANDROID)
rpc->uid = 65534;
rpc->gid = 65534;
#else