Squashed commit of the following:

commit 02094e92b43db672214c0515a180f5f9ff060a10
Author: Shuo Gao <shuo.gao@intel.com>
Date:   Thu Oct 17 11:36:11 2013 +0800

    fix corruption in Vector<> when malloc falied

    1. When alloc or realloc failed in the function SharedBuffer::editResize,
    it would return a NULL pointer, then mStorage would update to be 1 by
    SharedBuffer::data() if no pointer check here, which is an obviously
    wrong address, and would cause corruption when used it e.g. in capacity().

    So add the pointer check here for the return value of SharedBuffer::editResize,
    if it's NULL do not use it to update mStorage, to avoid the value of mStorage
    polluted.

    2. when alloc or realloc falied in _grow & _shrink function, mStorage keep
    the original value, so mCount should not be updated here.

    Otherwise, mStorage might be 0 but mCount>0, so a corruption would happend
    when it try to delete items from the Vector since mCount>0.

    Change-Id: I7c3814e843c459834ca5eed392e8d63d1cb7d2d8
    Signed-off-by: Shuo Gao <shuo.gao@intel.com>
    Signed-off-by: Jian Luo <jian.luo@intel.com>
    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
    Signed-off-by: Jack Ren <jack.ren@intel.com>
    Author-tracking-BZ: 139626

commit 2b2d4ac76dfebdfb7be3ef3345fa85b1c9ecd9c2
Author: Biswajit Paul <biswajitpaul@codeaurora.org>
Date:   Fri Dec 13 17:06:46 2013 -0800

    chmod: Fix for recursive file mode change.

    Provide correct size to string functions to ensure
    file path is not truncated.

    Change-Id: Ib6ed7eedf7d7010d748d8811a166c3c626725efe
    CRs-Fixed: 589737

commit ed9a6ad0cf43542d93a851a4a5d12915906b67a2
Author: Konstantin Dorfman <kdorfman@codeaurora.org>
Date:   Thu Dec 5 14:39:39 2013 +0200

    system: core: increase the polling time for remount_ro to 3600

    eMMC4.5 introduces an addition of cache on the device.
    We experienced long flush durations in some of the devices,
    and therefore the adb reboot resets the target before the flush
    completes.
    Latest tests show that increasing it to 2400 wasn't enough thus
    it was increased to 3600.

    Change-Id: Ifbe7af16aa1861d0d57c808b0240361c0317d5c5
    CRs-fixed: 581363

commit de67d3143588611a5d5e69a78dfdb2c4d356630a
Author: Maya Erez <merez@codeaurora.org>
Date:   Mon Nov 4 21:11:39 2013 +0200

    system: core: increase the polling time for remount_ro

    eMMC4.5 introduces an addition of cache on the device.
    We experienced long flush durations in some of the devices,
    and therefore the adb reboot resets the target before the flush
    completes.

    CRs-Fixed: 562350
    Change-Id: I3f54901e12ffd232a7696dadfde1edec99ef91c6

commit 6980fb49e94284c07339777474839b13ba2920d2
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Wed Nov 27 13:06:17 2013 -0800

    Bluetooth: Introduce new property type and permission

    Introduce new property type and allow system and bluetooth
    processes to set these properties so that transport layer of
    AND and BT stack can set these properties for chip initialization
    part

    Change-Id: I7735d4743d8b43ea935584901d5aa330df965868
    CRs-fixed: 580768

commit 81f11129f44f5db12397e5e12aa4aa9aef1b5f98
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Fri Nov 1 15:20:46 2013 -0700

    Bluetooth: Enable system processes to set bluetooth properties

    ANT and BT is part of the same wcnsss subsystem and hence libbt-vendor
    is being used by both ANT and BT stack for hardware initialization.
    ANT stack runs in system permission which loads libbt-vendor which in turn
    needs write access to bluetooth. properties.

    Change-Id: I29a9b74504f1c03b98db3cddb2a53399f4b6115b

commit 475f3cff6781c61a331d27faf1ececbf8e375c58
Author: Biswajit Paul <biswajitpaul@codeaurora.org>
Date:   Tue Oct 29 20:03:59 2013 -0700

    Added No Follow symlink option to chown and chmod

    Enable symlink to not follow target file if "-h" option is
    provided.

    CRs-fixed: 545883
    Change-Id: Iefd490bdd12cbe4cf9011f4b9b5e217493b2b503

commit bc258a397765ac5f8d3873976108f8a3d8aaa9da
Author: Mingming Yin <mingming@codeaurora.org>
Date:   Mon Nov 4 17:47:19 2013 -0800

    audio: Add APIs for supported compress formats

    -Add APIs for supported compress capture & compress voip formats.
    -Add default bytes per sample as 1.

    Change-Id: If63a50f02389475855f2f0729b03b6049d44fb29

commit ed81dd4fe2215fff401ae72c567e434218ff426c
Merge: d851160 4bc9f63
Author: Danny Baumann <dannybaumann@web.de>
Date:   Sun Dec 15 12:25:56 2013 +0000

    Merge "healthd: Add dock battery support" into cm-11.0

commit d851160c373a97a2e89a48132b0a7e7890391639
Author: Joe LeVeque <joeleveque@gmail.com>
Date:   Tue Dec 10 18:21:13 2013 -0600

    Removed duplicate code that had broken 'run-as'

    Change-Id: Id3e5ecccdebb4a7c881c6af3e1f465e0168cc940

commit 4bc9f638a11046daae3ea6dbd7de9246af7dd164
Author: Jorge Ruesga <jorge@ruesga.com>
Date:   Tue Dec 3 01:36:44 2013 +0100

    healthd: Add dock battery support

    Dock battery patchset chain:
    base: http://review.cyanogenmod.org/#/c/55349/
    native: http://review.cyanogenmod.org/#/c/55028/
    healthd: http://review.cyanogenmod.org/#/c/55029/
    settings: http://review.cyanogenmod.org/#/c/55212/
    tf700t: http://review.cyanogenmod.org/#/c/55030/

    Video (battery styles): https://www.dropbox.com/s/a7dp3glb7lv1zcg/dock_sdcard01.mp4
    Screenshots:
     * No dock: https://www.dropbox.com/s/2yvngdaqok32xiz/dock_sdcard01.png?m=
     * No charging: https://www.dropbox.com/s/ezghtgoedei17oj/dock_sdcard02.png?m=
     * Docked no charging: https://www.dropbox.com/s/7fasc05fw5ylfxi/dock_sdcard03.png?m=
     * Docked charging: https://www.dropbox.com/s/x37vrhxzd075f7p/dock_sdcard04.png?m=

    Change-Id: I5541af5a44167d4a515649daffb6346c4967e884
    Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

commit f78cd89e2f841af970b35e11d1ba9a3dbdf7f4e4
Merge: 6060f75 2d8210c
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Dec 7 15:07:50 2013 +0000

    Merge "healthd: disable periodic polled battery status" into cm-11.0

commit 2d8210c63b1aebc5ce524a1793fec2d7eb9c583e
Author: Monu Surana <msurana@codeaurora.org>
Date:   Fri Nov 22 10:55:14 2013 -0800

    healthd: disable periodic polled battery status

    This change will stop too much of logging made by healthd in kernel logs

    Change-Id: I85542f481bf9b688874598b4360a8692b2c4d34d

commit 6060f750524117f2dc71fc151c08500e60ecf0ad
Merge: 755f8ed e65b7ea
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Fri Dec 6 02:25:57 2013 +0000

    Merge tag 'android-4.4.1_r1' into HEAD

    Android 4.4.1 Release 1

commit 755f8ed2398c35eb932876a05e0b2d5183926022
Author: Sachin Shah <sachins@codeaurora.org>
Date:   Thu Aug 2 18:26:02 2012 -0700

    ueventd.rc: Change owner of graphics drivers to system

    iWifi Display service needs permission to open these drivers.

    Change-Id: I1d9e4ae372f09ecf4104888a9910d09903d892d1
    (cherry picked from commit f087420bf5eada3017e107a3a8da4e74f683da18)
    (cherry picked from commit 1b3f9226cd3ad681a0ef08038d874921ca62ee4c)
    (cherry picked from commit 5b4becc1b814b0f9e96d4f3aaec380d74f4b0739)

commit d8953bfdaaefa1511f0b72fe78b271d53ee7e310
Author: Seth Shelnutt <shelnutt2@gmail.com>
Date:   Sat Nov 9 14:43:50 2013 -0500

    unpackbootimg: Add support for detecting lz4 compressed ramdisks

    This will check for lz4 magic, and if found change the extension of the
    file. Else it'll fall back to the default behavior of assuming gzip. This has
    been tested with stock LS980 boot images and LS970 boot images for lz4
    and gzip respectively.

    Change-Id: If2139ff172397b6db079ffb7ab9cb61897c38fb3

commit bd8162aaf1719112b75075871eab11ed73838e15
Author: Benoit Goby <benoit@android.com>
Date:   Tue Sep 24 14:42:26 2013 -0700

    init: Fix queue_all_property_triggers with nonexistent properties

    Don't queue actions for "on property=*" if the property does not exist.
    This fixes these errors on boot:

        init: property 'sys.powerctl' doesn't exist while
        expanding '${sys.powerctl}'
        init: powerctl: cannot expand '${sys.powerctl}

    Change-Id: I3bd354d73a860f856be5df2c654f940445f9efd9

commit 7165a92cc1606b15fb573019a75a11cde8684ad4
Author: Chirayu Desai <cdesai@cyanogenmod.org>
Date:   Sun Nov 10 17:48:56 2013 +0530

    sdcard: fix usage for -w and -s options

    Change-Id: I0ef4299d2ccf99a18970f02d4bd4e7c28dc5335e

commit c9519f977b6bd5f282ae935f51104c75bfa6821b
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Sun Nov 24 21:56:40 2013 -0600

    Fix the build for devices with ICS/MR0_AUDIO_BLOB

    The previous commit only exposed AUDIO_DEVICE_IN_ANC_HEADSET
    and AUDIO_DEVICE_IN_PROXY if not defining this.

    Change-Id: I7b644bb022f32fd978a85e003a97cbf27a17c809

commit 6faf31b2f1ffc0cdb5308d03f93b978435a49d12
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Nov 24 03:18:45 2013 -0800

    audio: Expose a few things previously under QCOM_HARDWARE

     * Allow everyone to use a few of these device types without
       setting QCOM_HARDWARE. Currently there is qute a mess due
       to the way QC is handling branches, when we figure out a
       good solution this can be reverted.

    Change-Id: I75447a21ad1cf26e9683d2eac488a1b1238e5adb

commit 9fd334decd2031eb6ce57d1c383ff6304c7f72b7
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Tue Nov 5 00:35:16 2013 -0600

    Add back DurationTimer to fix camera.msm8960 load

    cannot locate symbol "_ZN7android13DurationTimer5startEv"

    Change-Id: I29d3283b644c773e6d798d17b2ef139a470048da

commit 9cb2167356a1b193d777a6121c5dd1e0b92c0c78
Author: Ethan Chen <intervigil@gmail.com>
Date:   Sun Nov 17 22:42:12 2013 -0800

    audio: remove QCOM_FM_ENABLED ifdefs

    * CM is using a different ifdef here that enables these by default.

    Change-Id: I07249d1c3555446238d846901481b13634967aab

commit 0d33a1408cd5986ded54c9a79facf8b79373ded6
Author: Pavan Chikkala <pavanc@codeaurora.org>
Date:   Mon Oct 28 19:16:18 2013 +0530

    audio: Fix submix output device check.

    -AUDIO_DEVICE_IN_FM_RX is incorrectly matched
     with AUDIO_DEVICE_OUT_REMOTE_SUBMIX because
     method audio_is_remote_submix_device is not
     checking for AUDIO_DEVICE_BIT_IN.

    -Fix is to add AUDIO_DEVICE_BIT_IN while doing
     the check for AUDIO_DEVICE_OUT_REMOTE_SUBMIX.

    CRs-Fixed: 566837

    Change-Id: I47ca3bd151da848a444d4bcf83a56e866f20d4f7
    (cherry picked from commit f8573b76d6c03e1a9eff34e093056a810f898509)
    (cherry picked from commit ae982a488c68e0cd06622e7ee7a31fddb1f4d131)

commit ca3cd5eeb6203a5f94799dae0365a329e9f844a3
Author: Srikanth Katta <skatta@codeaurora.org>
Date:   Fri Sep 20 17:05:27 2013 +0530

    system/core: Add MSM specific formats, devices and channels.

    - Add support for MSM formats, devices and channels

    Change-Id: I0f613e25ae7e5bafa126ab582551807711ab9db6
    (cherry picked from commit 3535a5eafaa700ae58d44c43c4491f3fbb90e060)
    (cherry picked from commit d725c0473b0c7f51d157b8722131ed7b45f878d7)
    (cherry picked from commit 8d43d24d91e7bcc8daef40c6e9f99fd8dcd23266)

commit 4a96b3b52dcdda49f0a7a7c411600a674fb18e62
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Fri Nov 15 22:24:30 2013 -0600

    Conditionally Revert "put back the unused virtuals in Vector<>"

    These symbols are needed for MR2 camera.tegra and other blobs,
    but they conflict with KK blobs so define it for devices that
    need it by setting COMMON_GLOBAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS

    Change-Id: I59e66074526f013918a29c3afc10e52b9812778c

