| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 19908228
Change-Id: Id51c0c50eb2677824d052882f4263193a08e1402
|
|
|
|
|
| |
Bug: 19908228
Change-Id: I78e6a8d780e578a287ffdee7b7120ecc74797e80
|
|
|
|
| |
Change-Id: I572c553227a5a2cd57ec304de7e898d7c801fe93
|
|
|
|
|
|
|
| |
Several people have been independently confused about when this gets
built and why over the past couple of days.
Change-Id: I2d4a02f66e24c0734327585b7d27e50a344b1e94
|
|
|
|
|
|
|
|
|
|
|
| |
This also fixes the bug where we were always testing against the fake
strlcpy we provide for glibc/Windows rather than the Android one.
This also removes some unnecessary library dependencies.
This also builds all the cutils tests for the host (static and dynamic).
Change-Id: Icd129d5b025c0ca801be5acf31a54ecd88608df9
|
|
|
|
| |
Change-Id: Ia826dd872f64cc80635f50525a0c393f43ae5204
|
|
|
|
| |
Change-Id: Ic727508d9cfadea0050d1ccc491ee61aac1ef55a
|
|
|
|
|
|
|
|
|
|
| |
Also move them to libc++ since stlport is dead.
Bug: 18389856
This reverts commit bb28776db0f5a107ef2b90ff1322f4c06b6cc7de.
Change-Id: Icdf9be3bc5cc40433727ff71a121b145002dda72
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This change defines atrace_* functions for the host that act as
no-ops, which makes it easier to add tracing in ART.
Change-Id: I89397e83986686a2b6a6f245c25017eb379081b1
|
| |
| |
| |
| |
| |
| | |
Whether the open succeeds or fails, we should unlink.
Change-Id: Ic2f1e10dc7b6d6e459c56049da00d165bd63ba8f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also make important events in init's life NOTICE rather than INFO,
and ensure that NOTICE events actually make it to the kernel log.
Also fix the logging so that if you have a printf format string
error, the compiler now catches it.
Also give messages from init, ueventd, and watchdogd distinct tags.
(Previously they'd all call themselves "init", and dmesg doesn't
include pids, so you couldn't untangle them.)
Also include the tag in SELinux messages.
Bug: 19544788
Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Needed by host dex2oat.
Change-Id: Ia5b53136de3d531c820f03c3f251e58418204be1
|
| |
| |
| |
| |
| |
| | |
Add include files for types and functions that were not included properly.
Change-Id: I4849f5bdf535c6eec9254228cf980c30d11a5a1b
|
| |
| |
| |
| | |
Change-Id: I7a1f726819c68eea1afb7e45f92954325f8933e1
|
| |
| |
| |
| | |
Change-Id: I7d1ee439d25e17c31c0be448e67a90a0f626ff42
|
| |
| |
| |
| | |
Change-Id: I4209f2d66d8701df2f32dcfb79abea9ea6d3dc69
|
|/
|
|
| |
Change-Id: Ic8a15036833e6d129b7998d954b804be391de399
|
|\
| |
| |
| |
| | |
* commit '6864e6739027adf725ced33777d3e21f80a95479':
More SOCK_CLOEXEC
|
| |
| |
| |
| | |
Change-Id: I3e18f34d08a6443aaf55d7c91c27867840ac1773
|
|\ \
| |/
| |
| |
| | |
* commit 'f1ac6917da172dd3e6829bac41fcbf23e96da079':
Remove loghack.h.
|
| |
| |
| |
| |
| |
| |
| | |
This was supposedly used to enable logging when !HAVE_ANDROID_OS
but it's only used in a file that's target specific.
Change-Id: Id83f2597e48a66b4821fc3b1237e212872b909fb
|
|\ \
| |/
| |
| |
| | |
* commit '623eebe68f3c6c9e54cf5b186696052d2948410c':
Libcutils: Remove unused variable
|
| |
| |
| |
| | |
Change-Id: I95eed017e78468c4946b2a5b62b6fe92e256673e
|
|\ \
| |/
| |
| |
| | |
* commit '3bc8ae63ce3bbcc0ab61def99a4e9b4822ba3f51':
Use mkstemp for host ashmem.
|
| |
| |
| |
| |
| | |
Bug: 19310167
Change-Id: Ic4e32b3924a9aa0b0d095d445108cbcf2231cd91
|
|\ \
| |/
| |
| |
| | |
* commit '55732f49287a75f9baabe9f150443aec9234c90d':
android_reboot should take a const char*.
|
| |
| |
| |
| |
| |
| | |
The kernel argument is actually a void*, but it's only read from.
Change-Id: I305c50249bf12b7fbdea4721257aed52a0372f8d
|
|\ \
| |/
| |
| |
| | |
* commit 'e862350bb2eb3d3eda526da7f3b6d5c2dd40a445':
Kill HAVE_PTHREADS.
|
| |
| |
| |
| |
| | |
Bug: 19083585
Change-Id: Ic09eb3dd250bc5c5b63cac7998f99f5fa007f407
|
|\ \
| |/
| |
| |
| | |
* commit 'd426a4e7b62c18124827868ddbf8987aa433451b':
Move 32 bit/64 bit check into debuggerd.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On 64 bit systems, calls to dump_backtrace_to_file or dump_tombstone
try and directly contact the correct debuggerd (32 bit vs 64 bit)
by reading the elf information for the executable.
Unfortunately, system_server makes a call to dump_backtrace_to_file
and it doesn't have permissions to read the executable data, so it
defaults to always contacting the 64 bit debuggerd.
This CL changes the code so that all dump requests go to the 64 bit
debuggerd, which reads the elf information and redirects requests for
32 bit processes to the 32 bit debuggerd.
Testing:
- Forced the watchdog code in system_server to dump stacks and
verified that all native stacks are dumped correctly.
- Verified that dumpstate and bugreport still properly dump the native
processes on a 64 bit and 32 bit system.
- Intentionally forced the 64 bit to 32 bit redirect to write only a
byte at a time and verified there are no errors, and no dropped data.
- Used debuggerd and debuggerd64 to dump 32 bit and 64 bit processes
seemlessly.
- Used debuggerd on a 32 bit system to dump native stacks.
Bug: https://code.google.com/p/android/issues/detail?id=97024
Change-Id: Ie01945153bdc1c4ded696c7334b61d58575314d1
|
|\ \
| |/
| |
| |
| | |
* commit '45c4c06ffe6f38e0f77f37f488e07f2537eddd45':
Remove unused cruft from libcutils.
|
| |
| |
| |
| | |
Change-Id: I316d39e8e0a9aa385d8e1f37678b8bf2c03441eb
|
|\ \
| |/
| |
| |
| | |
* commit '9f72ef8944a93bd333c6c7f87c7f7d79207ae663':
Extend to receive NFLOG packets.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Packets captured and logged by the NFLOG target are unicast, so
extend to catch and decode them. To avoid escaping issues, the raw
contents are passed around as hex strings.
Bug: 18335678
Change-Id: Ib7299500baa00080a1f000f9da843eb527363353
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Under some unknown circumstances, debuggerd could become unresponsive.
If you try and take a bugreport during this time, it will hang forever.
Adding functions that have a timeout will allow dumpstate to stop if
dumping is taking too long.
Bug: 18766581
(cherry picked from commit 5f2ff6a9106083e2a79b8600a0bf6a5341c6ca38)
Change-Id: I39e8e9c60209e3ef9efac795fedb8e1edce2bd3e
|
|\ \
| | |
| | |
| | |
| | | |
* commit '5f2ff6a9106083e2a79b8600a0bf6a5341c6ca38':
Add timed versions of stack dumping functions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Under some unknown circumstances, debuggerd could become unresponsive.
If you try and take a bugreport during this time, it will hang forever.
Adding functions that have a timeout will allow dumpstate to stop if
dumping is taking too long.
Bug: 18766581
Change-Id: I85053b8dcfe6224e2b64b4d8f7f2ef448b3cda34
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
HAVE_SYSTEM_PROPERTY_SERVER."
* commit 'ec556521e23f66ea52e41a7d9540b2dec31766c5':
Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER.
|
| | |
| | |
| | |
| | | |
Change-Id: I3d92dbecebd2bb449a8c4332de684919a58847ad
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'fdb3da5953b70dc87a05d28c31cb0dc06b8181aa':
Use getmntent when accessing /proc/mounts.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18887435
Change-Id: I6d7f95bbdb976428d4722bd640745e73c9839160
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '0e74cfb677319c0f006dcc81f74fb21956807d2a':
Fix references to HAVE_PRCTL.
|
| | |
| | |
| | |
| | | |
Change-Id: I8343b398f2ce0d743487fdd086e67763c7dd67f1
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
<sched.h>."
* commit 'fae953ebccfabfa500b3ebca93202063c8e3501d':
HAVE_ANDROID_OS implies that you have <pthread.h> and <sched.h>.
|
| | |
| | |
| | |
| | | |
Change-Id: Ica7940c00d1d5da9d50711fd138dd459deec9b6d
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '374de72bbc218198e6a5f09ae4da853d02199b5c':
Libcutils: Remove unused variable
|