| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| |/
| |
| |
| | |
* commit '53cab935d54b6ca013c6a236e09d9160a6aa7f54':
Installd: Pass debuggable flag
|
| |\
| | |
| | |
| | |
| | | |
* commit '5a25a63de2693177b15817fb19b684ca7bfec582':
Installd: Pass debuggable flag
|
| | |
| | |
| | |
| | |
| | |
| | | |
Pass the debuggable flag from the package manager to dex2oat.
Change-Id: Id17ec72babe2ee88713a0d274eff86508de30666
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
permission checks for find"
* commit 'f11b58f296039a0bf90336e4c38c014f11542092':
service_manager: reorder permission checks for find
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '5fec79156d749322dcc0376da1d6cf4d9ee9ccf4':
service_manager: reorder permission checks for find
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reorder the find permission checks. This avoids generating misleading
SELinux denials when a service doesn't exist, or when a service is
prohibited to isolated apps.
The original reason for structuring the code this way is explained
in https://android-review.googlesource.com/#/c/100530/4/cmds/servicemanager/service_manager.c@172
The concern at the time was to avoid leaking a situation where
a caller could probe for the existance of a service. This turns out
to be unnecessary. The same return value is used for both a
permission denied and a service not found. The only side effect
is the generation of an SELinux audit log, which likely won't be
accessible to the calling application.
Change-Id: I9760e1821ed16102fa5f9bec07f8c34944565be9
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I9bbc9907a5cbde8b374398493bc0dc6b056ea734
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '9d68ed0ecd3a101c13a163cfe730b13b1564b442':
Add timeout for dump_file.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It turns out dump_file is used on a number of /proc and system files.
In one case, the read of a file stalled and caused a bugreport to
hang forever. It's still possible if there is a kernel bug that this
could stall forever, but less likely.
Also, change the return type of nanotime to uint64_t.
Testing:
- Created a named fifo and verified that dump_file fails with a timeout.
- Created a large /data/anr/traces.txt to verify that large files still
dump properly and that the additional NONBLOCK parameter doesn't cause
a problem.
- Created a dummy /data/tombstones/tombstone_00 to verify that the
dump of these files still works.
- Compared a dump using the old dumpstate to the new dumpstate to verify
nothing obviously different.
Bug: 19117030
Change-Id: I0d3dd27583c853cdaccd2fd278748cb5f9ccd4fb
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
Change-Id: I3cbb6ed0958b4328aca1798c7fe6080c31555a3a
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'bb67beca35e7d570ede193a316a92022fbc2f810':
dumpstate: add pstore read
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Call logcat -L to pull any LAST Android logs. If the kernel is not
configured for PSTORE and PSTORE_PMSG, the hopes are the empty
content will pressure vendors to slice up and configure support.
Change-Id: I5fddfa1e0f59f24fccc30b257ba68af8a8cf8640
|
| |\ \
| | |/
| |/| |
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
The settings provider now implements dump, hance special dump
code is no longer needed.
Change-Id: I93af3f6acac4ac70d6bbf569d2348cb16b8c0946
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* commit '75b81aee3830d0a8c7c10e3ca7f1652543dbbaca':
Add missing <sys/file.h> include for flock.
|
| |
| |
| |
| | |
Change-Id: I5c9bb4aa74d8a36d44e086bbcb5d60876727ce4c
|
|\ \
| |/
| |
| |
| | |
* commit '8511b3ae5eb42810f97f7c3e993d7f80d3393b83':
Remove -z option.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This option doesn't work with the current selinux protections and
doesn't serve much of a purpose. You can get the same results running
this:
dumpstate | gzip > /data/local/tmp/dump.txt.gz
Bug: 19271141
Change-Id: Icc76200df33dc708e30c556ec8a0f393f995fe7c
|
|\ \
| |/
| |
| |
| | |
* commit '50ad67e4ce6b07b5f5f4649ace81ed9a8b2c2eac':
Add better timeout mechanism for running commands.
|
| |
| |
| |
| | |
Change-Id: I60fc9e7d59c3e0e4b8b2f69f79c6903240bfd131
|
|\ \
| |/
| |
| |
| | |
* commit '51bfedd821c79ae34ee1caffd9ae958faa71ecec':
Add missing includes.
|
| |
| |
| |
| | |
Change-Id: I1dad32ab459c25063a70cf52100a29d00fea3a90
|
|\ \
| |/
| |
| |
| | |
* commit '0e17a265f5e8bf233a3e3b74fc03ada3dc467bed':
Switch dumpstate to "ip link list".
|
| |
| |
| |
| | |
Change-Id: Ia1db51c866890f09fbd4316764dea5982554598f
|
|\ \
| |/
| |
| |
| | |
* commit '346329b7a70b594895be0aec5dc00f9f4108b533':
Move atrace from the obsolete bzero to memset.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
(This file wasn't including <strings.h> for bzero or <string.h> for memset.)
Change-Id: Icef0e0dbfd36ebd21058cfd8c747e0a17aee8308
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'c0e10c6f03eaa126aeb745e0b209ad0b219ade6e':
Refactor of the bugreport code.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implemented these changes:
- Make this code C++.
- Avoid hangs by adding a timeout.
- Add the necessary TEMP_FAILURE_RETRY calls.
- Restructure the code a bit.
Bug: 18800936
Change-Id: Iba9f86a4c7beee4f0f36e51234855f4c0834db47
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the native stack dumping functions that allows time outs. If
debuggerd locks up, before a bugreport would hang forever. Now
it will timeout properly and still get all of the other information.
Bug: 18766581
(cherry picked from commit 457731f69e3106b5aae8fc04f9565af1d875876c)
Change-Id: I39e8e9c60209e3ef9efac795fedb8e1edce2bd3e
|
|\ \
| | |
| | |
| | |
| | | |
* commit '457731f69e3106b5aae8fc04f9565af1d875876c':
Use the timeout stack dump functions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use the native stack dumping functions that allows time outs. If
debuggerd locks up, before a bugreport would hang forever. Now
it will timeout properly and still get all of the other information.
Bug: 18766581
Change-Id: I85053b8dcfe6224e2b64b4d8f7f2ef448b3cda34
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The previous version printed out the nanoseconds elapsed, not seconds.
Bug: 18766581
(cherry picked from commit 67c5a8af9ed128d8bb56d4723303aef6f0a4500f)
Change-Id: Icbaaee83a92767694fd98e3c790f36f4d24681b0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add swap file support for dex2oat to installd. Only use in low-memory
mode.
Bug: 18596910
Change-Id: I131448f3907115054a592af73db86d2b9257ea33
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '4f9bfffe23d40fdaabe91ea7c7691e52800edb79':
Fix message when a command times out.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The previous version printed out the nanoseconds elapsed, not seconds.
Change-Id: I10f6d7bf7b7a4647658313ed83781fda6fd744a5
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '96e4409e8c38b1d79285eca9886d44ff850b5748':
Installd: Disallow relocation for decryption
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When decrypting a device, a tmpfs is temporarily mounted as /data,
the size of which is usually small. When the zygote, system server
and necessary apps are brought up, they will be compiled into the
tmpfs.
If the system image contains prebuilts, they will be relocated instead
of compiled. This is unnecessary. In this special situation it is
acceptable to run out of the prebuilt oat files without relocation,
which can save space in the tmpfs.
This patch ensures that apps are not being relocated.
Change-Id: I42bfb7e3039574b7e4f2772e0d395f093d59ed1b
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'd325507698d8379e431a8c8fefcfafe59956bd88':
Installd: Swap file for dex2oat
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add swap file support for dex2oat to installd. Only use in low-memory
mode.
Bug: 18596910
(cherry picked from commit f68ce4de7fcfcc090af7985972b304eed7dbaf63)
Change-Id: I131448f3907115054a592af73db86d2b9257ea33
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '1be4021c2a867c7e067a3c5b937a054f0eb7817f':
Installd: Remove dalvik paths
|
| | |
| | |
| | |
| | |
| | |
| | | |
Dalvik is dead. Dexopt is dead.
Change-Id: I9ff6b638a3e2c52ae7aec33d7b08a7bee012854f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Mark 2 unused paramters to prevent clang from erroring out
Change-Id: Ifc9b4a5b820bd6318e9259e737e708d25fdb174b
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
output" into lmp-mr1-dev
* commit 'e8a4dce8169ba5fdcd86a5fc29aa6986de1711b0':
Work on issue #18486438: Reduce size of bugreport output
|
| |\ \
| | | |
| | | |
| | | | |
lmp-mr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't put packages.xml in to the output.
Change-Id: I88a682866365886506a003a64deb4a29c16ba21c
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
lmp-mr1-dev
* commit 'e4c7ec847d83edfb54c215f3ab6093efeb17a586':
atrace: make fs-specific sysfs entries optional
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The availability of these sysfs entries will vary based on the kernel's
supported filesystems, so don't block the disk category if some of them
are missing.
Bug: 18467498
Change-Id: I96200f1b5cf3f1a8fa8186602552adc96ddffc04
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|