summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am 54a80bcf: am cd072e94: am ba104fb7: am e975716e: am 03d4eb29: am ↵Nick Kralevich2013-12-101-2/+2
|\ | | | | | | | | | | | | d63fb078: am e89e09dd: Fix overflow in adb_client * commit '54a80bcf88060b21f527c631c7ec911171bdb13f': Fix overflow in adb_client
| * am cd072e94: am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am ↵Nick Kralevich2013-12-101-2/+2
| |\ | | | | | | | | | | | | | | | | | | e89e09dd: Fix overflow in adb_client * commit 'cd072e94cf7e546cd6d333cd65641edcd69402b7': Fix overflow in adb_client
| | * am ba104fb7: am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix ↵Nick Kralevich2013-12-101-2/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | overflow in adb_client * commit 'ba104fb7f1f0acad99a0d3a1cf7153aab57ea450': Fix overflow in adb_client
| | | * am e975716e: am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_clientNick Kralevich2013-12-101-2/+2
| | | |\ | | | | | | | | | | | | | | | | | | | | * commit 'e975716e36c9ad6aa80be2b54ee2cc63eadbdc44': Fix overflow in adb_client
| | | | * am 03d4eb29: am d63fb078: am e89e09dd: Fix overflow in adb_clientNick Kralevich2013-12-101-2/+2
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | * commit '03d4eb29003a712c28733646588fafc8939fc1fe': Fix overflow in adb_client
| | | | | * am d63fb078: am e89e09dd: Fix overflow in adb_clientNick Kralevich2013-12-101-2/+2
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd63fb078aea697c536b19c03d29d4dde4ac087fc': Fix overflow in adb_client
| | | | | | * am e89e09dd: Fix overflow in adb_clientNick Kralevich2013-12-101-2/+2
| | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e89e09dd2b9b42184973e3ade291186a2737bced': Fix overflow in adb_client
| | | | | | | * Fix overflow in adb_clientNick Kralevich2013-12-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7f8582bd8a69d61ce47d11a9ffd0e901fc371037 Credit: Joshua Drake Bug: 12060953
* | | | | | | | Fix run-as which was broken in Android 4.3Alex Klyubin2013-08-211-19/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Android 4.3 the run-as binary no longer has the SUID/SGID bits set. Instead, it requires to be installed with setuid and setgid file-based capabilities. As a result of the above two changes, the binary no longer executes as root when invoked by the "shell" user but can still change its UID/GID to that of the target package. Unfortunately, run-as attempts to chdir into the target package's data directory before changing its effective UID/GID. As a result, when run-as is invoked by the "shell" user, the chdir operation fails. The fix is for run-as to chdir after changing the effective UID/GID to those of the target package. Bug: 10154652 (cherry picked from commit f2904a7b63c2005ab588a9ba2fb309e73200ec81) Change-Id: I0f6cb9efd49f5c2c491f7aa1d614d700a5ec2304
* | | | | | | | init: Increase maximum number of Android properties to 372Ajay Dudani2013-07-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 9941046 -- encryption failed Change-Id: Ib9c2921a2b574542cce98d2eadbd9204a1ad0bf0 Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | | Add writable data space for radio.Robert Greenwalt2013-07-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Storing carrier provisioning urls updates in /data/misc/radio. bug:9623159 Change-Id: I8d62d4638229733dea0f11f1729c4d22ae2295d1 I36697ed341353b7a3dbec5afe20241102e76f6f1
* | | | | | | | Free file handle for /firmware/image after useAjay Dudani2013-06-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id59e25486b45dffc87a89a961970a6e8128a5237
* | | | | | | | Merge "Add permission for bluetooth app in non-primary users" into jb-mr2-devMatthew Xie2013-05-221-0/+8
|\ \ \ \ \ \ \ \
| * | | | | | | | Add permission for bluetooth app in non-primary usersMatthew Xie2013-05-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 8954114 Change-Id: Id6a42f5a5beefa22c3cc8eecfb39a2222017a3b4
* | | | | | | | | Revert "Add logic to fixup file contexts after a policy update."repo sync2013-05-171-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ebcf93e3bf92bf46c54c8e0f2ec8936bb2db6aea.
* | | | | | | | | Revert "Add persistent property for SELinux enforcment status."repo sync2013-05-172-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b89bdfde422eff751b3f939f10ab57e22af83eaa.
* | | | | | | | | Revert "Reload policy after setting up the data partition."repo sync2013-05-175-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit fee250d27a9c03af1ba439047b976d89563b1887.
* | | | | | | | | Revert "Remove /system from the dirs to relabel."repo sync2013-05-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3d4d07b2fa3b2447646d3c87a0b401e993ad8363.
* | | | | | | | | Revert "Add a version check for SELinux policy on device."repo sync2013-05-172-62/+3
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 921be8b6568df0057c4eacbac2e1022b71e09620.
* | | | | | | | Add a version check for SELinux policy on device.repo sync2013-05-142-3/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps to ensure that when a new system image is installed, old userdata policy isn't applied over the top of it. Bug: 8841348 Change-Id: I135af32250aa62979763e775842ce0af3c8b6f9f
* | | | | | | | Merge "Remove /system from the dirs to relabel." into jb-mr2-devrepo sync2013-05-081-1/+0
|\ \ \ \ \ \ \ \
| * | | | | | | | Remove /system from the dirs to relabel.repo sync2013-05-071-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8841348 Change-Id: Ia1545288e8a8184feffaaa6158faad62f95cbcce
* | | | | | | | | Merge "libcutils: add a trace tag for Dalvik" into jb-mr2-devJamie Gennis2013-05-081-1/+16
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | libcutils: add a trace tag for DalvikJamie Gennis2013-05-071-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a trace tag bit for Dalvik. It also allows the ATRACE_* macros to be called from code compiled for the host with no effect. Bug: 8856374 Change-Id: I9c17129d6cc170cae00b6500485b5b5fa4b5e647
* | | | | | | | | Reload policy after setting up the data partition.repo sync2013-04-305-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This forces a policy reload + fixcon to deal with dynamically delivered policy changing labels on device nodes. It's implemented as a new keyword in init. Bug: 8702843 Change-Id: I803cf1ecf6ff8318ce25dcc5cda4f292adc9738c
* | | | | | | | | Merge "Add persistent property for SELinux enforcment status." into jb-mr2-devrepo sync2013-04-262-0/+7
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add persistent property for SELinux enforcment status.repo sync2013-04-252-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds triggers for going between enforcing and permissive status. Bug: 8702843 Change-Id: I841d80999b96acf6b6fd0a5408fb074952d6ae72
* | | | | | | | | | Merge "Add a new group for MediaDrm engine plugins" into jb-mr2-devJeff Tinker2013-04-252-1/+7
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Add a new group for MediaDrm engine pluginsJeff Tinker2013-04-232-1/+7
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 8702754 Change-Id: I3b7988b64b1dcf4685624e4c1af938e132b82696
* | | | | | | | | Remove DBUS from make and header filesMatthew Xie2013-04-233-29/+0
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DBUS had been needed by bluetooth bluz stack. It is not needed after we replaced bluez stack with bluedroid stack. bug 6872904 Change-Id: I3fa41c1dd4ac80bc679d5950b3b20c7f6d12265f
* | | | | | | | Merge "Fix regression: log mem maps around native fault address" into jb-mr2-devChristopher Tate2013-04-181-10/+11
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix regression: log mem maps around native fault addressChristopher Tate2013-04-181-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore the logging of the mem maps around the fault address along with the rest of the faulting thread's information. (It was still being written to the tombstone file, but the logging got dropped on the floor in the refactoring around AM report integration). Bug 8654694 Change-Id: Id8851fa765dfe6b6ce41ccfc39e85eaac0acc629
* | | | | | | | | Merge "graphics: add Android flexible YCbCr format" into jb-mr2-devAlex Ray2013-04-181-0/+54
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | graphics: add Android flexible YCbCr formatAlex Ray2013-04-091-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3f6676873febc793f7a4a5e06892cd9fadb35665
* | | | | | | | | Merge "cutils: add a way to disable tracing for a process" into jb-mr2-devJamie Gennis2013-04-162-12/+36
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | cutils: add a way to disable tracing for a processJamie Gennis2013-04-152-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds the atrace_set_tracing_enabled call to libcutils. The call can be used to disable all tracing (of the atrace variety) for the current process. This is to be used to disable tracing in the Zygote process, as there is no way for Zygote to be notified of changes to the enabled trace tags. Change-Id: I0b691cc0dcfc65b16e3d17e1db2866a4deb253a7
* | | | | | | | | | Add logic to fixup file contexts after a policy update.Geremy Condra2013-04-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8116902 (cherry picked from commit 47677a506febfe386d186f8f854d967f165a342f) Change-Id: I2a50f68a53aee2c94d03d3e5ced1ea36337fde33
* | | | | | | | | | Include liblog in fs_mgr to fix the build.Ken Sumrall2013-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent change to how libcutils is built requires liblog to be explicitly included in the link list if it's needed. Change-Id: I8547f5e65c488c8f6e314ccd4eb96606742272be
* | | | | | | | | | Merge "fs_mgr: Capture the output of e2fsck and add to the kernel log" into ↵Ken Sumrall2013-04-153-19/+18
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev
| * | | | | | | | | | fs_mgr: Capture the output of e2fsck and add to the kernel logKen Sumrall2013-04-143-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the output of e2fsck is not saved, and we have no insight into how many errors e2fsck is finding and fixing. Using the new abbreviated logging feature in liblogwrap, up to the first 100 lines, and last 4K bytes of the output of e2fsck is captured by fs_mgr, and added to the kernel log. Usually, the filesystem will be clean, and this will only add a few lines to the kernel log on boot, but when things go wrong, it should save enough to indicate what the problem is, without potentially filling the kernel log with only e2fsck output if the filesystem is really corrupted. Change-Id: I9c264798e6fe721c8f818b5ce15d0975027ddbdd
* | | | | | | | | | | Merge "logwrapper: Add ability to log to kernel log" into jb-mr2-devKen Sumrall2013-04-154-46/+371
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | logwrapper: Add ability to log to kernel logKen Sumrall2013-04-144-46/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add ability to do abbreviated logging where only the first 4K bytes and last 4K bytes of output are added to the desginated log. Also update standalog logwrapper command to support the new options. Change-Id: Ia49cbe58479b9f9ed077498d6852e20b21287bad
* | | | | | | | | | | Merge "klog: Have klog_write() call klog_init() if needed" into jb-mr2-devKen Sumrall2013-04-152-1/+10
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | klog: Have klog_write() call klog_init() if neededKen Sumrall2013-04-112-1/+10
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also change klog_init() to do nothing if already initialized. Change-Id: Ia2dfe914c9d9fd119fb8939508d57b15c9884663
* | | | | | | | | | Add new resources trace.Dianne Hackborn2013-04-121-1/+2
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I63398f282fe7bf04f1c4cefa8f602100f403fa7c
* | | | | | | | | We need libcutils to include liblogYing Wang2013-04-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some prebuilts were built against libcutils with liblog in it. Unfortunately that means in the future if someone checks in prebuilts that are built against libcutils and they don't explicitly link against liblog, they will again prevent us from removing liblog from libcutils. Bug: 8587800 Bug: 8580410 Change-Id: I2a5ed6233df7e7d542d1e4167bec405750c0e671
* | | | | | | | | Add liblogYing Wang2013-04-097-11/+14
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8580410 Change-Id: Iab3a9b4307f207c14a04a922cc7350c54e60e9ad
* | | | | | | | Uploaded native crash dumps do not include memory contentsChristopher Tate2013-04-057-98/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixed the LOG() macro to actually write to the log again, tracking the change in _LOG() argument semantics. Bug 8322568 Change-Id: I79330c85c26d3ffb734315b6d0f2c0bb80bd234a
* | | | | | | | Modify debuggerd to cope with the abort message.Elliott Hughes2013-04-054-12/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 707b8bbe1800dbebd932f54e86347563ee86c36e) Bug: 8531731 Change-Id: I2785a07ef83e085f338d3094f9972de23117807c
* | | | | | | | Only handle keycodes when adb is enabled.Jeff Sharkey2013-04-041-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents accidental bugreports on userdebug/eng devices. Bug: 8541006 Change-Id: Iefd15826090fd91434403f197cfd166e64400224