2015-03-29 18:59:20 +02:00
|
|
|
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>
|
|
|
|
|
2015-06-17 10:22:08 +02:00
|
|
|
--- openvmtools-stable-9.10.0.orig/open-vm-tools/lib/misc/idLinux.c 2015-06-17 10:04:00.000000000 +0200
|
|
|
|
+++ openvmtools-stable-9.10.0/open-vm-tools/lib/misc/idLinux.c 2015-06-17 10:04:00.000000000 +0200
|
2015-03-29 18:59:20 +02:00
|
|
|
@@ -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
|