commit b32cdd0d03a7b38a6b3888ad25b0067bfab1d7cf
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Nov 12 00:29:43 2013 -0800

    adb: Fix backup fallback

     * Check for existence of binary first

    Change-Id: I5c1884655ae031f51cb935221ae7870b016e259d

commit de1237ab430d9464a4223e85a351afc7adca5648
Author: Seth Shelnutt <shelnutt2@gmail.com>
Date:   Sat Nov 9 14:21:49 2013 -0500

    unpackbootimg: Add support for device trees

    Change-Id: I340eed99d2274a2f4cbaf5a9f27726ff3a9302e5

commit c48921b1f58084671378e647f184f4bd18bf5d54
Author: Arne Coucheron <arco68@gmail.com>
Date:   Wed Nov 6 21:42:35 2013 +0100

    Revert "FM Radio: Add support for FM Radio in Android"

    This reverts commit 1e07014af2319f08c128c7702251c42e71742edb.

    Change-Id: Ife5d06b4b4d65635d8c0d4d191392eb55f313243

commit 5f324e3aaf139f512750a17061bb48f9481f3388
Author: Arne Coucheron <arco68@gmail.com>
Date:   Wed Nov 6 21:42:26 2013 +0100

    Revert "fmradio: cleanup QCOM_HARDWARE/STE_FM defs and ifdef"

    This reverts commit c88de9fab033c4428f38a2be50ddb97eea66b8b9.

    Change-Id: Iaf802c5af7256068a7d80cda53afca3b467748a6

commit 165efcd7d56f98d156943aea9f8602f8fa52e04a
Author: Arne Coucheron <arco68@gmail.com>
Date:   Wed Nov 6 21:42:13 2013 +0100

    Revert "qcom-fm: audio: Add support for FM feature"

    This reverts commit efa61acad6d546bac3f4886d38ff932eda4807a2.

    Change-Id: I1c12a4ffb4ffdefe82b1c45fefa27ef079c71ac2

commit 8910908be28803ba2be3db76bc4cbdbbba623885
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Wed Nov 6 00:41:42 2013 +0000

    Fix audio flags ifdeffing for qcom

    Change-Id: I8183eaabe9ca9951f06256dfc761617f7c38b3d4

commit 64029fbbcb9f6a70461858b9416eb9839e523008
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Tue Nov 5 03:33:44 2013 +0000

    Add libminshacrypt static lib

    This is a sha-only version of libmincrypt, to provide the new
    SHA_hash implementation to binaries that require libcrypto_static

commit 00edd9eed03769a4e3fa6c477d46dce4f512d571
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Nov 3 03:28:05 2013 +0000

    Revert "Revert "charger: Update to match AOSP recovery API""

    This reverts commit be76d13ad339e18b3c6b8a21ec6571681bc0a149.

commit bf4cfe2cfe1f28662475c7a5723b5d1135f031c1
Author: codeworkx <codeworkx@cyanogenmod.org>
Date:   Sat Jul 27 08:18:42 2013 +0200

    libutils: refbase: jellybean mr1 compat

    Change-Id: Ideee0c3814a17b47f70fd612d27067fe19ae698d

commit 839941c19c1563b922ff1e45e6d34c192726400d
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Nov 2 20:35:53 2013 +0000

    Small 4.4 fixes

commit 1aa6a5bb6fe8f428f8726bb61125a2991e901bf0
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Nov 2 20:31:43 2013 +0000

    Revert "get rid of HAL pixelformats 5551 and 4444"

    This reverts commit 6bac41f1bf9b651523a2f9f119c2adb0836eb6b7.

commit 8cff93f2d9833054f7d5b391db822acae5e4f5f9
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Nov 2 18:00:35 2013 +0000

    Revert "init: implement a new 'log' command, useful to debug property events"

    This reverts commit 43a658562da8363fd8faa1add7acccba2b895f72.

commit 0f9cdd389dd8d47ebca4120cbb9bd87b67890220
Author: Dave Burke <daveburke@google.com>
Date:   Wed Oct 24 17:30:31 2012 -0700

    Revert "Revert "put back the unused virtuals in Vector<>""

    This reverts commit 225c66a48cdc3acef21ee380dc134449749d3cb3

    Change-Id: If31a04b81052cbc7dd7bf237c07107c33066d03d

commit 1af817d72f4a33b6862a550ace89960323b36ffb
Merge: ee74802 19ebdad
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Fri Nov 1 16:51:09 2013 +0000

    Merge tag 'android-4.4_r1' into cm-11.0

    Android 4.4 Release 1.0

    Conflicts:
    	fs_mgr/include/fs_mgr.h
    	include/private/android_filesystem_config.h
    	include/system/audio.h
    	init/devices.c
    	init/init.c
    	init/property_service.c
    	libcorkscrew/arch-x86/backtrace-x86.c
    	liblog/logd_write.c
    	rootdir/init.rc
    	sdcard/Android.mk

commit ee7480206abca301be9e8a0808cf142f013fd9ed
Author: Arne Coucheron <arco68@gmail.com>
Date:   Thu Oct 24 10:40:44 2013 +0200

    charger: Allow home key on newer devices to wake device

     * On newer devices, the home key button is usually mapped
       to KEY_HOMEPAGE. Allow it to wake the device.

    Change-Id: I6423e4c6fb7992c77dc052a9f0aadae1fa8055dd

commit be76d13ad339e18b3c6b8a21ec6571681bc0a149
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Oct 22 01:20:07 2013 -0700

    Revert "charger: Update to match AOSP recovery API"

    This reverts commit d00b7c086f89d519f679614790e6b3c27a398ee9.

commit d00b7c086f89d519f679614790e6b3c27a398ee9
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Oct 20 04:24:21 2013 -0700

    charger: Update to match AOSP recovery API

    Change-Id: I2f8e0213e438c352dc5954faa287374e33985d65

commit 1640d4c1602db3d07ec621a3b4a8928d3bb1127d
Author: Rakesh Pallerla <rakesh@codeaurora.org>
Date:   Mon Dec 24 13:59:36 2012 +0530

    system/core: Add support for telephony-msim

    Add telephony-msim to BOOTCLASSPATH

    Change-Id: I8f585fc8414705450a54127908f182c0eacf4c03

commit ea65702d26bc1098d50cb50c6f22d13208cb0a2f
Author: Sheng Fang <fsheng@codeaurora.org>
Date:   Wed Sep 4 19:29:50 2013 +0800

    init: Increase maximum number of Android properties to 496.

    As more and more properties are created, 372 is not enough.

    Change-Id: Iab793e9f6cf540551e9821f61c2aeee8fb6dafc3
    CRs-fixed: 538187

commit d987f769fe5a8b2097e034ffee597f811541f614
Author: Emilian Peev <epeevs@codeaurora.org>
Date:   Sat Aug 31 00:26:56 2013 +0300

    Camera: Adds auto HDR Metadata type

    - This type is used during auto HDR
      Metadata callbacks.

commit c6a02d4ab3af3a9d09047929af77a2c8b05947e7
Author: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Date:   Tue Jul 16 19:14:10 2013 -0700

    audio: Enumerations for audio usecases

    -Add enumerations for audio usecases to handle concurrency

    Change-Id: Ided13b37d269db3b4509f4058581d329b5f4739e

commit 6740a8a9a7a92158db5fc435a5ed669f3506f64f
Author: Emilian Peev <epeevs@codeaurora.org>
Date:   Tue Jul 16 14:02:11 2013 +0300

    Camera: Adds longshot commands

    - This change adds two new camera commands
      for enabling/disabling longshot mode.

    CRs-Fixed: 514199
    Change-Id: I47e4211ca0306347b6546707ed43b90ee3693060

commit efd207f9c24db78d558aea633a07a832f81391a1
Author: Vidyakumar Athota <vathota@codeaurora.org>
Date:   Fri Jul 26 12:23:00 2013 -0700

    system/core: Add support for EVRCNW audio format

    This change is needed to support EVRCNW audio format.

    Change-Id: I161c2c24ca764ed291f59d17d0a2be443818a7aa

commit 308bf89afe3d6c36e2d237ba642c0ff3f6614f2e
Author: Fei Zhang <feizhang@codeaurora.org>
Date:   Wed Jul 31 13:14:57 2013 +0800

    Camera: Add meta data types for meta data callback

    Add meta data callback types in order to reuse same callback
    path for diffrent data types.

    Change-Id: If8c6079c8a9a1fa7b3e708b6c5d9d04240509e2e

commit d0ebd8157e82141bde25060d03242c16d84927c7
Author: Guntawee Tiwapong <gtiwapon@codeaurora.org>
Date:   Wed Feb 20 14:34:38 2013 -0800

    init.rc: Restored TCP performance tuning

    This patch tunes the TCP buffer sizes for high
    performance data links including global max rmem
    and wmem.

    Change-Id: Ida0f9fd6ec23143b158284a019fd26672103c6ce
    CRs-Fixed: 439205 435908

commit 928351f9f8e32f9b2ae399968b46dc116ecb76e1
Author: Shreyas Nagasandra Chandrasekhar <snagas@codeaurora.org>
Date:   Fri Jul 26 20:54:17 2013 +0530

    audio: add EVRCWB EVRCB to supported audio formats

     compressed format should also include EVRCWB and EVRCB

     CRs-Fixed: 516138

    Change-Id: I64f40d3380cb4fa055e0c3d79db3acf57929405c

commit 4a2df5b349f44fb337444ed661eac135caa4e2a3
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Oct 6 23:52:59 2013 -0700

    charger: Fix arguments to gr_text

     * CWM's minui is oldschool, so comment this out for now.

    Change-Id: If88d2df820b164fbb02ce6c40cba42de7880e86a

commit 6c2f03639a0fca6df03bc34fe7f7f31d798a2e56
Author: Xu Kai <kaixu@codeaurora.org>
Date:   Wed Sep 18 10:30:30 2013 +0800

    charger: press power key to turn off charging animation

    When charging animation is on, press power key to turn it off.

    CRs-Fixed: 535893
    Change-Id: Iaac536351426a09cb23c6d77ff3229a8901aaf70

commit 55a9140a1fa305582723ce6fd6d6681d8cd612fa
Author: Xu Kai <kaixu@codeaurora.org>
Date:   Mon Sep 16 13:43:46 2013 +0800

    charger: modify usb unplugged shutdown time in power off charging

    Previous value for this feature is 10 secs which is too long,
    and now change it to 2 secs.

    CRs-Fixed: 535857
    Change-Id: If1d74a25e00f897833092262c49a9a07d18c0674

commit 1a4cc448853fe7c6426bb785af9cf58cf69fd1ef
Author: Xu Kai <kaixu@codeaurora.org>
Date:   Thu Sep 12 20:44:26 2013 +0800

    charger: support alarm in power off charging

    To implement this feature need to let the phone reboot some time
    earlier than the alarm time.

    CRs-fixed: 540039
    Change-Id: I5001631114994f5bc29313bbd52395c43f7c4810

commit f7ce72ca4e7d99edd346ef0081915d1decb2165d
Author: Ameya Thakur <ameyat@codeaurora.org>
Date:   Mon Aug 12 14:19:08 2013 -0700

    charger: Toggle backlight while in charger mode.

    The backlight is now toggled on/off in the charger mode via a sysfs
    node. This is to compensate for the fact that on certain targets the
    FBIOBLANK ioctl does not turn off the backlight.

    Change-Id: I7c4531e7f1b0599b9a1f5ed6f95d13ee6a664066
    CRs-fixed: 514940

commit f7e1ef2461121c1ebe7f1ef3ea25cca397e4c5ab
Author: Yulian Shandorov <jshandorov@codeaurora.org>
Date:   Mon Mar 4 11:24:41 2013 -0800

    charger: Draw battery percentage over charger screen

    Let user know the exact battery capacity.

    Change-Id: Ie2abaeee0e443cd2a730780488287ad4d9ea1e9a

commit 851c4ad34bc09a58d70c34caaba26a975fdfce4c
Author: David Ng <dave@codeaurora.org>
Date:   Fri Jul 27 17:15:03 2012 -0700

    mkbootimg: Add --dt parameter to specify DT image

    New optional --dt parameter to specify a kernel device
    tree image.

    Change-Id: Idbd08906dc0a19935e08f21d331e6d042bcab87d

commit 1b49f7a69cf39e15312bac002b6ed74fece3a656
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Sun Sep 15 13:58:53 2013 -0500

    toolbox: Add setfattr

    Change-Id: I1981604f72d96c9ad38583f03f7f65df1ab865b7

commit 5ac7417f81ed6646e0132991095e8f1fd974abaa
Author: Michael Bestas <mikeioannina@gmail.com>
Date:   Wed May 22 13:34:47 2013 +0300

    init: Fix serial number display for semc msm7x30 devices

    Add proper check since semc msm7x30 bootloader exports
    "serialno" in cmdline instead of the standard androidboot.serialno,
    so init doesn't pick it

    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

    Change-Id: Ib4e715fafc64dd47fb667aeb63a7307334cca844

commit 0e11087f61c4cc678f69722e7293dcfbf0f1db8a
Author: Marcin Chojnacki <marcinch7@gmail.com>
Date:   Fri Sep 13 17:01:45 2013 +0200

    init: Do not build logo.c when initlogo is disabled

    For now, logo.c was build even if TARGET_NO_INITLOGO was true.
    Changing tty to KD_GRAPHICS is now done in init.c as it should be, when
    the logo is not present.

    Change-Id: Ifabd9aebc9c0ad8d6903e963dfac031a6dac32e1

