summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | * | | liblog: fix fd leakageNick Kralevich2013-03-151-1/+3
| | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File descriptors remain open across an exec unless FD_CLOEXEC is set. Add O_CLOEXEC to the open() call to prevent file descriptor leakage. In particular, the following program will eventually run out of file descriptors: int main(int argc, char **argv) { printf("===== entering main =====\n"); ALOGW("entering main"); system("ls -l /proc/self/fd/"); execv(argv[0], argv); printf("exec failed\n"); return -1; } Change-Id: I5be43ab3b9f82a05f242b1f586454c50568af388
* | | | | | | am c113311e: am 74a7b91c: liblogwrap: lock android_fork_execvpRom Lemarchand2013-03-151-0/+11
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'c113311e6c0458d2ac0901c921fc38ca09074516': liblogwrap: lock android_fork_execvp
| * | | | | | am 74a7b91c: liblogwrap: lock android_fork_execvpRom Lemarchand2013-03-151-0/+11
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '74a7b91cbe29d3a9e6500fb90aae6d9a858dc1f7': liblogwrap: lock android_fork_execvp
| | * | | | | liblogwrap: lock android_fork_execvpRom Lemarchand2013-03-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a lock around android_fork_execvp to ensure no two threads can execute it at the same time. This is to help with http://b/8333626 Change-Id: I75d087a74b58f5b8e878675b301200f54d976fb2
* | | | | | | am 89f08da2: am 39b7fdea: am c8c95f86: am 80dac350: Merge "ueventd: allow ↵Colin Cross2013-03-150-0/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platform devices to have just a /devices/ prefix" * commit '89f08da256c468fc0147960ac3324856b9527e6e': ueventd: allow platform devices to have just a /devices/ prefix
| * | | | | | am 39b7fdea: am c8c95f86: am 80dac350: Merge "ueventd: allow platform ↵Colin Cross2013-03-150-0/+0
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devices to have just a /devices/ prefix" * commit '39b7fdea315bf60c5d1e9ae1ddd4b81e2cf83b23': ueventd: allow platform devices to have just a /devices/ prefix
| | * | | | | am c8c95f86: am 80dac350: Merge "ueventd: allow platform devices to have ↵Colin Cross2013-03-140-0/+0
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | just a /devices/ prefix" * commit 'c8c95f86712989003ddd9c55261942d0d83ca9f4': ueventd: allow platform devices to have just a /devices/ prefix
| | | * | | | am 80dac350: Merge "ueventd: allow platform devices to have just a /devices/ ↵Colin Cross2013-03-141-39/+44
| | | |\ \ \ \ | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prefix" * commit '80dac35023bb7860b7382ca995e19710bd894e7e': ueventd: allow platform devices to have just a /devices/ prefix
| | | | * | | Merge "ueventd: allow platform devices to have just a /devices/ prefix"Colin Cross2013-03-151-39/+44
| | | | |\ \ \
| | | | | * | | ueventd: allow platform devices to have just a /devices/ prefixDima Zavin2013-03-141-39/+44
| | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using device tree, platform devices may not have a /devices/platform/ path prefix, but can be rooted in /devices/. Modify the platform device tracking code to store the device path as well as the name. This way, when we create symlinks, we can correctly skip the base platform device prefix and get to the proper device node path. Change-Id: I939ef8fbcb45c5c803cd9a054e40136a912efc72 Signed-off-by: Dima Zavin <dima@android.com>
* | | | | | | am e998ba61: am e05093b9: am 3e77b752: am 0b535558: Merge "Unwinding ↵Elliott Hughes2013-03-155-28/+910
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation via eh_frame sections for x86" * commit 'e998ba615015df0e7356dc85586c7aa805fb8213': Unwinding implementation via eh_frame sections for x86
| * | | | | | am e05093b9: am 3e77b752: am 0b535558: Merge "Unwinding implementation via ↵Elliott Hughes2013-03-155-28/+910
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eh_frame sections for x86" * commit 'e05093b924652acb76b4527a3c32807cfa68118c': Unwinding implementation via eh_frame sections for x86
| | * | | | | am 3e77b752: am 0b535558: Merge "Unwinding implementation via eh_frame ↵Elliott Hughes2013-03-145-28/+910
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sections for x86" * commit '3e77b7521ba96fd1ff6fed0e019aff5f46a31428': Unwinding implementation via eh_frame sections for x86
| | | * | | | am 0b535558: Merge "Unwinding implementation via eh_frame sections for x86"Elliott Hughes2013-03-145-28/+910
| | | |\ \ \ \ | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | * commit '0b5355589429cabac0e16f36c6e6541f8aafba08': Unwinding implementation via eh_frame sections for x86
| | | | * | | Merge "Unwinding implementation via eh_frame sections for x86"Elliott Hughes2013-03-145-28/+910
| | | | |\ \ \
| | | | | * | | Unwinding implementation via eh_frame sections for x86Pavel Chupin2013-03-145-28/+910
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backtracing through eh_frame section is more effective allowing to reuse ebp register for other purposes within routine. GCC with turned on optimizations (-O1 and above) implicitly defines -fomit-frame-pointer anyway. eh_frame sections are generated by default with GCC on any optimization level. This change implements remote unwinding (separate process unwinding). Local unwinding is already implemented through _Unwind_Backtrace call which is implemented in libgcc. Change-Id: I1aea1ecd19c21710f9cf5f05dc272fc51b67b7aa Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | | | | | | | am 5cd723fa: am eb6dd010: am 9573a175: am dbf4937b: Merge "Revert "init: Set ↵Nick Kralevich2013-03-141-16/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ADDR_COMPAT_LAYOUT before spawning processes."" * commit '5cd723fa933ca10e479657d7604840b689fb00c9': Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes."
| * | | | | | | am eb6dd010: am 9573a175: am dbf4937b: Merge "Revert "init: Set ↵Nick Kralevich2013-03-141-16/+0
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ADDR_COMPAT_LAYOUT before spawning processes."" * commit 'eb6dd010b56bbca76f345967d55d0faab6c5fbf3': Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes."
| | * | | | | | am 9573a175: am dbf4937b: Merge "Revert "init: Set ADDR_COMPAT_LAYOUT before ↵Nick Kralevich2013-03-141-16/+0
| | |\ \ \ \ \ \ | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spawning processes."" * commit '9573a1755c4ef0f6f86277fcf2ff95645bb1dfb4': Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes."
| | | * | | | | am dbf4937b: Merge "Revert "init: Set ADDR_COMPAT_LAYOUT before spawning ↵Nick Kralevich2013-03-141-16/+0
| | | |\ \ \ \ \ | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processes."" * commit 'dbf4937b5a1ef4ceed49e13527f50514c510ebd4': Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes."
| | | | * | | | Merge "Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes.""Nick Kralevich2013-03-141-16/+0
| | | | |\ \ \ \ | | | | | |/ / / | | | | |/| | |
| | | | | * | | Revert "init: Set ADDR_COMPAT_LAYOUT before spawning processes."Nick Kralevich2013-03-141-16/+0
| | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This logic has been moved to platform/frameworks/base commit 8a0a929422682ba3eb6a205dc6c0638e68b909de and is no longer needed here. This reverts commit 01b1dee0ab7ad649760f9d8a7cead2a3f6d9cf70.
* | | | | | | am 64b31d36: am fb4f7ace: Add symlink to bugreport storage location.Jeff Sharkey2013-03-141-0/+3
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '64b31d369822f0dd963b90b694a4be330cabb024': Add symlink to bugreport storage location.
| * | | | | | am fb4f7ace: Add symlink to bugreport storage location.Jeff Sharkey2013-03-141-0/+3
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit 'fb4f7acefb31a51679cec194562c7aeb3922f728': Add symlink to bugreport storage location.
| | * | | | | Add symlink to bugreport storage location.Jeff Sharkey2013-03-141-0/+3
| | | |_|/ / | | |/| | | | | | | | | | | | | | | Change-Id: I16f024c24767cfa1f5800d568d39fb098a408127
* | | | | | am 461ead42: am 91535cff: Merge "Add vendor IDs to adb" into jb-mr2-devSam Lin2013-03-131-0/+9
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '461ead42fe8ab082c3ee5dd750a63ddbe45ea98a': Add vendor IDs to adb
| * | | | | am 91535cff: Merge "Add vendor IDs to adb" into jb-mr2-devSam Lin2013-03-131-0/+9
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '91535cff09af5b0181bffe64e97dcae9d24ba219': Add vendor IDs to adb
| | * | | | Merge "Add vendor IDs to adb" into jb-mr2-devSam Lin2013-03-131-0/+9
| | |\ \ \ \
| | | * | | | Add vendor IDs to adbSam Lin2013-03-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding vendor IDs to adb for device partners: AnyDATA, Harris & Oppo Change-Id: Ib8c5196c53599bd6eb077871cd95ccac935c42e7
* | | | | | | am 8f17ea6b: am d4b360a2: am 1d77e6e4: am 3960ec22: Merge "mkbootimg: ↵Colin Cross2013-03-121-2/+3
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support 8192/16384 pagesizes" * commit '8f17ea6b7884752fc02bc9a927cac680c5bd8691': mkbootimg: support 8192/16384 pagesizes
| * | | | | | am d4b360a2: am 1d77e6e4: am 3960ec22: Merge "mkbootimg: support 8192/16384 ↵Colin Cross2013-03-121-2/+3
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pagesizes" * commit 'd4b360a2e89d7d7f2dd7ff5f7dca6a2578c532cf': mkbootimg: support 8192/16384 pagesizes
| | * | | | | am 1d77e6e4: am 3960ec22: Merge "mkbootimg: support 8192/16384 pagesizes"Colin Cross2013-03-121-2/+3
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | * commit '1d77e6e4e3d304f86d0cfa2cfcf5266192420cae': mkbootimg: support 8192/16384 pagesizes
| | | * | | | am 3960ec22: Merge "mkbootimg: support 8192/16384 pagesizes"Colin Cross2013-03-121-2/+3
| | | |\ \ \ \ | | | | | |/ / | | | | |/| | | | | | | | | | | | | | | | * commit '3960ec226d07c7327ac6967a2977c521fd4884b6': mkbootimg: support 8192/16384 pagesizes
| | | | * | | Merge "mkbootimg: support 8192/16384 pagesizes"Colin Cross2013-03-121-2/+3
| | | | |\ \ \
| | | | | * | | mkbootimg: support 8192/16384 pagesizesIthamar R. Adema2013-03-101-2/+3
| | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By now these sizes are very common, so make sure we support them. Change-Id: Ib1963fbabc4ec0b4623f2045a3cbeedffbad7ee8 Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
* | | | | | | am 914b65fc: am 451dd85f: liblogwrap: replace loops with calls to ↵Rom Lemarchand2013-03-121-6/+2
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TEMP_FAILURE_RETRY * commit '914b65fcb9d445059a1b51ce5ecd7552e0ea8c8b': liblogwrap: replace loops with calls to TEMP_FAILURE_RETRY
| * | | | | | am 451dd85f: liblogwrap: replace loops with calls to TEMP_FAILURE_RETRYRom Lemarchand2013-03-121-6/+2
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '451dd85fb204b5015c461eabc78722abd1c4252a': liblogwrap: replace loops with calls to TEMP_FAILURE_RETRY
| | * | | | | liblogwrap: replace loops with calls to TEMP_FAILURE_RETRYRom Lemarchand2013-03-121-6/+2
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the code slightly more readable and avoids boilerplate. Change-Id: I023d9a1e1de729deaec97c62a5ca7983b6918f94
* | | | | | am 81ab2eb2: (-s ours) Reconcile with jb-mr2-release - do not mergeThe Android Open Source Project2013-03-120-0/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | * commit '81ab2eb2c85d084374abbcbfc2bf3f2383c28b7a':
| * | | | | Reconcile with jb-mr2-release - do not mergeThe Android Open Source Project2013-03-120-0/+0
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | Change-Id: If556a8aade619e94ef8cf3bfa2f65d4efa2c4550
| | * | | | merge in jb-mr2-release history after reset to jb-mr2-devThe Android Automerger2013-03-120-0/+0
| | |\ \ \ \ | | | |/ / / | | |/| | |
| | | * | | merge in jb-mr2-release history after reset to jb-mr2-devThe Android Automerger2013-03-110-0/+0
| | | |\ \ \
| | | | * \ \ merge in jb-mr2-release history after reset to jb-mr2-devThe Android Automerger2013-03-060-0/+0
| | | | |\ \ \
* | | | | \ \ \ am 758045fa: (-s ours) am 7398664d: am c8b3fee4: am f9094401: am 75f29709: ↵Jean-Baptiste Queru2013-03-110-0/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am 09b43645: (-s ours) am 92b2cd23: (-s ours) Reconcile with jb-mr1-release - do not merge * commit '758045fad588da0dfa00c2148ce18dbbf0d26cae':
| * | | | | | | am 7398664d: am c8b3fee4: am f9094401: am 75f29709: am 09b43645: (-s ours) ↵Jean-Baptiste Queru2013-03-110-0/+0
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am 92b2cd23: (-s ours) Reconcile with jb-mr1-release - do not merge * commit '7398664de30cf953b791ab5aeeb37dfd57410698':
| | * | | | | | am c8b3fee4: am f9094401: am 75f29709: am 09b43645: (-s ours) am 92b2cd23: ↵Jean-Baptiste Queru2013-03-110-0/+0
| | |\ \ \ \ \ \ | | | | |_|_|/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | (-s ours) Reconcile with jb-mr1-release - do not merge * commit 'c8b3fee48ca53150b38d84c70e2679f91d293efb':
| | | * | | | | am f9094401: am 75f29709: am 09b43645: (-s ours) am 92b2cd23: (-s ours) ↵Jean-Baptiste Queru2013-03-110-0/+0
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reconcile with jb-mr1-release - do not merge * commit 'f9094401491ecee8e574b294a22e850bfc2b5043':
| | | | * \ \ \ \ am 75f29709: am 09b43645: (-s ours) am 92b2cd23: (-s ours) Reconcile with ↵Jean-Baptiste Queru2013-03-110-0/+0
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr1-release - do not merge * commit '75f29709af6d053168402dd12cdf8b0a58b0c35e': charger: Do not suspend when disconnecting from charger charger: suspend enable in charger mode libsuspend: compile as a static library
| | | | | * \ \ \ \ am 09b43645: (-s ours) am 92b2cd23: (-s ours) Reconcile with jb-mr1-release ↵Jean-Baptiste Queru2013-03-110-0/+0
| | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - do not merge * commit '09b43645514669b3ff8181b0a111bc14576e3699': charger: Do not suspend when disconnecting from charger charger: suspend enable in charger mode libsuspend: compile as a static library
| | | | | | * \ \ \ \ am 92b2cd23: (-s ours) Reconcile with jb-mr1-release - do not mergeJean-Baptiste Queru2013-03-110-0/+0
| | | | | | |\ \ \ \ \ | | | | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '92b2cd23f708c9aeed146e995807dce080b57d1a': charger: Do not suspend when disconnecting from charger charger: suspend enable in charger mode libsuspend: compile as a static library