| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | | |
For build-system CFLAGS clean-up, remove unused variable.
Change-Id: Iaf6dd7b84ee4ef4734a48b37a4d0ca8287ca5fb5
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'eda16b98dce3ef4c75b7b46c6acdab2b6970f54a':
Kill LOCAL_SOCKET_NAMESPACE.
|
| | |
| | |
| | |
| | | |
Change-Id: I18928f89f66c37be310c45ff4c05a6d47ab84f66
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '3ef0460e86f2a7c5442bcf424b8e83fdfb8e3669':
Remove the error-prone TARGET_CPU_SMP from system/core.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This means that code that uses libcutils no longer has to ensure that
it's set ANDROID_SMP in the calling code's Android.mk for this to
function correctly.
Change-Id: I80c7ff170cd621106f34d6b74689d6b4f03e4eb7
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '29a34a5e7c249046a995a140ba30fa10960c7d42':
Disable the static libcutils tests.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The static libcutils tests cannot be built when using libc++ because
there are multiple symbol definition errors between libc++ and libgcc.
Bug: 18389856
Change-Id: I6f41c561f97b3a37477f844e9abf6551524a0fa3
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '64d7117efc7f7b8b477cd216a119b07041d8f406':
Second attempt to "Rewrite atomic.h to use stdatomic.h."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This should not be committed until win_sdk and aarch64 builds are
fixed in the presence of this CL.
This reverts commit 2789faabfa9cdf16902a52a1de3fc4a7ae98efed.
We additionally remove uniprocessor support from the earlier CL,
thus avoiding a potential compiler code reordering issue.
Change-Id: I7207a5ca2efa907a6f757f172d7090a62b2311fe
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '06279285ae38b58988a9431c89b8689d8e16904e':
Revert "Move some tests to libc++."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The build system is still linking both libgcc and libcompiler-rt,
which is causing duplicate symbol errors on some architectures. This
requires a fix in the build system, so reverting for now.
This reverts commit e3cccbfd4776644c7cb705d52f51ca948df34f9a.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '7d196df6f9990b5c93e0661fb0867971da7e6c34':
Move some tests to libc++.
|
| | |
| | |
| | |
| | | |
Bug: 15193147
Change-Id: I93244e4a5d0c751056910ec8005a92401d305716
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '855074043144e74156972e7a3416808dc6696452':
Remove dead code.
|
| | |
| | |
| | |
| | |
| | |
| | | |
__APPLE__ => HAVE_FUNOPEN.
Change-Id: I191cccd9b75020ffbb3281283ce1f1b7abc15d22
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
bodies."
* commit '07f1300c4c4f7d3c0df540bf8df3443c3f4539cd':
Do not inline rarely used trace function bodies.
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'ad0ff1d99cd00ce53f667b27e53f44e802315a36':
Add -no-integrated-as at local level.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '072877af485d49f11e227c0d22a7bb4a341533d6':
Revert "Rewrite atomic.h to use stdatomic.h."
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit 'f5204549faf7310cc808bcb3676fb36268178e26':
Rewrite atomic.h to use stdatomic.h.
|