commit dfe600ecfce8e64c2c3799116063d8fee08d19f3
Merge: 1b96c7d f8e6993
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Oct 1 17:52:57 2013 +0000

    Merge "libcorkscrew buildfix for gcc 4.8" into cm-10.2

commit 1b96c7def73f12d9c8788bc31fd28c03e753f07f
Merge: cb943b1 4188814
Author: Giulio Cervera <giulio.cervera@cyanogenmod.org>
Date:   Sat Sep 28 11:27:35 2013 +0000

    Merge "init: uevent: Add msm video symbolic link handling" into cm-10.2

commit cb943b1f4420d3824fe17781f5fc2afc40f8db26
Merge: f3409d2 16738f9
Author: Giulio Cervera <giulio.cervera@cyanogenmod.org>
Date:   Sat Sep 28 11:27:23 2013 +0000

    Merge "mkbootimg: Add --dt parameter to specify DT image" into cm-10.2

commit f3409d276874373bfbae1381376f388374d11832
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Sep 28 00:50:08 2013 +0100

    Revert changes to main init.rc file

    Move these to the CM init, there's no need to have them here.

    Revert "rootdir: Set permissions for additional interactive sysfs nodes"

    This reverts commit d4a936e3585a2a085a2edd0d6861201aa99b4817.

    Revert "init: provide initial pemissions for ondemand governor"

    This reverts commit bb23f09b4bc5996c88553dcb9857357c1b6516d8.

    Revert "Allow 'system' user to modify cpufreq control files"

    This reverts commit 2aaa54be95527144341e5fb82c67b2be7f06ac71.

    Change-Id: I8889d6f6d3346cf7920bb3e8d5d52291d40d6b5e

commit 4188814c7d07cd577b0bfa81cbe358165d2ed964
Author: Sachin Shah <sachins@codeaurora.org>
Date:   Tue Mar 26 17:02:36 2013 -0700

    init: uevent: Add msm video symbolic link handling

    Create meaningful symbolic links for video encode/decode
    devices based on link_name sysfs node so that video client
    doesn't have to rely on dynamic dev node names like device32,
    device33 etc.

    Change-Id: I70386351d83b8a7a7a690378870eee87f4c96983

commit 16738f9e759b0740bc223b7004d8a328e99c8966
Author: David Ng <dave@codeaurora.org>
Date:   Thu Aug 29 18:46:46 2013 +0200

    mkbootimg: Add --dt parameter to specify DT image

    New optional --dt parameter to specify a kernel device
    tree image.

    Change-Id: I7e2c48c25c04165642eedadc3dc16a082dd99eb0

commit c96527403324390f02b856e794921df4fc8b2b45
Merge: 4819663 821678e
Author: Steve Kondik <shade@chemlab.org>
Date:   Thu Sep 19 20:29:07 2013 -0700

    Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/system/core into cm-10.2

    Android 4.3 Release 3.1

commit 481966331bb64fbd7e19d4b22d16dc59468faa8a
Author: Mike Kasick <mike@kasick.org>
Date:   Sat Aug 31 15:54:13 2013 -0400

    Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes"

    No longer needed as Dalvik no longer marks /storage as slave in zygotes.

    This reverts commit 4a8f70d11b225fbf56aca6e494f4de35fc727dc7.

    Change-Id: I0bfb86f2cc10ccdc10daa7419ac4d252c8dfbae8

commit f8e699324d069bf74e72e7f76a22948dfea5dba2
Author: Robin Humble <plaguedbypenguins@gmail.com>
Date:   Tue Sep 3 00:46:32 2013 +1000

    libcorkscrew buildfix for gcc 4.8

    clearly gcc 4.8 is smarter than 4.7, so ignore it

    Change-Id: I67c4c5e7c8d47ae4f9dfbe5c8d46a385a58ad933

commit 19b46a460a63acc17ddfe619cb740b5e556ee1ca
Author: Ethan Chen <intervigil@gmail.com>
Date:   Thu Aug 29 00:56:27 2013 -0700

    init: define BOARD_CHARGING_CMDLINE parameters

    Change-Id: I722e49e2a13418bf887c361c85e9d102168ca973

commit 1d55c0d8c737f3c0f5a24e9dd9d6db7dbaf46125
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Aug 23 21:12:12 2013 -0700

    sdcard: Allow building as a static library

     * Split main() out in order to allow linking with a multi-call
       executable such as recovery.

    Change-Id: I3325135e47e4dd5af3912f5ce67ec64007d54a63

commit 09e8d92e00caef612fa73d910379c93736931e0d
Merge: a5677eb 6647bf7
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Aug 23 14:59:28 2013 -0700

    Merge tag 'android-4.3_r2.2' of https://android.googlesource.com/platform/system/core into cm-10.2

    Android 4.3 release 2.2

commit a5677eb4a5038170f54261f8a7902a03cd8449c4
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Aug 16 14:29:44 2013 -0700

    core: Add some static libraries

     * Add static versions of libdiskconfig and libsysutils for MiniVold

    Change-Id: I9ea9498dcff3f094bbcbb1e05e6d10bc9b83ac74

commit ba3d67ae7b0208da40ec8f0d1e694d829ef02e78
Merge: 4c4b308 bd3611d
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Wed Aug 14 01:00:02 2013 +0000

    Merge "fs_mgr: add support for "sync" mount flag" into cm-10.2

commit 4c4b3088857a545f4809804a8c5531e7f590ef49
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Tue Aug 6 21:30:11 2013 +0700

    ueventd: restorecon sysfs files

    Allow cpufreq governor tuning files to be labelled correctly after
    switching governor.

    Change-Id: I3e0fd310aaacbb4e647e42597d38040774257955

commit 40cde7bca703b7dcece9e73e764e1c0012977a5a
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Aug 4 13:28:14 2013 +0100

    Remove HAVE_SELINUX guards

    Android 4.3, and by extension CM 10.2, default to having SELinux on

    Change-Id: Ie7853727102725a75a7d6fa3b3b35b1ffaacd89a

commit bd3611db2ddf8321e1755ecd290a80027880a2ab
Author: Steven Luo <steven@steven676.net>
Date:   Wed Jul 31 21:12:16 2013 -0700

    fs_mgr: add support for "sync" mount flag

    Change-Id: I6ad74cfbf98d30320785e3691df30dabc5c54cb9

commit d78168bd61447c31440ffee842dbf1ce5e5e52a1
Author: Koushik Dutta <koushd@gmail.com>
Date:   Wed Jul 31 21:13:29 2013 -0700

    WIP: CWM recovery fstab features.

    Change-Id: Ibb4c910ab7f3c377a8f358214d58357c40d5811a

commit fbbb1a75b288a83da249c31295b031bdb5e7c0c2
Author: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Date:   Fri Jun 7 20:20:17 2013 -0700

    audio: Add support tunnel mode recording

    Support for tunnel recording

    Change-Id: I8e4a4ce4cde23296beb783c7d678db1fa8936af1

commit 752834630b83c6398dd1413c4626039b09dbe9cc
Author: Emilian Peev <epeevs@codeaurora.org>
Date:   Thu Apr 18 16:14:15 2013 +0300

    Camera: Adds meta data message and commands

    - This change adds support for meta
      data type notification messages and
      commands.

    Change-Id: I4d19254be90ac43a40e7d02d74a3c7c1a2bad336

commit d553fed3b56227e520e92c662399c112b25dbb0b
Author: Niranjan Pendharkar <npendhar@codeaurora.org>
Date:   Mon Apr 2 16:41:59 2012 -0700

    Do not add default route during ifc_configure

    Avoid duplicate default routes.
    Remove adding of default routes during interface configuration as
    route add/remove operation is managed by ConnectivityService via netd.
    (cherry picked from commit 4a48635c72d91cf8decb7653948fe0c76de46098)

    Change-Id: I982b95a44bf91d3850ca7752e307c1b1b6a66ecf

commit 46ccee6e82c8a91224f52678799486507c2a1d96
Author: David Ng <dave@codeaurora.org>
Date:   Tue Jan 29 19:50:24 2013 -0800

    init: Allow basic environment variable expansion in env assignment

    Allow environment variable expansion in 'export' command if the
    value begins with "${_var_}" (where "${_var_}" will be replaced
    with the current value of environment variable _var_).  Expansion
    will only occur one time.

    e.g.
    export BOOTCLASSPATH ${BOOTCLASSPATH}:/system/framework/abc.jar
    (cherry picked from commit 7940299507f15055851a6e8b61ae8d8a7d7f3484)

    Change-Id: If9e4adfa1aba2c7a4ca243978ced3c46c2cb4d73

commit b34f581c785dbfbdd4e031253e83d8867f737b7d
Author: Apurva Rajguru <arajguru@codeaurora.org>
Date:   Fri Dec 21 17:59:18 2012 -0800

    Camera: Extend few data structures for QCom features.

    Add message type for STATS_DATA and also the commands
    which the application sends to start/stop histogram.
    Also add few members to the face structure to extend
    the face detection feature.

    Change-Id: I3cc1c99ce40b58a029b1e048e6f84265833ac372

commit 557183c9bebf255399dcda4d52b7a0edf3cb09fe
Author: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Date:   Wed Jun 5 19:44:47 2013 -0700

    system/core: Add tunnel format frame size

    Add tunnel mode formats frame sizes to audio.h. This ensures frame
    size definition in one place.

    Change-Id: Ia01cb4cba003e538a53aaa18330ef860367859c1

commit 77dd1cae0994e5c3acc6e6c98192636b28c0a7da
Author: Vicky Sehrawat <vickys@codeaurora.org>
Date:   Tue Jan 29 14:35:09 2013 -0800

    system/core: New stream type and flag for incall music delivery

    - Add new stream type and flag for incall music delivery

    Change-Id: I54d0d820d2dbb888d2e0cebdca63be2856eb00d8

commit 432e40cc5e028c2ac118613febd3d0a66d5c5046
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Jul 26 16:23:08 2013 -0700

    Remove QCOM_BSP from here for now

    Change-Id: I0482aaf67b9f60946d5f0bac9906b94d66bab6f5

commit e34b970f3b290b86955297b250347442b26b4559
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu Jul 25 17:07:35 2013 +0100

    init: Fix some more mergefails

    Change-Id: I6fbb230e0f0f4e93f25fb571ae2fb6ccfd12398e

commit 78dfb9a053e0afa1d70f4e57205feeb072ccc0b8
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu Jul 25 16:57:19 2013 +0100

    Fix gr_text() syntax until minui gets updated

    Change-Id: Ie6d72013944d7ce6d2c0a244862b464e513fa389

commit 7fd7b622284a7d449f56dc001951d095e0121d0a
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu Jul 25 16:55:41 2013 +0100

    Fix mergefailure in liblog

    Change-Id: I092acba9496eefea35bff7561617e15f5424fb97

commit cf6a7e3ffd1f9b0941acfb8128ff5d45f8b09305
Author: Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>
Date:   Mon Jul 8 22:25:54 2013 +0100

    Fix failure to build from source with modern _host_ glibc/gcc.

    One should not define __USE_GNU directly, and instead _GNU_SOURCE
    should be defined as early as possible, before first (indirect)
    inclusion of features.h

    Change-Id: I4d109d4fa0c3d266b873d2a0a66a52e1a4faa234
    Signed-off-by: Dmitrijs Ledkovs <dmitrijs.ledkovs@canonical.com>

commit 5311bbd2a884fd14654b723dd9d4822023b549f7
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Jul 21 14:25:47 2013 +0100

    fs_mgr: Drop the context mount option from non-selinux builds

    Transitioning devices may have the context option present in the
    fstab, even if we're not doing selinux builds.
    Since we don't set or even create the contexts on those builds,
    this will make mount fail, and either the mountpoint ends up absent,
    or boot fails entirely

    Change-Id: Ic5cc7f5632cc3d62459dfaaf7719d662737e1641

commit 679e2100087be07878a506ff0f7748a32811a40d
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Fri Jul 19 17:12:37 2013 +0100

    toolbox: Add levelFromUid categorization support to restorecon

    This is necessary for the app data relabeling on migrated devices
    to include the proper app context. Freshly installed apps get this
    done automagically, as do newly created files.

    Change-Id: If7421dac01c6ae8bd78e66f71e69298ed850a7ab

commit 6374964912d6e8bc5fa56ad8cda5fb952af61824
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu Jul 18 21:51:13 2013 +0100

    Fix building without SELINUX

    since the scon is now a mandatory arg, it needs to exist even if
    NULL

    Change-Id: I8ba31a7a8cf357e9b0c43cee81ab49d3eb192819

commit cc81fdf03b4d48fc10bc935453224167cfaf57a6
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Wed Jul 17 12:04:02 2013 +0100

    Explicitly add the theme manager's AID to fs config

    SELinux failed to set the theme manager's context since the
    app has a fixed non-user ID, and it didn't map to a pseudo-username.

    Change-Id: I287dc0dd02abc164fe22e14c9f3f505c3dcb938d

commit b49bad805497a946d07ee5eeea5baebb24eac395
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date:   Mon May 13 12:37:04 2013 -0400

    Add support for socket security context specification.

    Add an optional argument to the socket option for specifying
    a SELinux security context for the socket.  Normally the socket
    security context is automatically computed from the service security
    context or set using the seclabel option, but this facility allows
    dealing with two scenarios that cannot be addressed using the existing
    mechanisms:
    1) Use of logwrapper to wrap a service.
    In this case, init cannot determine the service security context
    as it does not directly execute it and we do not want logwrapper
    to run in the same domain as the service.

    2) Situations where a service has multiple sockets and we want to
    label them distinctly.

    Change-Id: I7ae9088c326a2140e56a8044bfb21a91505aea11
    Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>

    Conflicts:
    	init/init.c
    	init/util.c

