The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / openvmtools / 0004-uclibc_secure_getenv.patch
1 lib/misc/idLinux.c: add uClibc support
2
3 uClibc does not have a secure_getenv function, so we use the
4 Android method.
5
6 Signed-off-by: Karoly Kasza <kaszak@gmail.com>
7
8 --- open-vm-tools-9.10.0-2476743.orig/lib/misc/idLinux.c        2015-03-29 12:19:30.776922510 +0200
9 +++ open-vm-tools-9.10.0-2476743/lib/misc/idLinux.c     2015-03-29 12:30:30.000000000 +0200
10 @@ -997,7 +997,7 @@
11  static Bool
12  IdIsSetUGid(void)
13  {
14 -#if defined(__ANDROID__)
15 +#if defined(__ANDROID__) || defined(__UCLIBC__)
16     /* Android does not have a secure_getenv, so be conservative. */
17     return TRUE;
18  #else