Permalink
Commits on Feb 11, 2012
Commits on Feb 7, 2012
  1. init: Don't confuse do_exec with other exiting processes.

    mkasick authored and cyanogen committed Feb 6, 2012
    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.
  2. init: Never allow two same-service processes to exist simultaneously.

    mkasick authored and cyanogen committed Feb 6, 2012
    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.
  3. run sysinit during boot

    bukington authored and cyanogen committed Feb 5, 2012
    ported from CM7
    
    Change-Id: I08f8e23d83ce45366ff2a994d110dd3431efa017
  4. Merge "init: Extend the check for charger mode" into ics

    cyanogen authored and Gerrit Code Review committed Feb 7, 2012
  5. set /system/etc/init.d/* permissions

    bukington authored and cyanogen committed Feb 4, 2012
    ported from CM7
    
    Change-Id: I279d78679f7d779d6cd6bbc6c834d94706937ae8
Commits on Feb 6, 2012
  1. Merge "rootdir: Change sysfs permissions to allow user control ksm" i…

    cyanogen authored and Gerrit Code Review committed Feb 6, 2012
    …nto ics
Commits on Feb 5, 2012
  1. init: Extend the check for charger mode

    arco committed Feb 5, 2012
    In ICS, Google introduced charge mode handling (see http://bit.ly/wfs7ck).
    Extend this with check for battchg_pause used in legacy kernels.
    
    Change-Id: Ia8fba16efa2a7d9416e38dd68d4fef84d37aea5e
Commits on Feb 1, 2012
Commits on Jan 30, 2012
  1. Allow system to call custom reboot cmd

    dalingrin committed Jan 30, 2012
    Change-Id: Id726b46f644e72c9a67d64777abe1e3dbdbc0a82
Commits on Jan 29, 2012
  1. Merge "Restart oneshot services when manually restarted." into ics

    koush authored and Gerrit Code Review committed Jan 29, 2012
  2. Restart oneshot services when manually restarted.

    mkasick committed Jan 29, 2012
    Restores manual restart behavior of oneshot services prior to I9935b519.
    
    Change-Id: Iadfc8462838e3ad2dbbe38d76ba2ef0ce955f722
  3. rootdir: Change sysfs permissions to allow user control ksm

    KalimochoAz authored and cyanogen committed Jan 29, 2012
    Change-Id: I8a57a3d3bb7b5cd34d58416ca8778dfd6df3111b
Commits on Jan 28, 2012
  1. Merge "Allow 'system' user to modify cpufreq control files" into ics

    cyanogen authored and Gerrit Code Review committed Jan 28, 2012
  2. Merge "Safely restart services to avoid race conditions." into ics

    koush authored and Gerrit Code Review committed Jan 28, 2012
  3. Revert "temporary hack to always allow adb root."

    koush committed Jan 28, 2012
    This reverts commit 98af33d.
Commits on Jan 27, 2012
  1. temporary hack to always allow adb root.

    koush committed Jan 27, 2012
    Change-Id: Ic875c44f26fc2989cfa2f7a6ee4dc5c931d46aea
Commits on Jan 26, 2012
  1. Allow 'system' user to modify cpufreq control files

    NameLessJedi authored and turl committed Dec 31, 2010
    This is needed by new CPU Settings in CMParts
    
    Change-Id: I0ec4e0b1705670034a433df549b2895985c476af
  2. Revert "core: port forward load /system/etc/init.rc.local & run /syst…

    cyanogen committed Jan 26, 2012
    …em/bin/sysinit"
    
    This reverts commit 9c83c76.
  3. core: port forward load /system/etc/init.rc.local & run /system/bin/s…

    cyanogen committed Dec 31, 2010
    …ysinit
    
    Change-Id: Ic691c646558ddf842856f97236d055f5664b65f7
  4. Create /cache/dalvik-cache

    wkpark authored and cyanogen committed Jan 22, 2012
    manually imported commit ba42220 by ctso
    
    Change-Id: I617573a14a8cf08d353804016b3351186720d199
  5. Safely restart services to avoid race conditions.

    mkasick committed Jan 26, 2012
    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.
Commits on Jan 15, 2012
  1. log: more qcom radio tag

    Kali- committed Jan 15, 2012
    Change-Id: I408d0747f7194c4026654b928610e5ed994bbcdb
Commits on Jan 14, 2012
  1. rootdir: Add support for ADB-over-network

    cyanogen committed Jan 14, 2012
    Change-Id: I7ae1df85f37cdb2f635403ab342cb978a3c77388
Commits on Jan 8, 2012
  1. Merge "handle motorola user ids, if MOTOROLA_UIDS is defined" into ics

    cyanogen authored and Gerrit Code Review committed Jan 8, 2012
Commits on Dec 23, 2011
Commits on Dec 20, 2011
  1. Merge "rmmod: fix full path syntax" into ics

    cyanogen authored and Gerrit Code Review committed Dec 20, 2011
  2. handle motorola user ids, if MOTOROLA_UIDS is defined

    tpruvot committed Oct 28, 2011
    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
Commits on Dec 19, 2011
  1. init: implement a new 'log' command, useful to debug property events

    tpruvot committed Dec 19, 2011
    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
  2. rmmod: fix full path syntax

    tpruvot committed Sep 1, 2011
    rmmod /system/modules/multitouch.ko
    rmmod: delete_module '/multitouch' failed (errno 2)
    
    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
  3. logwrapper: reduce verbosity and fix usage

    tpruvot committed Dec 19, 2011
     - no info on normal process exit
     - basename as tag, not fullpath
     - fix bad "-x" parameter, its "-d", checked in code
    
    Change-Id: Ife72729eaee2a366bd4226f3fbe3ba074219c974
Commits on Dec 18, 2011
  1. audio: Ifdef with QCOM_HARDWARE

    cyanogen committed Dec 18, 2011
    Change-Id: Id54721b19497a3a49e94537cf53a0199a4420d70
  2. init: add detection of charging mode

    pershoot committed Dec 17, 2011
    -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
Commits on Dec 16, 2011