commit f0c9dd46aa118a5160138d7e3953e835fb2c3312
Author: William Roberts <w.roberts@sta.samsung.com>
Date:   Mon Apr 15 13:56:22 2013 -0700

    Fix perms on /data/security

    installd and zygote need to be able
    to search the directory to access
    the policy files.

    Change-Id: I0679fd2084d2664dfb5a594f493317eff058415d

commit c8fefd684f0f52777a00c790f22eb63d4fac403c
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date:   Fri Apr 5 10:46:10 2013 -0400

    sys/capability.h does not exist in the 4.2 bionic.

commit 9cf2124ad7f780919084c828733bcc2b5f32fcd4
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date:   Fri Apr 5 10:28:30 2013 -0400

    Sync with master auditd.

commit dfa2464949b09e24d8b930b7c8be2bf125f4eb67
Author: William Roberts <w.roberts@sta.samsung.com>
Date:   Fri Feb 8 09:45:26 2013 +0900

    Auditd initial commit

    Initial commit for an audit daemon that
    writes kernel audit messages to a log
    file. The daemon runs in uid "audit" or
    AID_AUDIT.

    The log files are located at /data/misc/audit/
    The daemon maintains two files at this location:
    audit.log and optionally audit.old. On boot (
    if the file is non-zero in size), or
    when a fixed threshold is hit, the daemon rotates
    audit.log to audit.old.

    Optionally, if passed the -k option, the daemon polls
    dmesg for all lines that contain "audit" and writes
    them into the log. After that it continues to operate
    as normal, receiving the messages from the netlink
    socket.

    Change-Id: I5b5037a5a8b39a054213848249afb7808f8b0ffa

commit e709c8cfbe85e6432cdc5d57ed1625f46626f670
Author: William Roberts <w.roberts@sta.samsung.com>
Date:   Fri Feb 8 09:41:26 2013 +0900

    Reserve AID_AUDIT

    AID_AUDIT will be used for an audit daemon for gathering
    and controlling the Linux audit subsystem.

    Change-Id: I95d597524b5547a60f3a59f692b4b0a6df0a9645

    Conflicts:

    	include/private/android_filesystem_config.h

commit cb9072712ada748d2f665f06e6eb3860c7142532
Author: William Roberts <w.roberts@sta.samsung.com>
Date:   Wed Jan 23 14:05:04 2013 -0800

    Create a new location for /data policy files

    Updating the location of policy files from
    /data/system to /data/securtiy. Requires a
    new directory to be created by init and an
    update to the location of the
    property_contexts file for property service.

    Change-Id: Ibac2a84dfb403339bd169787cb5b7f24655be429

commit 265587558682b7fcf060e4fffc260c937ecc7d0f
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date:   Wed Nov 28 13:52:12 2012 -0500

    Change setsebool syntax to be consistent with other init built-ins.

    Change setsebool syntax from name=value to name value.
    This is to make it consistent with setprop and similar commands.
    Update both the init built-in command and the toolbox command
    for consistency.

    Change-Id: I2c8e016ba26731c4a2ad4a49ae3b89362bf8f8a8
    Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>

    Conflicts:
    	init/builtins.c

commit 46a47ffd7f465e8952fbb07eb7d46849e80f84e6
Author: Bob Craig <rpcraig@tycho.ncsc.mil>
Date:   Thu May 17 09:58:51 2012 -0400

    Add persist.mac_enforcing_mode property

    Conflicts:
    	init/property_service.c

commit acc6970126bde3f6e5f50caceb9ec6169930a02d
Author: Robert Craig <rpcraig@tycho.ncsc.mil>
Date:   Tue Nov 13 13:23:39 2012 -0500

    run-as:  Get seinfo from packages.list and pass to libselinux.

commit 175d0d96fd49d01af2904ce9337d8aff80478b12
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date:   Wed Nov 14 12:59:41 2012 -0500

    Allow system UID to setenforce and set booleans for SELinux.

    Allow system UID to setenforce and set booleans for SELinux.
    Boolean ownerships must also be reset upon policy reload as
    the boolean files in selinuxfs are regenerated to match the new policy.

commit 8e7923c173c4c2b049df5635cb3e8902cf528f6c
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date:   Fri Feb 3 11:09:44 2012 -0500

    Add support for -R (recurse) to init chown builtin.

    This is helpful for setting ownerships on entire directory trees,
    such as sysfs and selinuxfs, particularly when the precise set of
    files is dynamically generated at runtime.

    Change-Id: I81070ea36fd7ffcab4ee8b3ef1bb0028d4b7839c
    Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>

commit d4a936e3585a2a085a2edd0d6861201aa99b4817
Author: Giulio Cervera <giulio.cervera@cyanogenmod.org>
Date:   Fri Jul 12 17:44:16 2013 +0200

    rootdir: Set permissions for additional interactive sysfs nodes

    Change-Id: I2dbcdcc199c5f75d08e8ebf41cd6768c7648e27b

commit bb6ef12b8dfebc182224742cfd617b45a5cf33d0
Author: Chirayu Desai <cdesai@cyanogenmod.org>
Date:   Wed May 15 12:45:51 2013 +0530

    lolcat

    Change-Id: I4fecd80884a86c2d9bb720c9e821bd1605814d8c

commit 18a7ffa3ce5ad0fbcfcdcd339b45099d1e7a0e68
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Jun 29 15:15:13 2013 -0400

    rootdir: Set permissions for additional ondemand sysfs nodes

    Change-Id: Id39cab7ab69ea8f67de99f5b4ee342e2c52ebedd

commit 47393d0b5f9031da1d8561e8247d4c2843c86049
Author: Brian Carlstrom <bdc@google.com>
Date:   Wed May 29 15:11:20 2013 -0700

    Fixed reversed output in netstat Recv-Q Send-Q columns

    Change-Id: I2bc7ac6c886808910212432497f05e34596f5e85

commit 07d6348aa808a11e4adaf59949232b8abab98c9f
Author: Hong-Mei Li <a21834@motorola.com>
Date:   Mon Apr 1 11:24:44 2013 +0800

    libsysutils: fix null pointer and memory leak issue

    In SocketClient::quoteArg function
    1. Fix potential null pointer accessing issue
    2. Fix potential memory leak introduced by realloc fail

    Change-Id: I1ca0f9089290d43452e9a71428244545f4ed866b
    Signed-off-by: Hong-Mei Li <a21834@motorola.com>

commit bb23f09b4bc5996c88553dcb9857357c1b6516d8
Author: Giulio Cervera <giulio.cervera@cyanogenmod.org>
Date:   Tue May 21 14:23:19 2013 +0200

    init: provide initial pemissions for ondemand governor

    also set all governor permissions a bit late

    Change-Id: I5c1445b31bcaf34a535efd7438fd612ada460ea2

commit cec033819c8cdc14b4504ec7d043ac349952a8df
Author: Giulio Cervera <giulio.cervera@cyanogenmod.org>
Date:   Tue May 21 11:21:58 2013 +0200

    init: fix indentation and tab

    Change-Id: Ia832ab4df5d955b2fa2b791baf9444aca21c2571

commit 27177a2ac54bdc091678428f4da5ba721ac4489b
Author: Daniel Hillenbrand <codeworkx@cyanogenmod.org>
Date:   Fri May 10 08:48:55 2013 -0700

    Revert "init: allow media to set persist.camera property"

    !!! PROPERTY_PERMS_APPEND !!!

    This reverts commit 49506dc95cabe45332a34f9ce594a3115c4428ee

    Change-Id: I815f0145845336834f9022ceba25527c47a9bd5c

commit e5a00df3f63dfa2bf42a4afec0ebf9039fe90acf
Author: Daniel Hillenbrand <codeworkx@cyanogenmod.org>
Date:   Fri May 10 12:26:26 2013 +0200

    init: allow media to set persist.camera property

    Change-Id: Ife28c39da107b53b9c497be9fcbad3159031b8fe

commit fb08443f417178a5cec81b1e4208caef6c7dc278
Author: Koushik Dutta <koushd@gmail.com>
Date:   Thu May 9 23:12:24 2013 -0700

    backup service: fall back to /sbin/bu

    Change-Id: I46c67a401da8de92d7ef81ad40c565bb1d2ef93b

commit 2090ec12d763b1d0a47da42e61a157a2ba4705d4
Author: trevd <trevd1234@gmail.com>
Date:   Wed Apr 17 14:34:23 2013 +0100

    adb : add missing connection states

    Both CS_RECOVERY and CS_SIDELOAD where not being checked by
    connection_state_name which resulted in adb get-state returning
    unknown when a device is in those modes.

    Change-Id: I00716024d6a0bdb68d6e2380c8cd7b5d056bd15f
    Signed-off-by: trevd <trevd1234@gmail.com>

commit abb4829a99998ae22dbeac2869bd142b5ee35427
Author: Nick Kralevich <nnk@google.com>
Date:   Wed Apr 24 16:31:02 2013 -0700

    mount: fix incorrect string length calculation

    Fix bug https://code.google.com/p/android/issues/detail?id=54192
    which incorrectly calculated the length of a string.

    Fix compiler warning:

    system/core/toolbox/mount.c:59:2: warning: initializer-string for array of chars is too long [enabled by default]
    system/core/toolbox/mount.c:59:2: warning: (near initialization for 'options[16].str') [enabled by default]

    Change-Id: If8663f8311c6348a730fcf731d402b57fee10cb5

commit ca593650b0c7bcf2c2390b3af3521a901923587b
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Apr 30 23:32:15 2013 -0700

    init: Load init.carrier.rc for carrier-specific bits

    Change-Id: I941230f035182e27bd62316b594ac457316c37b6

commit 09e79a6d5b39318ebc8797079031ffe96c627b48
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Apr 13 13:16:55 2013 -0700

    adb: Add a few more wait-for commands

     * wait-for-recovery is obvious.
     * wait-for-online will wait for recovery || device

    Change-Id: I70f747bcd201a4157b988d7ed49bcc8e5ff4c85f

commit 3611b9e76d8c82765586e5ef6a95552ed3f99b21
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Apr 13 07:07:11 2013 -0700

    adb: Add "wait-for-sideload" command

     * Waits for connected device to enter sideload mode

    Change-Id: I65b4ad86456c13a3bbc48880e12ab7a034707b88

commit 6a34a5f5a195e0d05c3991ae26aa184cb0128277
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Fri Apr 12 11:40:15 2013 +0700

    libnetutils: add ifc_set_mtu

    Change-Id: I3031e9ee38583648350f2c46baa7a9a714b9ea1e

commit 157bc39fb5a5b629c2e99971554e2d5ddea092a0
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Apr 12 22:22:48 2013 -0700

    liblog: Move log messages from Diag_Lib to radio log

     * This is incredibly spammy and QC specifc. Move to radio log.

    Change-Id: I775ea9d0fbe1b7d32da3f0e8faef28149f0001ac

commit 8eb3d5e2e67b2cd45c1993c8f947828d440060e8
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Fri Mar 22 21:39:09 2013 +0000

    Fix the QCOM_BSP ifdef

    We only want this when the full BSP is enabled.

    Change-Id: I7bb7b0d274d1221c5bb566d4ac24419e1e134519

commit 8317e79fcec3c84d0a108a6b24ce4f7b9abc2f31
Author: ChampionSwimmer <android@championswimmer.tk>
Date:   Tue Mar 5 00:36:05 2013 +0530

    add 8K 16K 32K 64K and 128K pagesizes in bootimage

    Ported from jellybean (was Change-Id: I4bc74ad6b0a473de68c906422bcd7eac00c89793)

    http://review.cyanogenmod.org/33216

    Signed-off-by: ChampionSwimmer <android@championswimmer.tk>
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

    Change-Id: I0ee608b74a1daefe536b9247f99368f3e043f93d

commit efa61acad6d546bac3f4886d38ff932eda4807a2
Author: Mingming Yin <mingming@codeaurora.org>
Date:   Thu Dec 27 17:40:25 2012 -0800

    qcom-fm: audio: Add support for FM feature

    -Define audio stream for FM
    -Define audio source for FM RX and FM RX A2DP

    Change-Id: If24e4c32916f6614e3367b4c9f2cd828562e0347

    Conflicts:
    	include/system/audio.h

commit cdba2de8853ee1df81bcb1ef62a1781b4432b8f5
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Mar 22 06:24:59 2013 -0700

    Set permissions on io_is_busy node for interactive governor

    Change-Id: I9dce40b0680fdb594f415aade22dbd92ebffa43c

commit db6bf600ab8df4d9cdbdd2cab019d1a3bea386b0
Author: Andrew Dodd <atd7@cornell.edu>
Date:   Mon Jun 18 21:19:19 2012 -0400

    init: Check for symlinks with lstat() not open()

    Using open() with an O_NOFOLLOW flag will result in a file falsely
    being determined to be a symlink if the open fails for another
    reason.

    For example, a character device that isn't ready due to the
    underlying hardware not being initialized yet will fail to open()

    An example of this are any CG2900 device files prior to
    execution of ste-cg29xx_ctrl

    This uses lstat() instead of open() with O_NOFOLLOW to check
    whether a file is a symlink or not.

    Change-Id: Ie0d8d94b426c84c29b1b04d41a4cc15536cb307c

