1. 27 Sep, 2009 1 commit
  2. 23 Sep, 2009 2 commits
  3. 22 Sep, 2009 2 commits
    • David 'Digit' Turner's avatar
      Add pthread_mutex_lock_timeout_np · 3f56b7f6
      David 'Digit' Turner authored
      This is used to perform a mutex lock for a given amount of
      milliseconds before giving up. Using the _np prefix since this
      is absolutely not portable.
      
      Also remove a compiler warning in pthread_attr_getstackaddr
      3f56b7f6
    • David 'Digit' Turner's avatar
      Fix TLS access for ARMv6 and beyond. · 4a05d12c
      David 'Digit' Turner authored
      For performance reasons, we don't call the kernel helper. Instead, we directly
      access the TLS register on ARMv6 and higher. For ARMv5TE, keep using the hard-coded
      address populated by the kernel on each task switch.
      
      NOTE: Since we don't call the kernel helper, this must precisely match your
            kernel configuration. This is controlled by setting the ARCH_ARM_HAVE_TLS_REGISTER
            variable to 'true' in your board configuration file.
      4a05d12c
  4. 20 Sep, 2009 1 commit
  5. 15 Sep, 2009 1 commit
  6. 11 Sep, 2009 1 commit
  7. 09 Sep, 2009 3 commits
    • Android (Google) Code Review's avatar
      Merge change 24463 into eclair · 4e57cf3f
      Android (Google) Code Review authored
      * changes:
        Fix an infinite loop in time2sub.
      4e57cf3f
    • David 'Digit' Turner's avatar
      Fix an infinite loop in time2sub. · 2093d350
      David 'Digit' Turner authored
      The problem is that time_t is signed, and the original code relied on the
      fact that (X + c < X) in case of overflow for c >= 0. Unfortunately, this
      condition is only guaranteed by the standard for unsigned arithmetic, and
      the gcc 4.4.0 optimizer did completely remove the corresponding test from
      the code. This resulted in a missing boundary check, and an infinite loop.
      
      The problem is solved by testing explicitely for TIME_T_MIN and TIME_T_MAX
      in the loop that uses this.
      
      Also fix increment_overflow and long_increment_overflow which were buggy
      for exactly the same reasons.
      
      Note: a similar fix is needed for system/core/libcutils
      2093d350
    • Erik Gilling's avatar
      9e74f697
  8. 02 Sep, 2009 2 commits
  9. 30 Aug, 2009 1 commit
  10. 20 Aug, 2009 1 commit
  11. 19 Aug, 2009 1 commit
  12. 13 Aug, 2009 1 commit
  13. 08 Aug, 2009 1 commit
  14. 07 Aug, 2009 2 commits
  15. 05 Aug, 2009 2 commits
  16. 04 Aug, 2009 3 commits
  17. 03 Aug, 2009 2 commits
  18. 30 Jul, 2009 1 commit
  19. 29 Jul, 2009 2 commits
  20. 28 Jul, 2009 3 commits
    • Erik Gilling's avatar
      bionic/linker: keep track of opened libraries by basename · fde8642f
      Erik Gilling authored
      
      Prior to this change, the dynamic loader kept track of opened libraries
      either by their base name (i.e., libfoo.so instead of /system/lib/libfoo.so)
      when the shared library was loaded through the DT_NEEDED tag in an ELF header,
      or by whatever name was passed to dlopen(). This created a number of problems,
      among which:
      
      1. dlopen("libfoo.so") and dlopen("/path/to/libfoo.so") would open the same
      library twice;
      2. dlopen("/path/to/libfoo.so") and then dlopen("libbar.so"), where libbar.so
      depends on libfoo.so, would open libfoo.so twice.
      
      This patch makes the dynamic loader keep track of each loaded library by
      basename, which resolves the above ambiguity. The patch also enforces
      library lookup by base name, which means that it will refuse to load another
      library that has the same name.
      
      Thanks for the inspiration Iliyan.
      Signed-off-by: default avatarErik Gilling <konkers@android.com>
      Cc: Iliyan Malchev <malchev@google.com>
      fde8642f
    • Android (Google) Code Review's avatar
      Merge change 8281 into donut · 22b5eb85
      Android (Google) Code Review authored
      * changes:
        linker: remove newlines from DL_ERR so that dlerror works correctly
      22b5eb85
    • David 'Digit' Turner's avatar
      am 3773d35e: Make the DNS resolver accept domain names with an underscore. · 9cfb12e6
      David 'Digit' Turner authored
      Merge commit '3773d35e'
      
      * commit '3773d35e':
        Make the DNS resolver accept domain names with an underscore.
      9cfb12e6
  21. 27 Jul, 2009 1 commit
  22. 26 Jul, 2009 1 commit
  23. 25 Jul, 2009 1 commit
  24. 22 Jul, 2009 1 commit
  25. 21 Jul, 2009 2 commits
  26. 20 Jul, 2009 1 commit