Blame view

buildroot/buildroot-2016.08.1/package/openvmtools/0004-uclibc_secure_getenv.patch 593 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  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>
  
  --- 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
  @@ -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