commit ca9f8ed848cfc51839185837897aa65ef07aba73
Author: codeworkx <codeworkx@cyanogenmod.org>
Date:   Thu Jan 31 17:34:51 2013 +0000

    init: create mountpoint for fuse

    Change-Id: I8bd80bbcacc8f01ac4df17e013d3d68d2b86e02f

commit c88de9fab033c4428f38a2be50ddb97eea66b8b9
Author: Giulio Cervera <giulio.cervera@cyanogenmod.org>
Date:   Thu Feb 14 12:22:00 2013 +0100

    fmradio: cleanup QCOM_HARDWARE/STE_FM defs and ifdef

    Change-Id: I00b5e6536511b3bedee6105bf010ee2b5f2e36ac

commit b1c34f6d2f1bd3d5f4fea66bb3c8429d1551275f
Author: Thomas Wendt <thoemy@gmx.net>
Date:   Tue Feb 12 19:18:50 2013 +0100

    Fix audio recording for ICS audio blobs

    This fixes audio recording when ICS_AUDIO_BLOB is set because
    AUDIO_DEVICE_BIT_IN was not used with ICS. Add #ifdefs to use the old checks
    again.

    Change-Id: I33b37e74d33fed7ab0bc2af9907e07d799b0ec0e

commit d4188e0a06bd4a05f6223c5ea7bc5768df2d94db
Author: jt1134 <jt1134@gmail.com>
Date:   Fri Feb 8 21:32:36 2013 -0600

    rootdir: set perms on ondemand governor's up_threshold

    Change-Id: I0a042a81be677821fa4099a3e19281d390dd27c3

commit f78834a775fd0323f8c3194618e7458e98d86768
Author: Steve Kondik <shade@chemlab.org>
Date:   Thu Feb 7 21:16:58 2013 -0800

    rootdir: Set perms on interactive governor's min_sample_time

    Change-Id: I75e9f424af731bdf1ca222eee2f4f18b20a6552b

commit 5e63755ae55637d3d77b77da359b4acec4f432dd
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Sun Feb 3 22:21:32 2013 +0700

    charger: do not suspend when handling home

    When using Google's suspend implementation, home press should also wake
    the device from suspend

    Change-Id: I51f3e45c5cb418b0b3718e7223a1336876379043

commit d0d0561440f35e04fb25a45d4c67dae3a8c137e7
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Thu Dec 6 22:16:01 2012 -0600

    Init: Allow building of init that is compatible with second init boot

    When using second init init has already set up /dev /proc, etc
    this will prevent duplicate mount points for those
    Define BOARD_USE_NO_DEVFS_SETUP := true to use

    Change-Id: I5620664b32e08f39da7ef7c7f9c3824d01f930d6
    Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>

commit 4a8f70d11b225fbf56aca6e494f4de35fc727dc7
Author: Mike Kasick <mike@kasick.org>
Date:   Tue Jan 22 22:48:42 2013 -0500

    init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

    Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik
    can later mark /storage as slave in zygotes.

    Must mount in early-init as some devices' init.hardware.rc populate
    /storage then, which the tmpfs would overwrite if mounted later.

    Must use tmpfs as rootfs can't be bind mounted (otherwise "mount rootfs
    /storage /storage bind" would work as an alternative).

commit 1e07014af2319f08c128c7702251c42e71742edb
Author: Naveen Agarwal <naveen.agarwal@stericsson.com>
Date:   Fri Jul 6 17:38:57 2012 +0530

    FM Radio: Add support for FM Radio in Android

    Creating interface and framework for using FM Radio
    RX and TX from different vendors.

    Change-Id: I1a71aed01bfffdddfabf1cdfbfa3707cb1ed016b
    Signed-off-by: Benn Porscke <benn.porscke@stericsson.com>

    Conflicts:
    	include/system/audio.h

commit 1439be40ea3930579bb86094cd9349e49c71f805
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Jan 21 08:45:21 2013 -0800

    Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes"

    This reverts commit 36454361efaa4d30a6c8c2cca49121e35ef74f7e, since the tmpfs is clobbering mountpoints created by init.hardware.rc. Most (all?) devices with non-emulated SDs are currently b0rked.

    Change-Id: Ib34660e2d45473775757e94800fc4ec57f6c8d77

commit 81a6536663321f1912723a3e4efa37cfa73c856a
Author: Andrew Sutherland <dr3wsuth3rland@gmail.com>
Date:   Sun Nov 25 18:31:20 2012 -0600

    unpackbootimg: remove host LOCAL_MODULE_TAG

    Change-Id: I199d680dc5ab8bf50f5be65c29095bf3adade695

commit 761e96511a25168f9647881397c94a2dad6e8c89
Author: Mike Kasick <mike@kasick.org>
Date:   Thu Jan 10 17:45:33 2013 -0500

    init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes

    Mount a tmpfs as /storage in order to create a mountpoint, so that Dalvik
    can later mark /storage as slave in zygotes.  Must use tmpfs as rootfs
    can't be bind mounted (otherwise "mount rootfs /storage /storage bind"
    would work as an alternative).

commit 7ebf2234385514227955dcafd2f6fb9bbe79070c
Author: Prashant Somashekar <prashsomash@gmail.com>
Date:   Mon Dec 24 03:03:15 2012 -0500

    audio: fix build break for non QCOM

    Output:
    error: 'AUDIO_DEVICE_IN_ANC_HEADSET' was not declared in this scope
    error: 'AUDIO_DEVICE_IN_FM_RX' was not declared in this scope
    error: 'AUDIO_DEVICE_IN_FM_RX_A2DP' was not declared in this scope
    error: 'AUDIO_DEVICE_IN_PROXY' was not declared in this scope

    Change-Id: Ie18c623303b944544b68eecca6208607d54b1c9a

commit e27b162e45cd64fbd17a67a5229e4c1d894b6ce0
Author: Mingming Yin <mingming@codeaurora.org>
Date:   Wed Nov 28 15:33:09 2012 -0800

    audio: add QCOM supported audio devices

    - Add ANC headset, FM, and proxy devices

    Change-Id: Ib7b7495ed69ca3ab072c5512e9286da8d3538682
    (cherry picked from commit fd629294bcaaa2cb70befc631f7596439d6cbe70)

    audio: add support for QCOM audio formats

    - Add support for EVRC, QCELP, and WMA formats

    Change-Id: Id5f7845ff7bc609e947f93d8647ad3f3e57babfb
    (cherry picked from commit 8b3476f14882afa74e9c3b778d9ccbd97ee329f0)

    audio: add QCOM supported audio channels

    Change-Id: Id29cb6949e137be8fb71d8d45e8e12bc47795f40
    (cherry picked from commit 2fe37a40228c97e6f3b0575d94d4ec50b4dde1d6)

    system/core: Add Qcom specific audio flags

    - Support for Tunnel Mode Playback
    - Reserve the LPA and VOIP_RX flags

    Change-Id: Ifcbeb2a28feb86b030f48010a8a4e9cda8629e5b

    Add ifdefs for QCOM enhanced features

    Change-Id: Idefa831ecb4fdb881c990ba02ab4ab0ab7871986

commit 4a560afb2cc70298be46d054d1cd347ee06ce8e3
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Dec 23 01:17:07 2012 +0000

    audio: Fix input enums for pre-4.2 audio blobs

    Change-Id: Iec9f8d915d069168664d2cd873574db7fe5cddc7

commit 4fe3bef847a7aa393d3f378c9e024e58713930b4
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Dec 11 17:53:36 2012 +0700

    Set ANDROID_PROPERTY_WORKSPACE in exec.

    Change-Id: Ib827bf14b4463ca6277b79256bcc4cd70f63fc31

commit 6204dafc35a8e8713b161f70a531899d21008dff
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Dec 7 15:44:58 2012 -0800

    camera: Add new commands to compatibility block

    Change-Id: I2952963661abf17f55eca811a8d4e8fc87933df0

commit b9b0a70ebdc65962c721ad27fca0037d41770dd5
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Dec 7 11:40:11 2012 -0800

    Revert "init: Never allow two same-service processes to exist simultaneously."

    This reverts commit abe57d0b4e994e31eb31ec98dfa6d4b74e29502e.

    Revert "Restart oneshot services when manually restarted."

    This reverts commit e889a4746b6f3cd1c6749312c255b14eedc5f778.

    Revert "Safely restart services to avoid race conditions."

    This reverts commit 9d1a567eb0d6ac8d0040228e7c41668c8e3eb37e.

commit f28ec66f3d089f699007e2ea7f6167eb769fc17f
Author: Emerson Pinter <dev@pinter.com.br>
Date:   Mon Nov 26 21:48:12 2012 -0200

    liblog: add required function

    Some Motorola proprietaries require a function named __android_log_loggable. This
    change adds the function and solves problems with radio and other
    binaries on qualcomm based Motorola phones. This code is activated with
    TARGET_USES_MOTOROLA_LOG:=true

    Change-Id: I722b42d34198c027f265c3cf9f220d9798814915

commit 7565731e8b21acce2b3ee346c80475983dee0fd9
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Dec 2 07:34:02 2012 -0800

    rootdir: Add mediaserver to qcom_diag group

     * QCOM audio drivers need this.

    Change-Id: I3cba0356e2995951208fee5e180e56b1afbc7158

commit 656916bd55dc2508ec5bc42afe25bc0c9168fbdc
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Dec 1 08:24:52 2012 -0800

    libion: Support for old ION API

     * Kernel 3.0 doesn't have heap_mask or SYNC ioctl, so add a board flag
       so that proprietary code that uses the old kernel API directly still
       works.

    Change-Id: I4227c79a5de46c60eeebd2e16ca88dd6d580916a

commit cb878d7df599bc52268a733dbafc77925965d46d
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sat Dec 1 18:38:53 2012 +0000

    init: Bring back support for arbitrary chargermode cmdlines

    This was accidentally removed while debugging the init breakage
    fixed in change I8ef5c932efcd5e7f8d6f6fce0915683d84c3ee11. Put
    it back

    Change-Id: If35b9d5db281f8aab6de26f2bb63717d28b2db30

commit 6c6639220dac72fa9f7663813d05973a455947d3
Author: Chirayu Desai <cdesai@cyanogenmod.org>
Date:   Sun Nov 25 16:14:19 2012 +0530

    toolbox: new applet restart

    - stop + start
    - for the lazy.

    Change-Id: Ie0ef0e27f5b7819a5575ece6b82c5813f4e38420

commit 0ae3d7ed13d7184aef05e394a61431627a7ec55b
Author: Koushik Dutta <koushd@gmail.com>
Date:   Sat Nov 24 16:14:32 2012 -0800

    ramdiskaddr is now ramdisk_offset

    Change-Id: I3bf83af5f7001f581506dc7fd9b1eb653334ad35

commit 255671bdaf3d8081d6dfd2510f69739f60651f63
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Fri Nov 23 17:12:30 2012 +0000

    init.rc: Move CM's sysinit to the init.cm file

    Its current location is broken due to a race condition, anyway...

    Change-Id: Ic371455521d10fc09c81331c4c4faeab5cfb89d1

commit 0b36660d80429c1ef036d647b17234d66be75d7b
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 19 21:55:32 2012 +0000

    Fix /cache permissions for the dexopt cache

    Change-Id: Ibbecac2b5a89d7fa7fb09c5be1d2bc3db766f885

commit ca7f851d14b2062632137e8ab76e9881562ffe4f
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 19 18:04:21 2012 +0000

    Deprecate distinct boot paths for androidboot.emmc

    Qualcomm used to require a "on emmc-fs" to distinguish multi-boot
    devices, in replacement of the usual "on fs". This distinction has
    been deprecated in jb, and it's breaking mako

    Change-Id: I8ef5c932efcd5e7f8d6f6fce0915683d84c3ee11

commit 054502f92c2814de8c5219aa636e87a0e05ef47d
Author: David Ng <dave@codeaurora.org>
Date:   Thu Aug 23 20:40:33 2012 -0700

    init: Add support for properties expansion in exec command

    Add Android properties expansion to 'exec' arguments.
    E.g.  exec /system/bin/log ${sys.usb.config}

    CRs-Fixed: 390942
    Change-Id: Ie520396d951e578bd9f591734a45d2f460b8f51d

commit db85566a5f47d4fd8a20ba4e667bb3d9385bce95
Author: Shashank Mittal <mittals@codeaurora.org>
Date:   Wed Jul 25 13:12:21 2012 -0700

    Add support for exec command in init scripts.

    Change-Id: Iee523fd75410718f0bd090f5fdcba50825a698c4

commit 10e0f1521bca27c53398cb0977e3a0ede8367ebf
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 19 17:31:50 2012 +0000

    Revert "init: Implement exec support"

    This reverts commit 2f0ed0d3ced82e53b1fc1f994c6bd3e97683264c.

    Change-Id: Ia0754c913da3d20c4e0c207ca479c043d394944e

commit 23e44ea8029cba1e89fc25b869f703f57c71a8b0
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 19 17:31:24 2012 +0000

    Revert "init: Add support for properties expansion in exec command"

    This reverts commit 590e70506cab66bd6b41adfd15ef09bb42df2953.

commit e7179e386295f1525a86f2492d8e00eba84dbaef
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 19 16:41:26 2012 +0000

    adb: Fix missing header paths

    Change-Id: I570b631ced11ab104aafe7ebfe71bae4e380d8af

