19 lines
570 B
Diff
19 lines
570 B
Diff
|
lib/misc/idLinux.c: add uClibc support
|
||
|
|
||
|
uClibc does not have a secure_getenv function, so we use the
|
||
|
Android method.
|
||
|
|
||
|
Signed-off-by: Karoly Kasza <kaszak@gmail.com>
|
||
|
|
||
|
--- open-vm-tools-9.10.0-2476743.orig/lib/misc/idLinux.c 2015-03-29 12:19:30.776922510 +0200
|
||
|
+++ open-vm-tools-9.10.0-2476743/lib/misc/idLinux.c 2015-03-29 12:30:30.000000000 +0200
|
||
|
@@ -997,7 +997,7 @@
|
||
|
static Bool
|
||
|
IdIsSetUGid(void)
|
||
|
{
|
||
|
-#if defined(__ANDROID__)
|
||
|
+#if defined(__ANDROID__) || defined(__UCLIBC__)
|
||
|
/* Android does not have a secure_getenv, so be conservative. */
|
||
|
return TRUE;
|
||
|
#else
|