Permalink
Commits on Dec 19, 2011
  1. readdir: fix interface to kernel getdents64 function

    Issue:
      The kernel will pad the entry->d_reclen in a getdents64 call to a
      long-word boundary.  For very long records, this could exceed the
      size of a struct dirent. The mismatch in the size was causing error
      paranoid checking code in bionic to fail... thus causing an early
      "end" when reading the dirent structures from the kernel buffer.
    
    Test:
     ls
     mkdir abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstu
     ls
    
    Change-Id: I75d1f8e45e1655fdd7bac4a08a481d086f28073a
    Author: Bruce Beare <bruce.j.beare@intel.com>
    bjbeare committed with Jean-Baptiste Queru Aug 2, 2011
Commits on Dec 14, 2011
  1. Reconcile with ics-mr1-release

    Change-Id: I62bace5c4272d043a51d3f0f698556716838aa51
    The Android Open Source Project committed Dec 14, 2011
  2. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Dec 14, 2011
  3. am 94963af: update video/dsscomp.h

    * commit '94963af28e445384e19775a838a29e6a71708179':
      update video/dsscomp.h
    Erik Gilling committed with Android Git Automerger Dec 14, 2011
Commits on Dec 13, 2011
  1. update video/dsscomp.h

    Change-Id: I9da47f7fb7f34f9c4baa860bb767cb8fd4f8020c
    Signed-off-by: Erik Gilling <konkers@android.com>
    Erik Gilling committed Dec 13, 2011
Commits on Dec 10, 2011
  1. am af96d4d: x86: libc may use the gcc flags from TARGET_linux-x86.mk

    * commit 'af96d4dadc3f3d8466dbbeaf3a816e6871715fbc':
      x86: libc may use the gcc flags from TARGET_linux-x86.mk
    bjbeare committed with Android Git Automerger Dec 10, 2011
Commits on Dec 9, 2011
  1. x86: libc may use the gcc flags from TARGET_linux-x86.mk

    Change-Id: Iaf4d864d4b6fe388bd3c2d7c4d7d6e42aebb0d35
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    bjbeare committed Dec 9, 2011
  2. am 7d03c9c: pathconf: dead loop in bionic function __2_symlinks

    * commit '7d03c9cbcedb1dc7e3a8210ac0001120558ec6df':
      pathconf: dead loop in bionic function __2_symlinks
    bjbeare committed with Android Git Automerger Dec 9, 2011
  3. Reconcile with ics-mr1-release

    Change-Id: I0a43c4d104894fdde4eff9970bc78ed0aeb88ec2
    The Android Open Source Project committed Dec 9, 2011
  4. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Dec 9, 2011
Commits on Dec 8, 2011
  1. am bba5c31: update video/dsscomp.h

    * commit 'bba5c314b2420483e2c0e3e441bf54bda6935bc1':
      update video/dsscomp.h
    Erik Gilling committed with Android Git Automerger Dec 8, 2011
  2. update video/dsscomp.h

    Change-Id: Ic5f1c01add1f2adb5a09d05c94129f3dc9cc3f1f
    Signed-off-by: Erik Gilling <konkers@android.com>
    Erik Gilling committed Dec 8, 2011
  3. Reconcile with ics-mr1-release

    Change-Id: Icc9d31cb9a4f379354808a4c7e913685dfa22e80
    The Android Open Source Project committed Dec 8, 2011
Commits on Dec 7, 2011
  1. pathconf: dead loop in bionic function __2_symlinks

    Fix dead loops in file ./bionic/libc/unistd/pathconf.c
    
    Change-Id: I7a1e6bcd9879c96bacfd376b88a1f899793295c8
    Author: Jin Wei <wei.a.jin@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    bjbeare committed Oct 21, 2011
Commits on Dec 6, 2011
  1. am 177ba8c: Prevent deadlock when using fork

    * commit '177ba8cb42ed6d232e7c8bcad5e6ee21fc51a0e8':
      Prevent deadlock when using fork
    rabinv committed with Android Git Automerger Dec 6, 2011
  2. Prevent deadlock when using fork

    When forking of a new process in bionic, it is critical that it
    does not allocate any memory according to the comment in
    java_lang_ProcessManager.c:
    "Note: We cannot malloc() or free() after this point!
    A no-longer-running thread may be holding on to the heap lock, and
    an attempt to malloc() or free() would result in deadlock."
    However, as fork is using standard lib calls when tracing it a bit,
    they might allocate memory, and thus causing the deadlock.
    This is a rewrite so that the function cpuacct_add, that fork calls,
    will use system calls instead of standard lib calls.
    
    Signed-off-by: christian bejram <christian.bejram@stericsson.com>
    
    Change-Id: Iff22ea6b424ce9f9bf0ac8e9c76593f689e0cc86
    rabinv committed with Jean-Baptiste Queru Apr 8, 2011
  3. am e4a21c8: signal: Align the sigset_t size passed to from user space…

    … to kernel.
    
    * commit 'e4a21c89a8b24b32f7a2637b45522dfa59f2aaa4':
      signal: Align the sigset_t size passed to from user space to kernel.
    bjbeare committed with Android Git Automerger Dec 6, 2011
  4. am cb1df91: string: Fix wrong comparison semantics

    * commit 'cb1df9161666db2a312814752de67fc623149a9b':
      string: Fix wrong comparison semantics
    bjbeare committed with Android Git Automerger Dec 6, 2011
  5. signal: Align the sigset_t size passed to from user space to kernel.

    Pass kernel space sigset_t size to __rt_sigprocmask to workaround
    the miss-match of NSIG/sigset_t definition between kernel and bionic.
    
    Note: Patch originally from Google...
    Change-Id: I4840fdc56d0b90d7ce2334250f04a84caffcba2a
    Signed-off-by: Chenyang Du <chenyang.du@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    bjbeare committed with Jean-Baptiste Queru Dec 5, 2011
  6. string: Fix wrong comparison semantics

    Chars are signed for x86 -- correct the comparison semantics.
    
    Change-Id: I2049e98eb063c0b4e83ea973d3fcae49c6817dde
    Author: Liubov Dmitrieva <liubov.dmitrieva@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    bjbeare committed with Jean-Baptiste Queru Oct 25, 2011
  7. am 89d3fdc: MALLOC_DEBUG: enable the option libc.debug.malloc = 10

    * commit '89d3fdcae26980bf81a4622c3c83e48ead4c1c3a':
      MALLOC_DEBUG: enable the option libc.debug.malloc = 10
    bjbeare committed with Android Git Automerger Dec 6, 2011