commit c6ec5bc7a1055b1850ec05146aded3f2d8c9b82d
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 19 16:28:39 2012 +0000

    Revert "init: Check for symlinks with lstat() not open()"

    This reverts commit f3e86113ceae0e58735ca99754d77b1b9d1a83b5.

commit 71e4d8d212d2933fd802c794da82fd12e37f5534
Author: Giulio Cervera <giulio.cervera@gmail.com>
Date:   Thu Oct 11 14:56:01 2012 +0200

    Update tcp buffersize settings

    Soem of these values are from CAF, some of these are
    from various shipping devices, some are educated
    guesses based on the properties of each connection.

    In general, the higher the bandwidth-delay product
    of a network, the larger the buffer needs to be.

    Change-Id: Idd8cd27727b5e66bd3a46be5f9853380acbda8ba

commit ee825465fbc8fe0affdc887767f5c9445ab7539f
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Sat Jul 21 22:09:37 2012 +0700

    charger: allow home button to wake

    On certain devices (e.g. galaxysmtd), the user expects the physical
    home button to be able to wake the device as well as the power button.

    Change-Id: If764f36aba3810dfa5233af8baf0a740b04889e0

commit be490115e6fbaa5ee790f5bc1a7be470f7fe795c
Author: dhacker29 <davidhackerdvm@gmail.com>
Date:   Fri Nov 2 11:43:02 2012 -0500

    Allow a device to define the max number of service groups in init.h

    Certain proprieatary binaries (such as tcmd for instance) require
    more than 12 supplementary service groups.  By definiing:
    TARGET_NR_SVC_SUPP_GIDS := in BoardConfig this can now be changed
    per device.

    Change-Id: I8f968adc21768ca90232ded7b7e1ffa68dc7ea78
    Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>

commit 9998f176c64bf0aa72be9ba439627842aa661309
Author: Mike Kasick <mike@kasick.org>
Date:   Thu Oct 25 22:08:55 2012 -0400

    init: Allow device-specific appends to the property service permission structs

    Extends device_perms.h API to allow property_perms and control_perms to be
    appended on a device-specific basis, without needing to redefine the entire
    struct contents.

commit 0ac38b4bccfc55d18dfd53cc185a04723b371909
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Sep 23 01:14:51 2012 +0100

    libion: Disable for omap3

    the omap3 HAL repository has its own modified libion, which is
    necessary for the openmax libraries

    Change-Id: Ic6f175fe456a2891d5556d937c3073215b861981

commit ff980316045dbc4508c2a0eebcc9346e29a65489
Author: Giulio Cervera <giulio.cervera@gmail.com>
Date:   Sat Oct 20 19:11:53 2012 +0200

    Provide permission for graphics to set service.bootanim.exit prop

    Change-Id: If23d14172022907fcefdcf7430904eb560d4d64c

commit 3ddce280a9d5c8fd65c95ded8946e7179618f993
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Thu Oct 18 16:31:17 2012 +0100

    init.rc: Fix compcache and cleanup init file

    The "import" keyword is only parsed once, for a one shot execution, during
    the initial section setup, and before running "on fs". Having an import of
    a file that's located in a filesystem other than root will result in an error
    like

    <3> init: could not import file '/system/etc/init.local.rc' from '/init.rc'

    So... any files imported into init need to be moved to the root fs.
    While we're at it, move init.rc changes that are specific to CM (and don't
    involve modification of preexisting configs) into this file, to ease future
    upstream merges.

    Change-Id: I0f70ffad874648198acde67c12e1a7833552ad7c

commit 8f2e56682cd3030d02f0abb255cbd0f7bef68d96
Author: yyjdelete <yyjdelete@gmail.com>
Date:   Thu Oct 11 16:47:26 2012 +0800

    adbd:fix framebuffer handle when(fbinfo.size % 640 != 0)

commit 2bbe770163fc5264afa01f1d7d3115b3309d6403
Author: James Sullins <jcsullins@gmail.com>
Date:   Sun Jun 24 07:07:42 2012 -0500

    toolbox/dmesg: do not hardcode KLOG_BUF_LEN

    Change-Id: Ia99654a53d6adfeba5a5088b7cff45c6e47b6188

commit 86a19f0928685a5b9893729fe55cce4891efc293
Author: Richard Ross <toastcfh@gmail.com>
Date:   Thu Oct 4 16:00:23 2012 -0700

    Add HTC Logging functions to support newer HTC props.

    ifdef'd with HTCLOG.

    Patchset2: remove unused function.

    Patchset3: add indents to returns.

    Change-Id: I70d0a6878dddf0f41d96735febda82c93496d8ec

commit 45bb5b6c19e226026ce7018c338528890217dc83
Author: David Ferguson <ferguson.david@gmail.com>
Date:   Wed Sep 26 06:36:14 2012 -0400

    charger: make default to not suspend in charge mode

      * http://r.cyanogenmod.com/#/c/19760 made the device suspend in
        charge mode when the animation was not displayed. Previously
        the device never suspended.
      * The above change broke charging mode on some (maybe many?) devices
        that do not properly handle suspending in charge mode.
      * This change brings back the more compatible default behavior of
        not suspending in charge mode and introduces a new BoardConfig.mk
        variable called BOARD_ALLOW_SUSPEND_IN_CHARGER that, when set to
        true, will suspend in charge mode.
      * This allows devices that support suspend in charger to opt-in
        instead of having to opt-out previously working devices.

    Change-Id: I5a480e34ba5946a52e371ac79a965ecee5471c5a

commit aa4525e2358d5ed64c1c7fd1b4aa1ae3c31191de
Author: Tyler Luu <tluu@ti.com>
Date:   Thu Feb 2 11:14:28 2012 +0200

    Add RAW burst message

    Change-Id: I5b42c66485151d1ba9eea8fbe58d334c2a892c24
    Signed-off-by: Tyler Luu <tluu@ti.com>
    Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
    Signed-off-by: Daniel Levin <dendy@ti.com>

commit fc634de251d52b3ff6d1fe7b56e459bb6d65e75f
Author: x0118064 <saravanan.s@ti.com>
Date:   Mon Sep 26 15:49:53 2011 -0500

    Camera: Adds burst camera message type

    Change-Id: I5ae041ae6062367abd8f8f59879846ae4ef3f72b
    Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com>
    Signed-off-by: Emilian Peev <epeev@mm-sol.com>
    Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com>
    Signed-off-by: Daniel Levin <dendy@ti.com>

commit 2766a1ae295b378244e57c6953c74c8fee02328e
Author: Steve Kondik <shade@chemlab.org>
Date:   Mon Sep 24 12:10:32 2012 -0700

    rootdir: Tighten permissions on boostpulse nodes

     * New PowerHAL code will only write to this as the system user, so
       remove the need for it to be world writable.

    Change-Id: Ia9e69a6feff7c5ef1ff34a1180225e4008e8130f

commit e17a88df15d8d9a991aa3576c3627d06cd2c55c0
Author: Niranjan Pendharkar <npendhar@codeaurora.org>
Date:   Wed Nov 16 12:50:36 2011 -0800

    core: Add API to retrieve mtu size

    Adding an API to libnetutils to retrieve mtu size of an interface
    Made few utility functions from ifc_utils public

    Change-Id: Iddec2dcd9f241b146d7f362e2df0724cf740d1f2
    (cherry picked from commit 108cded7d96cc347f36b5b78c404c5ebccce13d7)

commit 99e8edcf35ff77a8c1ae90e8084220ebca5515d6
Author: Steve Kondik <shade@chemlab.org>
Date:   Thu Sep 20 20:14:11 2012 -0700

    init: Set the "ro.boot.emmc" property

     * QC switched to this from the old "ro.emmc" property.
     * Set both values since many things depend on this.

    Change-Id: I958dbb13b08bd576ad16318683a0eac45dfc6fee

commit 6408acd87a4da364c2713ffe6ea990ede924de6d
Author: Steve Kondik <shade@chemlab.org>
Date:   Thu Sep 20 17:08:37 2012 -0700

    rootdir: Add terminfo path

    Change-Id: Ic879b77d1c34ebedf0f790648d286441d6b2bed1

commit 883df89bf7e99de2522c9676a7f40d6d56c70370
Author: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
Date:   Thu Aug 9 00:58:43 2012 -0700

    system/core: Add command NATIVE_WINDOW_UPDATE_BUFFERS_GEOMETRY

    Add native window command to update buffer buffer width, height
    and format before queuing the buffer.

    Change-Id: Ic133f89afb762cfce5084af820af5f9bad2a4a0b

commit f53172bfbcb5826594f4439b5a7b5cc94cc4360d
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Sep 11 20:10:38 2012 -0700

    rootdir: Update cpufreq permissions when governor changes

     * Requires a kernel change to send the uevent.
     * This should alleviate some frustration that the performance/kernel
       folks have expressed regarding the Power HAL.

    Change-Id: I31e6e13534159214a3b600082b7c0e4249433364

commit 2d73216f4c6a8535eb0849ea828ff3f1a35b179d
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Sep 11 11:23:49 2012 -0700

    Revert "libpixelflinger: Build NEON optimized routine per target configuration"

    This reverts commit bdfea1e7a961370679c7b4cf0d652bab54653389.

commit 6c5f927563cbfb445a4671ea2bd6170ee1fe537e
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Sep 11 11:23:38 2012 -0700

    Revert "libpixelflinger: Add ARM NEON optimized scanline_t32cb16"

    This reverts commit 8ec8b960b01dc1aab2be67f50b608b1a23f33959.

commit 070e27eba10ba912f72adc748726b9a31c70e3bc
Author: David Ng <dave@codeaurora.org>
Date:   Thu Aug 23 20:40:33 2012 -0700

    init: Add support for properties expansion in exec command

    Add Android properties expansion to 'exec' arguments.
    E.g.  exec /system/bin/log ${sys.usb.config}

    CRs-Fixed: 390942
    Change-Id: Ie520396d951e578bd9f591734a45d2f460b8f51d

commit 5a511b972434edf1630e8c65c4b4af49e879abec
Author: David Ng <dave@codeaurora.org>
Date:   Wed Jan 4 12:15:11 2012 -0800

    init: Add "export_rc" command to export env from a specified file

    New export_rc command to import environment variables from
    a specified file at the time the command is executed.

    Differences between "import" and "export_rc":
    1) export_rc can only import environment vars
    2) export_rc is performed when the command
       is executed rather than at the time the
       command is parsed (i.e. "import")

    Example:
    in /init.rc:
        on post-fs
            export_rc /system/etc/init.xyz.rc

    in /system/etc/init.xyz.rc:
        export LD_PRELOAD /system/lib/libxyz.so

    Change-Id: If616dea5b508c27e9f7a95b5e9db696ecea2fdee

commit 802560ac515edde72ef899dee8d003c15e1e4e4b
Author: Steve Kondik <shade@chemlab.org>
Date:   Thu Sep 6 01:19:55 2012 -0700

    Revert "window: Add API to set the min undequeued buffer count"

    This reverts commit ef6d451e17a2696e017b0e683079d049893fd1b7.

commit 43ed641a04a407dc5852e2afd92e6943e502163c
Author: Aviral Gupta <aviralg@codeaurora.org>
Date:   Mon Jul 30 00:07:46 2012 +0530

    include/system: JB upgrade for the MPQ8064

    Include the flags for the MPQ8064.

    Change-Id: Ic1bd11d341456a8b217d63cddbb19a9a92ee86c5

commit 25b3011f785f7227fb91ed61b16a0d99d8c8308d
Author: Jim Huang <jim.huang@linaro.org>
Date:   Sat Apr 9 01:15:28 2011 +0800

    libpixelflinger: Add ARM NEON optimized scanline_t32cb16

    It can dramatically improve the performance of boot animation.

    Change-Id: Idc611c15ec9270eb638412d72021880d813e3d9c
    See: https://android-review.googlesource.com/#/c/16358/

commit cae7147df84abb4fe885cf6eb09e7f7e1c18ce79
Author: Jim Huang <jim.huang@linaro.org>
Date:   Fri Apr 8 03:45:08 2011 +0800

    libpixelflinger: Build NEON optimized routine per target configuration

    The variable TARGET_ARCH_VERSION variable has been renamed to
    TARGET_ARCH_VARIANT, and armv7-a-neon is the exact target enables
    ARM NEON instructions.

    Change-Id: I999e3b0b8f3a03ff31346f83eb66ac52edc8d551
    See: https://android-review.googlesource.com/#/c/22208/

commit bf8fc389761a6efd28c854bfdc5a8f03d1af46ca
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Aug 26 13:07:16 2012 -0700

    window: Add API to set the min undequeued buffer count

     * Raising this value globally has some effects on other parts of the
       system. We need to control it dynamically.

    Change-Id: Ie11c7a7e53006aad710aebce64c02d3a3f64ade1

commit 3dec53ff07c93e043b01c33cec995814e4627bd4
Author: Marcel Bokhorst <marcel@bokhorst.biz>
Date:   Sat Aug 25 21:37:20 2012 +0200

    Permissions for I/O scheduler settings

    Belongs to:  http://review.cyanogenmod.com/22127

    Change-Id: Ic641a368b445afd2959eb98b7ae4b18f3adfbaea

commit 3a96b03625fdb95ef7fe92546476c6b7fefd151d
Author: Sidipotu Ashok <sashok@codeaurora.org>
Date:   Fri Aug 3 10:47:13 2012 +0530

    audio: Add a flag for VOIP RX

    Change-Id: Iecb8c3a7b247c0a839b4b145574e2c4f35dbce64

