Permalink
Commits on Aug 10, 2012
  1. Revert "Fix logging macros in su source"

    This reverts commit dfbe581.
    cyanogen committed Aug 10, 2012
Commits on Jul 22, 2012
  1. Don't wait when only reporting

    Change-Id: Ia38fb9de18a0523243556e86cffc9648b6676ce5
    nadlabak committed with tpruvot Jul 20, 2012
Commits on Jul 17, 2012
  1. Fix logging macros in su source

    Change-Id: I078d10fc8953827e99ba800ceef7217b7696eb37
    nk111 committed Jul 17, 2012
Commits on Jul 8, 2012
  1. Revert "Revert "Update version""

    This reverts commit 15ea355.
    ChainsDD committed Jul 8, 2012
  2. Revert "Revert "Use flat files for stored apps""

    This reverts commit 588c414.
    ChainsDD committed Jul 8, 2012
  3. Revert "Use flat files for stored apps"

    This reverts commit ec37525.
    ChainsDD committed Jul 8, 2012
  4. Revert "Update version"

    This reverts commit ff77b49.
    ChainsDD committed Jul 8, 2012
Commits on Jul 7, 2012
  1. Update version

    ChainsDD committed Jul 7, 2012
Commits on Jul 1, 2012
Commits on Jun 4, 2012
  1. Build su as static.

    With so many different versions of Android, using a dynamically linked
    binary is just not practical, since things can be wildly different on
    different versions.
    ChainsDD committed Jun 4, 2012
  2. Use am to send intents rather than a binder transaction.

    This commit is by koush and is mostly copied from the CyanogenMod fork
    of su.
    
    By using am instead of a binder transaction, we can guarantee
    compatibility with current and future versions of Android.
    ChainsDD committed Jun 4, 2012
Commits on Mar 3, 2012
  1. Change euid back to root before finally set a new id

    Fixes a bug reported in a comment to the issue #9 against su-binary
    (see ChainsDD#9 (comment) for details).
    
    Thanks to Erik Pilsits (epilsits@gmail.com) for the report.
    
    Add the euid change before populate_environment() anticipating we have to merge
    the commit "Inherit LD_LIBRARY_PATH ...", which needs root credentials in order to
    successfully open /proc/<ppid>/environ.
    git-core committed Mar 3, 2012
Commits on Feb 25, 2012
Commits on Feb 20, 2012
  1. Revert "Inherit the environment of the caller process for a new proce…

    …ss image"
    
    This reverts commit e0329ce.
    git-core committed Feb 20, 2012
Commits on Feb 18, 2012
  1. Merge branch 'gc' into gc-ics

    git-core committed Feb 18, 2012
Commits on Jan 29, 2012
  1. constantify su_context* arg & small cosmetic fixes

    git-core committed Jan 29, 2012
  2. Provide LOG_TAG for db too

    git-core committed Jan 29, 2012
  3. Call property_get() only once

    property_get() iterates over potentially unbound array of properties. There is no good for
    calling it several times per su invocation.
    git-core committed Jan 29, 2012
  4. Move frequently used code snippet in get_command()

    git-core committed Jan 29, 2012
  5. Combine su_initiator and su_request into su_context

    git-core committed Jan 29, 2012
  6. Pass the rest of arguments in the command line to a callee

    Thus, someone may invoke su as
    su -s shell uid args...
    
    For example,
    su -s /system/xbin/busybox root mount -o rw,remount /system
    git-core committed Jan 29, 2012
Commits on Jan 21, 2012
  1. Handle -l option

    git-core committed Jan 21, 2012
  2. Return special exit code when terminating by signal

    So user could distinguish between SIGHUP and other abnormal terminations at least
    git-core committed Jan 21, 2012
  3. Accurately handle -c option

    git-core committed Jan 21, 2012
  4. Remove the communication socket if Ctrl+C (SIGINT) or Ctrl+\ (SIGQUIT…

    …) are pressed
    git-core committed Jan 17, 2012
Commits on Jan 14, 2012
  1. Check syscall return codes

    git-core committed Jan 14, 2012
Commits on Jan 11, 2012
  1. Bump version

    ChainsDD committed with git-core Jan 5, 2012
  2. Don't allow garbage instead of real uid in the command line

    Replace atoi(3) by strtoul(3), the latter allows to check parse errors
    git-core committed Dec 28, 2011
  3. Be compatible with other implementation of su

    o use getopt_long(3), so -l, --login can be allowed anywhere in the argument list
    o add -m and -p which do nothing
    o su -h outputs usage in stdout and exits with 0 while
      su with invalid options outputs usage in stderr and exits with 2 now
    git-core committed Dec 28, 2011
  4. Exit with false status if exec(3) fails ...

    ... and show errno from exec(3) to the user
    git-core committed Dec 28, 2011