Commits on Dec 5, 2011
  1. MALLOC_DEBUG: enable the option libc.debug.malloc = 10

    Fix the compile warning to let the libc.debug.malloc=10 works well
    Due to unsuitable value comparison, which cause compiler optimize the
    code of comparing two digits.
    
    Change-Id: I0bedd596c9ca2ba308fb008da20ecb328d8548f5
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Author: liu chuansheng <chuansheng.liu@intel.com>
    bjbeare committed Sep 21, 2011
Commits on Nov 30, 2011
  1. am e480fc8: bionic: fix pthread_{create, exit}/signal race condition

    * commit 'e480fc83b2887388d469eb3bf58c86c610f5b082':
      bionic: fix pthread_{create, exit}/signal race condition
    Jack Ren committed with Android Git Automerger Nov 30, 2011
  2. am 31e72bc: bionic: fix __get_tls( ) crash issue

    * commit '31e72bc3289acdd85b0b745fbf64c5949ca33432':
      bionic: fix __get_tls( ) crash issue
    Jack Ren committed with Android Git Automerger Nov 30, 2011
  3. am 897815a: bionic: add machine type check

    * commit '897815a1feff230be3ea42655a77dcbb9a8dcca9':
      bionic: add machine type check
    Zhenghua Wang committed with Android Git Automerger Nov 30, 2011
  4. bionic: fix pthread_{create, exit}/signal race condition

    (1) in pthread_create:
        If the one signal is received before esp is subtracted by 16 and
        __thread_entry( ) is called, the stack will be cleared by kernel
        when it tries to contruct the signal stack frame. That will cause
        that __thread_entry will get a wrong tls pointer from the stack
        which leads to the segment fault when trying to access tls content.
    
    (2) in pthread_exit
        After pthread_exit called system call unmap(), its stack will be
        freed.  If one signal is received at that time, there is no stack
        available for it.
    
    Fixed by subtracting the child's esp by 16 before the clone system
    call and by blocking signal handling before pthread_exit is started.
    
    Author: Jack Ren <jack.ren@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Jack Ren committed with Jean-Baptiste Queru Sep 21, 2011
  5. bionic: fix __get_tls( ) crash issue

    When running the stress test of pthread create/destroy, a crash may
    oocur in __get_tls(). That is caused by the race condition with __set_tls( ):
    
    Author: Jack Ren <jack.ren@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Jack Ren committed with Jean-Baptiste Queru Aug 1, 2011
  6. bionic: add machine type check

    android linker doesn't check machine type, it may load some
    libraries which it doesn't support sometimes.
    
    Author: Zhenghua Wang <zhenghua.wang@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Zhenghua Wang committed with Jean-Baptiste Queru Oct 18, 2011
Commits on Nov 16, 2011
  1. merge in ics-mr1-release history after reset to ics-mr1

    The Android Automerger committed Nov 16, 2011
Commits on Oct 31, 2011
  1. Add auto-exposure/auto-white balance lock support to soc2030 image

    sensor.
    
    Bug: 4980604
    Change-Id: I1be07a23573b70eeddd9ecb2370605713aea3d03
    Eino-Ville Talvala committed Oct 31, 2011
Commits on Oct 13, 2011
  1. merge in ics-release history after reset to master

    The Android Automerger committed Oct 13, 2011
Commits on Oct 12, 2011
  1. Merge "Use ENTRY and EXIT macros for strcmp, memcpy, atexit."

    Jesse Wilson committed with Android (Google) Code Review Oct 12, 2011
Commits on Oct 11, 2011
  1. merge in ics-release history after reset to master

    The Android Automerger committed Oct 11, 2011
  2. Use ENTRY and EXIT macros for strcmp, memcpy, atexit.

    Without this change strcmp size is zero (not set), and it gets
    ignored by Valgrind. Changes to memcpy and atexit don't affect the
    generated binary in any way.
    
    Change-Id: I05818cb5951f75901dc8c0eef02807a2e83a9231
    Evgeniy Stepanov committed Oct 4, 2011
Commits on Oct 10, 2011
  1. Update to tzdata2011l.

    This affects Asia/Hebron and Pacific/Fiji (and historical data for
    America/Sitka).
    
    Change-Id: I111a34038e44416f1900f774bdb78750e815eb5f
    enh committed Oct 10, 2011