commit 7c2a764e073d4d3f8c060244d029dd5288943fbf
Author: Dixon Peterson <dixonp@codeaurora.org>
Date:   Fri Jun 29 17:19:17 2012 -0700

    diag: Remove world read/write permissions from /dev/diag

    /dev/diag has world read/write permissions which is considered
    a security risk.  Remove these permissions.  Add new qcom_diag
    group for access to /dev/diag

    CRs-Fixed: 356415
    (cherry picked from commit 14c85ec56fd47c5eb143617a3bd5a6e7ee39cb6e)

    Change-Id: I536323a97e19a07bbd8eadffa0265d1955590285

commit af81eea8ede0fce66c478dd57da3ca71af808154
Author: Vidyakumar Athota <vathota@codeaurora.org>
Date:   Fri Jul 6 18:29:42 2012 -0700

    audio: Squashed set of commits for QCOM audio features

    system/core: Add audio enums for QCELP/EVRC feature support

    - Added required enums for QCELP/EVRC features.

    Change-Id: Ib6b2297ebc9cac785fec99c3c2c80b1ad9b774f6

    system/core: Added changes required for tunnel mode recording

    - EVRC and QCELP format values are interchanged, due to
      this EVRC/QCELP are not recording with proper header.
    - Added preproc_ctl, evrc/qcelp for tunnel mode recording.

    Change-Id: I93db3170895387bec43a62214aa5d65aaab40c87

    system/core: Add output flag for LPA and Tunnel

    Change-Id: I621818502c273b2c8aba37f64a83539450a1aafa

    audio: VOIP bringup and support for vocoders.

    Setup permissions for MVS driver.

    Add vocoder types.

    Change-Id: Ie150be9b01137628ba3e3ea788d429096ba1f413

    system/core: Add enums for voice call recording.

    Add enums for voice call recording

    Change-Id: Idd5cd19573c48a0a782bcd56cca38b4901391bbf

    system/core: Add support for surround sound recording

    - Add 5.1 input channel definitions and masks

    Change-Id: I24375c0d9443cd6e8dd58114464bf9f528b97d43

commit f3cf8f7a84482944e5acc353dd4ca667cf6783eb
Author: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
Date:   Fri Aug 3 21:09:25 2012 -0700

    system/core: Add command NATIVE_WINDOW_SET_BUFFERS_SIZE

    Add native window command to set user defined buffer size.

    Change-Id: Ib500e65283706d860d62cb487720008d7331ce2d

commit 7002d89fbcb83afab26f42b0860d27551a62d7d2
Author: Darren Landoll <darren.landoll@gmail.com>
Date:   Fri Aug 10 20:42:30 2012 -0400

    Fix PowerHAL cpufreq permissions

    The process containing PowerHAL didn't have group permissions to open
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor|max_freq|min_freq.

    Modified permissions to match AOSP using the system user as the owner.

    Change-Id: Idbdad8b00b8ad7d7d2a845287cccbabb58fc5aba

commit 16df3e735fb02a2339e7a6069915508b8244bc3e
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Tue Aug 14 10:48:04 2012 +0100

    init: Reintroduce support for the older charger modes

    For devices with pre-ICS bootloaders, bring in the support for
    arbitrary cmdline charger flags from CM7

    Change-Id: Ibf887f6aeca0b68aa38fe035aa586aed502f1662

commit 8e53643937019f941484f3dc2af4b17aad024a45
Author: Pawit Pornkitprasan <p.pawit@gmail.com>
Date:   Sat Jul 21 13:14:11 2012 +0700

    charger: suspend when not animating

    Suspend will save power (i.e. charge faster) by disabling unneeded
    devices such as the touch-sensitive keys on galaxysmtd.

    Change-Id: I9b2eae1af2e9687546af9dcb10ce1fcb4c1e1ed6

commit 364bd209b3c282393bc1175c9a145ee38d56c348
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Nov 16 00:09:57 2011 -0800

    camera: change camera node permissions and add certain parameters.

    Change-Id: Ia68160601c2b2ba3eebde9963b3972f2a09ff84a

commit 7e2d2c54abacb0bd9c85509d6f35b44fa50ad5d7
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Wed Jul 4 15:26:57 2012 +0100

    init: Add a mechanism to extend the property service in device configs

    Instead of every so often adding a new set of stuff here for a specific
    device, let the device includes overload the property arrays. The
    new device_perms.h header documents it

    Change-Id: I477e27abebeb4b85abe5fcaf19333999b1625417

commit a4be3d9d4132008e88fc17df9798f5d719b02806
Author: Koushik Dutta <koushd@gmail.com>
Date:   Tue Jun 19 21:21:51 2012 -0700

    unpackbootimg: Need to also update the written file.

    Change-Id: I45faddbae85273c79b2837f97933634b6e70546f

commit e48f8805166bb99348c888d377d4c920908007bc
Author: Koushik Dutta <koushd@gmail.com>
Date:   Tue Jun 19 21:19:42 2012 -0700

    unpackbootimg: apparently mkbootimg no longer accepts hex values

    Change-Id: I95a33f7b40470e4500d418d863a65a75e7aa8499

commit 55b81097242b8de2c37254740a200d7930543f30
Author: Koushik Dutta <koushd@gmail.com>
Date:   Tue Jun 19 19:00:37 2012 -0700

    unpackbootimg: Fix magic search.

    Change-Id: I68470b637556a08e48ff72b7ef8811cba13b04ad

commit 83cd9c8b1d472cd3bfa6bf4d7766ac3841da84de
Author: Koushik Dutta <koushd@gmail.com>
Date:   Tue Jun 19 16:57:20 2012 -0700

    unpackbootimg: Fix up the padding search in case the magic does not fall on a 8 byte boundary.

    Change-Id: I57471f9c2117cd7965b6958ea0aa88e356436da6

commit 0d469c5637cd6b8bb69159cbca8e2fa70192fbc1
Author: Koushik Dutta <koushd@gmail.com>
Date:   Tue Jun 19 16:51:46 2012 -0700

    Update unpackbootimg to verify the Android boot image magic value. It will also search the first 512 bytes for padding.

    Change-Id: I490cba05f2bb616a3f64e3271ecaa61eb9e64be8

commit 178c7f732654fb8cf3fbf101bf2f79be6e7dcbae
Author: Andrew Dodd <atd7@cornell.edu>
Date:   Mon Jun 18 21:19:19 2012 -0400

    init: Check for symlinks with lstat() not open()

    Using open() with an O_NOFOLLOW flag will result in a file falsely
    being determined to be a symlink if the open fails for another
    reason.

    For example, a character device that isn't ready due to the
    underlying hardware not being initialized yet will fail to open()

    An example of this are any CG2900 device files prior to
    execution of ste-cg29xx_ctrl

    This uses lstat() instead of open() with O_NOFOLLOW to check
    whether a file is a symlink or not.

    Change-Id: Ie0d8d94b426c84c29b1b04d41a4cc15536cb307c

commit 35645ba74b4342d5e2c5d7c6157720dd25296bb5
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date:   Mon May 28 11:19:03 2012 +0200

    charger: allow custom charger res

    Example: BOARD_CHARGER_RES := device/samsung/galaxys2/res/charger

    Change-Id: I4cf359974475c06d219cb92c38efa2b8223ae367

commit e9af2e75a46f19d80dd8c923e7599cc39ab3ded0
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat May 26 22:27:58 2012 -0700

    charger: Add support for non-standard charging interfaces

     * Certain devices may have multiple battery devices or broken uevent
       reporting when a power supply is disconnected.
     * Add a new BOARD_BATTERY_DEVICE_NAME to force which device to monitor.

    Change-Id: I3045bf17a4d962cc5f0e6a951472916412ac0d0d

commit f010f590d6c451cf7f5bea87443e21a7d832e2d9
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat May 26 14:30:47 2012 -0700

    init: Add option to disable the initlogo

     * It looks like crap on some hardware due to different framebuffer
       formats. Just disable it if the option is set.

    Change-Id: Iad8ca25072fd16ca984050c6605bc1646821bee1

commit 1167a165d4bb30ab6883b4911001a50210121d76
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun May 20 21:28:58 2012 -0700

    init: Properly detect hardware revision

     * get_hardware_name was returning early if the hardware type was set on
       the command line, and not proceeding to parse it from /proc/cpuinfo
     * Fix it so that it always parses ro.revision :)

    Change-Id: Ib5d31d536066fc6829db756cb6e5f003a05bf440

commit 6e6a766fee4b096ce235e9d218568f9e1a3922ee
Author: David Ng <dave@codeaurora.org>
Date:   Mon Mar 5 12:14:19 2012 -0800

    init: Increase maximum number of Android properties to 372

    (cherry picked from commit 2af5dedb813b5f2fb1355ccf6e4a5de2378665d6)

    Change-Id: Ic4b45a10196b24ba2e4798fef45a125f9f3dbf15

commit c4c59a5bde8b7faf43a3653ca61a6e4e5bc93a6f
Author: Alex Yakavenka <ayakav@codeaurora.org>
Date:   Mon Nov 14 17:25:04 2011 +0900

    Add required permissions and files for data

     - Add /data/radio
     - Set gateway property after DNS
     - Allow radio users to set properties associated with
       all rmnet interfaces. Not just rmnet0

    Change-Id: Ia60fcb8f90aa73ffd40e839b93356ee50a9e5072

commit cf2e899e0c2aed2afe37e33b0b24be81693b2c9d
Author: Steve Kondik <shade@chemlab.org>
Date:   Wed May 9 19:51:24 2012 -0700

    init: Add an emmc-specific configuration file

     * Load init.emmc.rc if emmc_boot is set
     * This makes startup much cleaner for devices with a mess of vendor RC
       configurations.

    Change-Id: Ifa6d0ca104c11e037740690da0ff6284c2f4a3ca

commit 22b7058244ae7084ccdf71289305816385783a1a
Author: Sebastian Schmidt <yath@yath.de>
Date:   Sat Apr 14 11:52:43 2012 +0200

    Increase CMD_ARGS_MAX in FrameworkListener

    This increases the maximum number of arguments for a framework command
    from 16 to 32. 16 arguments are already used by NetworkManagementService
    .startTethering().

    Change-Id: I0b369889f7f790f43f9c89da0c4e133a342debd7

