Skip to content
Commits on Feb 11, 2012
Commits on Feb 7, 2012
  1. @mkasick @cyanogen

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

    mkasick committed with cyanogen
    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. @mkasick @cyanogen

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

    mkasick committed with cyanogen
    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. @bukington @cyanogen

    run sysinit during boot

    bukington committed with cyanogen
    ported from CM7
    
    Change-Id: I08f8e23d83ce45366ff2a994d110dd3431efa017
  4. @cyanogen

    Merge "init: Extend the check for charger mode" into ics

    cyanogen committed with Gerrit Code Review
  5. @bukington @cyanogen

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

    bukington committed with cyanogen
    ported from CM7
    
    Change-Id: I279d78679f7d779d6cd6bbc6c834d94706937ae8
Commits on Feb 6, 2012
  1. @cyanogen

    Merge "rootdir: Change sysfs permissions to allow user control ksm" i…

    cyanogen committed with Gerrit Code Review
    …nto ics
Commits on Feb 5, 2012
  1. @arco

    init: Extend the check for charger mode

    arco committed
    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. @dalingrin

    Allow system to call custom reboot cmd

    dalingrin committed
    Change-Id: Id726b46f644e72c9a67d64777abe1e3dbdbc0a82
Commits on Jan 29, 2012
  1. @koush

    Merge "Restart oneshot services when manually restarted." into ics

    koush committed with Gerrit Code Review
  2. @mkasick

    Restart oneshot services when manually restarted.

    mkasick committed
    Restores manual restart behavior of oneshot services prior to I9935b519.
    
    Change-Id: Iadfc8462838e3ad2dbbe38d76ba2ef0ce955f722
  3. @KalimochoAz @cyanogen

    rootdir: Change sysfs permissions to allow user control ksm

    KalimochoAz committed with cyanogen
    Change-Id: I8a57a3d3bb7b5cd34d58416ca8778dfd6df3111b
Commits on Jan 28, 2012
  1. @cyanogen
  2. @koush

    Merge "Safely restart services to avoid race conditions." into ics

    koush committed with Gerrit Code Review
  3. @koush

    Revert "temporary hack to always allow adb root."

    koush committed
    This reverts commit 98af33d.
Commits on Jan 27, 2012
  1. @koush

    temporary hack to always allow adb root.

    koush committed
    Change-Id: Ic875c44f26fc2989cfa2f7a6ee4dc5c931d46aea
Commits on Jan 26, 2012
  1. @NameLessJedi @turl

    Allow 'system' user to modify cpufreq control files

    NameLessJedi committed with turl
    This is needed by new CPU Settings in CMParts
    
    Change-Id: I0ec4e0b1705670034a433df549b2895985c476af
  2. @cyanogen

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

    cyanogen committed
    …em/bin/sysinit"
    
    This reverts commit 9c83c76.
  3. @cyanogen

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

    cyanogen committed
    …ysinit
    
    Change-Id: Ic691c646558ddf842856f97236d055f5664b65f7
  4. @wkpark @cyanogen

    Create /cache/dalvik-cache

    wkpark committed with cyanogen
    manually imported commit ba42220 by ctso
    
    Change-Id: I617573a14a8cf08d353804016b3351186720d199
  5. @mkasick

    Safely restart services to avoid race conditions.

    mkasick committed
    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. @Kali-

    log: more qcom radio tag

    Kali- committed
    Change-Id: I408d0747f7194c4026654b928610e5ed994bbcdb
Commits on Jan 14, 2012
  1. @cyanogen

    rootdir: Add support for ADB-over-network

    cyanogen committed
    Change-Id: I7ae1df85f37cdb2f635403ab342cb978a3c77388
Commits on Jan 8, 2012
  1. @cyanogen
Commits on Dec 23, 2011
Commits on Dec 20, 2011
  1. @cyanogen

    Merge "rmmod: fix full path syntax" into ics

    cyanogen committed with Gerrit Code Review
  2. @tpruvot

    handle motorola user ids, if MOTOROLA_UIDS is defined

    tpruvot committed
    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. @tpruvot

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

    tpruvot committed
    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. @tpruvot

    rmmod: fix full path syntax

    tpruvot committed
    rmmod /system/modules/multitouch.ko
    rmmod: delete_module '/multitouch' failed (errno 2)
    
    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
  3. @tpruvot

    logwrapper: reduce verbosity and fix usage

    tpruvot committed
     - 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. @cyanogen

    audio: Ifdef with QCOM_HARDWARE

    cyanogen committed
    Change-Id: Id54721b19497a3a49e94537cf53a0199a4420d70
  2. @pershoot

    init: add detection of charging mode

    pershoot committed
    -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
  1. @cyanogen
Something went wrong with that request. Please try again.