commit c96c458fe3217b6155adb59bd15278fee2bb6354
Author: Warren Togami <wtogami@gmail.com>
Date:   Sat Mar 3 23:48:46 2012 -1000

    Modular backuptool.sh.  Executes backup and restore methods defined in arbitrary /system/addon.d/*.sh scripts.

    Set permissions on /system/addon.d/ and files within.

    Patch Series
    ============
    http://review.cyanogenmod.com/#change,13265
    CyanogenMod/android_build
      * edify generator
    http://review.cyanogenmod.com/#change,13266
    CyanogenMod/android_system_core
      * permissions on /system/addon.d
    http://review.cyanogenmod.com/#change,13267
    CyanogenMod/android_vendor_cm
      * 50-cm.sh reference backup script
      * modular backuptool.sh
      * support backuptool.functions used by /system/addon.d/*.sh scripts

    Change-Id: I4f1464ea8d55f45d47ba760a7a448036a46feb00

commit 17601fa620e26970ebe78a4422a38c392aad333b
Author: Giulio Cervera <giulio.cervera@gmail.com>
Date:   Thu Mar 1 12:36:24 2012 +0100

    core: allow radio users to access all rmnet* interface

    Change-Id: Ibc3bf9654cf68362369422f82afe53ef86e3e710

commit 20414373427e5671b3f87df4b303969d848d3802
Author: Mike Kasick <mike@kasick.org>
Date:   Mon Feb 6 10:32:34 2012 -0500

    init: Don't confuse do_exec with other exiting processes.

    The waitpid call in do_exec may return early with EINTR when init receives
    a signal, e.g., a SIGCHLD from an exiting service process.  do_exec should
    check waitpid for an EINTR "error", to ensure that it returns only after
    waiting on its child process.

commit bbc45b426c6e8ad04e3e394cfb0f64ed55a2bc09
Author: Mike Kasick <mike@kasick.org>
Date:   Mon Feb 6 10:32:13 2012 -0500

    init: Never allow two same-service processes to exist simultaneously.

    A stopping service now remains in SVC_RUNNING state until its exiting
    process has been reaped by waitpid.  This prevents a "stop, start" sequence
    from spawning a second service process before resources held by the first
    are released.  However, a "stop, start" pair _will_ restart the service
    after exit (unless critical or oneshot).

    This scenario was originally special-cased by the SVC_RESTART state used by
    the restart command.  However, we have observed instances where services
    are, unintentionally, stopped and started "too quickly," and so
    simultaneous processes for the same service should never be allowed.  Note
    the SVC_RESTART state (and restart) command is still useful to explicitly
    restart critical and oneshot services, for which the "stop, start"
    procedure is not intended.

commit bf9979f379116488ecce25a7ec6869f2232a6dd9
Author: Michaël Burtin <bukington@gmail.com>
Date:   Sun Feb 5 21:32:22 2012 +0100

    run sysinit during boot

    ported from CM7

    Change-Id: I08f8e23d83ce45366ff2a994d110dd3431efa017

commit a9b64b39d08e4c99088c97e85b6590bfb4d188fc
Author: Michaël Burtin <bukington@gmail.com>
Date:   Sun Feb 5 00:55:17 2012 +0100

    set /system/etc/init.d/* permissions

    ported from CM7

    Change-Id: I279d78679f7d779d6cd6bbc6c834d94706937ae8

commit 2750048ec83440d44a40d26f5242b97a95bfce30
Author: Mike Kasick <mike@kasick.org>
Date:   Sun Jan 29 12:56:50 2012 -0500

    Restart oneshot services when manually restarted.

    Restores manual restart behavior of oneshot services prior to I9935b519.

    Change-Id: Iadfc8462838e3ad2dbbe38d76ba2ef0ce955f722

commit 4911b6a137681cc5a021900bfcfcd10ec6944abe
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Jan 14 17:04:22 2012 -0800

    adbd: Disable "adb root" by system property (2/3)

     * Require persist.sys.root_access=1 on non-eng debuggable builds

    Change-Id: Iedab030e81ffb525fed64aed80cf0014f3e07073

commit c9089a8c8855067626a02583241785ed1c2fdd8c
Author: KalimochoAz <calimochoazucarado@gmail.com>
Date:   Sat Jan 28 16:16:38 2012 -0800

    rootdir: Change sysfs permissions to allow user control ksm

    Change-Id: I8a57a3d3bb7b5cd34d58416ca8778dfd6df3111b

commit 2aaa54be95527144341e5fb82c67b2be7f06ac71
Author: NameLess, the Jedi <yoddah@gmail.com>
Date:   Fri Dec 31 10:00:10 2010 +0100

    Allow 'system' user to modify cpufreq control files

    This is needed by new CPU Settings in CMParts

    Change-Id: I0ec4e0b1705670034a433df549b2895985c476af

commit d6f9170eb80c5724a52fbefae57fab7d12711d1e
Author: Steve Kondik <shade@chemlab.org>
Date:   Wed Jan 25 21:55:52 2012 -0800

    Revert "core: port forward load /system/etc/init.rc.local & run /system/bin/sysinit"

    This reverts commit 9c83c769e353fb60942587eacdec2f29de733b48.

commit d957ee381e3c57ce44fb2abe13822763958d47be
Author: Steve Kondik <shade@chemlab.org>
Date:   Fri Dec 31 11:30:07 2010 +0100

    core: port forward load /system/etc/init.rc.local & run /system/bin/sysinit

    Change-Id: Ic691c646558ddf842856f97236d055f5664b65f7

commit 0b835c2f4dc0c80b61ac3da035a78033f8101938
Author: Won-Kyu Park <wkpark@gmail.com>
Date:   Sun Jan 22 17:56:40 2012 +0900

    Create /cache/dalvik-cache

    manually imported commit ba422208f99552f12f34e6f28cc44445f0e6d9e0 by ctso

    Change-Id: I617573a14a8cf08d353804016b3351186720d199

commit 0a4816422d4450e0e824aa5191ef88b61ffd59c9
Author: Mike Kasick <mike@kasick.org>
Date:   Wed Jan 25 23:48:46 2012 -0500

    Safely restart services to avoid race conditions.

    At present, service restarts exhibit a race condition whereby the new
    (restarting) service process is often spawned before the old (stopping)
    process has terminated.  This may result in the new service process failing
    to acquire a limited resource (file lock, socket bind, etc.) that the old
    process has not yet released.

    The new method preforms a safe service restart by stopping the service,
    waiting for the old service process to terminate, and (only then) start the
    new service process.  In the event of "restarting" an already stopped
    service, the previous behavior is maintained whereby the service is simply
    started.

commit 7333d1f877017eeff43aeb180c598b5f52e2e670
Author: Giulio Cervera <giulio.cervera@gmail.com>
Date:   Sun Jan 15 13:37:34 2012 +0100

    log: more qcom radio tag

    Change-Id: I408d0747f7194c4026654b928610e5ed994bbcdb

commit 13d9f98175c4de42eb3d3af68de8c5a43a6a9634
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Jan 14 14:28:36 2012 -0800

    rootdir: Add support for ADB-over-network

    Change-Id: I7ae1df85f37cdb2f635403ab342cb978a3c77388

commit 1f1c46455238a00a6e3700416a1e0df7f2468239
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Fri Oct 28 13:16:30 2011 +0200

    handle motorola user ids, if MOTOROLA_UIDS is defined

    some of these are required by proprietary binary apps
    and tools like lsof which report errors on unknown user 9000

    A lot of projects use this android_filesystem_config.h,
    so a global CFLAGS is better to handle this in BoardConfig.mk

    Added latest ones for OSH (webtop) and whisper (used in pds)

    Change-Id: I7e92bacfcac418cd9f21e67543a5789a292137a3

commit 43a658562da8363fd8faa1add7acccba2b895f72
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Mon Dec 19 06:31:31 2011 +0100

    init: implement a new 'log' command, useful to debug property events

    liblog is not usable, because stderr and stdout are redirected to
    /dev/null to control the android log output.

    Only forked processes are able to write to the android logs...

    Note: accept parameters: log [-t topic] [-p level] <message>
          limit : strings beginning with "--" are not handled

    Change-Id: I2fbf7422e0085d4cdf1bba6511413d1f796d4555

commit fc171533ff5d131df6e7a01e7071e5d2dea5a99f
Author: Prashant Somashekar <prashsomash@gmail.com>
Date:   Sat Dec 17 17:26:54 2011 -0500

    init: add detection of charging mode

    -when BOARD_CHARGING_MODE_BOOTING_LPM is set to a path_to_sysfs_attribute
     then it and lpm.rc will be read accordingly.

    -adapted from techomancer's original change:
     (add detection of charging mode, remove the code for parsing param.lfs,
      since it is not needed)
     http://goo.gl/I19GG

    Change-Id: I64c2379225e00afaaf17ee03eab67546781668f8

commit 722c734dc8c5cafedf15d52de9c189e937b2540d
Author: Koushik Dutta <koushd@gmail.com>
Date:   Mon Aug 2 11:23:47 2010 -0700

    unpackbootimg (squashed)

    unpackbootimg ported forward from eclair

    Change-Id: I74d2df0b47d40e7105cc58c2b05f8f383dc7f8a0

    port forward pagesize arg from eclair

    Change-Id: Ia789a4f392a3890aa0efa7efb42032482b48beb0

    unpackbootimg should output BOARD_PAGE_SIZE

    Change-Id: Ieb5cda01943a33da97eee4d025f56c2c6e7560e8

    output page size in mkbootimg

    add an option to override the pagesize for boot images created by nubs. ie, acer liquid mkliquidbootimg.

    Change-Id: Ie0c7e67edf5ae59019517e72b9be8c0b81388e41

commit 42e62abe32ba5819ade4dec0b95e4d847b5d67ff
Author: Steve Kondik <shade@chemlab.org>
Date:   Sun Dec 4 13:39:02 2011 -0800

    init: Support for emmc boot and init.target.rc

     * Via CodeAurora

    Change-Id: Iaa9ed356574f364d8061e8941cffc3d458efc603

commit 879bd756602ada36619eebf70fbcf34f1af6a4d1
Author: Naveen Kalla <nkalla@codeaurora.org>
Date:   Mon Dec 20 14:37:49 2010 -0800

    Add group qcom_oncrpc and give permissions to ril-daemon and /dev/oncrpc

    Change-Id: I022aae4a81c720a026ea6c1a41bda30acbe60224

commit 3e165db92339f65f836e9f6963ad8ecd5b4a4957
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Dec 1 04:35:39 2011 +0100

    RECOVERY_PRE_COMMAND_CLEAR_REASON and extended reboot arguments

    fix the 2 new warnings created by our 4-lines recovery patch ;p

    Allow also to override toolbox reboot applet, for bootmenu

    Change-Id: I975af19a8f295d1e341c7433f96f669db611f89c

commit 3718e7768f2f1db483a1803463bcd4e6b6c5998a
Author: Arne Coucheron <arco68@gmail.com>
Date:   Wed Nov 30 09:14:51 2011 +0100

    debuggerd: Extend condition for exclusion of the fconstd instruction

    The fconstd instruction only exists in ARM cores with VFPv3 or
    later. Currently all supported ARMv6 targets do not have VFPv3 or
    later, so let's just extend based on this trend.

    Change-Id: Icbbaadb69564b9bab7b55fdada408247c214f038

commit cb4645d7554be254d7be88e8c55f158517d7d0e4
Author: Danesh M <daneshm90@gmail.com>
Date:   Fri Nov 25 20:53:19 2011 -0500

    libcutils : reboot mount fix

    On aries for eg, cache needs to be rw for the RECOVERY_PRE_COMMAND to
    work because we write to /cache/.startrecovery

    This patchset moves the RECOVERY_PRE_COMMAND prior to the remount.

    Change-Id: Iab1da9a15e64e8831b04e4eb21d824de5f8bd0eb

commit cedf0295cdeae55c7a6a03d9e498df3288bad227
Author: Andrew Sutherland <dr3wsuth3rland@gmail.com>
Date:   Thu Nov 24 23:03:22 2011 -0600

    add missing string.h include needed for memset

    Change-Id: Ieeb9e95919d1bea183f01da9fbab0c5c8c8d1925

commit 6ba39f66c068a40ff1d744ee481ffd22eef606eb
Author: atinm <atinm.dev@gmail.com>
Date:   Tue May 3 00:26:33 2011 -0400

    Use RECOVERY_PRE_COMMAND before calling __reboot() recovery

    For the Power menu,
    frameworks/base/core/jni/android_os_Power.cpp#L180
    already uses RECOVERY_PRE_COMMAND if
    TARGET_RECOVERY_PRE_COMMAND is defined in the
    BoardConfig.mk for a device to make a system() call before
    calling __reboot() for recovery. This commit adds
    the same thing to the other places that we know we are
    getting into recovery using __reboot(), namely,
    adb reboot recovery, the reboot binary and init
    in the case of errors.

    Change-Id: If0a9c7f22de2aa187c921b60ad5edd77b49e095d

commit 85e6eaad1502602a80a32399ce3a7df78ccc73ed
Author: jerpelea <jerpelea@gmail.com>
Date:   Tue Nov 22 10:32:24 2011 +0200

    init: Include extra init file in /system/etc/init.local.rc

    Change-Id: I2324b3be767a4bf2e0d32645a355f14e0b894c5b

commit 231e0a9e6a1da6fa4a188840f68af649669e417f
Author: Koushik Dutta <koushd@gmail.com>
Date:   Sun Nov 20 21:11:20 2011 -0800

    do not install recovery on boot

commit 2c1752fc1d788529cdad2e2e6d15ae18539bf79e
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Nov 13 03:54:26 2010 -0500

    liblog: Move kineto and qcom RIL messages to radio log

    Squashed commits from CM7

       liblog: I <3 you Kineto, but STFU.

       Kineto's native library obliterates the logs with debug info, which
       makes me a sad panda when trying to debug other things. Send it to the
       RADIO bucket instead.

       Change-Id: I6e6a7a54a84d41cd189f9eb48518b990b8b13a89

       Added QCRIL to filter rules.

       QCRIL from LG P500 generate too much logcat output (about 20 lines per second) so it will be good to filter it.

       Change-Id: I29d1fcd16d0fbf9ba456b09087c33c21242faa8e

       Mecha: Move qc-ril related logging to the radio log

       Change-Id: Ibf4eb91068b53e389ca437bcc4e52d66be92639a

    Change-Id: I8e9d646fe6f7910205a3c19702a283bdb6921342

commit c7725f85651ef152b56d8c91e49eac7b04cfdcf1
Author: Emilio López <turl@tuxfamily.org>
Date:   Wed Nov 16 20:59:10 2011 +0000

    Stub property_set_sync

    This is needed by Motorola RILs

    Change-Id: If4ede6b958cde4ee4450fef7a3106d52bfb5d5d1

commit 31e0d0c8cc47a76675db23f8c8ebb22a4486e3fa
Author: Emilio López <turl@tuxfamily.org>
Date:   Wed Nov 16 02:38:32 2011 +0000

    init: Implement exec support

    Code copied from CM7 implementation by Steve Kondik

    Change-Id: Ie8f11e9dc9e552aa7a4fe354995daaf8f0d99a11

commit 52afebc56bea0c98d18fb138c7bf638fbb5c55c6
Author: Pierre Zurek <pierrezurek@gmail.com>
Date:   Sun Oct 17 22:39:37 2010 +0200

    ADB Logcat colored output.

    This patch adds a new '-C' option to logcat so that the output is
    colored with colors similar to the ones in DDMS.
    Simply type "adb logcat -C" to use it.
    Works well with bash in gnome-terminal.

    Change-Id: Ie72199ecca0e04f2082c993f5763646bb09da61ea

commit d1e1128c705a59a7713e70d4b82ae21413581cae
Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Sun Apr 3 19:38:18 2011 +0100

    init: Add net device permission controls for LGE devices

    These are used by lge-ril to control the state of the mobiledata
    interfaces

    Change-Id: Ia869f08564c1f4907240289a32a10e0f3413d8a9a

commit 54146a233eb676a2b8d69cac1ebc9ecb92a398a4
Author: Koushik K. Dutta <koushd@gmail.com>
Date:   Mon Feb 22 23:22:36 2010 -0800

    Squashed adb fixes.

    fix up adb to prefer /sbin/sh if it exists

    allow always insecure

    Change-Id: I5c15731c95d123488e90aaeac5b497f556b53363

    Conflicts:

    	adb/Android.mk

Change-Id: Iadf41b92edcafb31bd99f6b297dd992bc7c824d6